org.eclipse.core.internal.properties
Class PropertyBucket

java.lang.Object
  extended by org.eclipse.core.internal.localstore.Bucket
      extended by org.eclipse.core.internal.properties.PropertyBucket

public class PropertyBucket
extends Bucket


Nested Class Summary
static class PropertyBucket.PropertyEntry
           
 
Nested classes/interfaces inherited from class org.eclipse.core.internal.localstore.Bucket
Bucket.Entry, Bucket.Visitor
 
Field Summary
static byte INDEX
           
static byte QNAME
           
 
Constructor Summary
PropertyBucket()
           
 
Method Summary
 java.lang.String getProperty(org.eclipse.core.runtime.IPath path, org.eclipse.core.runtime.QualifiedName name)
           
 void load(java.lang.String newProjectName, java.io.File baseLocation, boolean force)
          Loads the contents from a file under the given directory.
 void save()
          Saves this bucket's contents back to its location.
 void setProperties(PropertyBucket.PropertyEntry entry)
           
 void setProperty(org.eclipse.core.runtime.IPath path, org.eclipse.core.runtime.QualifiedName name, java.lang.String value)
           
 
Methods inherited from class org.eclipse.core.internal.localstore.Bucket
accept, flush, getEntryCount, getEntryValue, load, setEntryValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INDEX

public static final byte INDEX
See Also:
Constant Field Values

QNAME

public static final byte QNAME
See Also:
Constant Field Values
Constructor Detail

PropertyBucket

public PropertyBucket()
Method Detail

getProperty

public java.lang.String getProperty(org.eclipse.core.runtime.IPath path,
                                    org.eclipse.core.runtime.QualifiedName name)

load

public void load(java.lang.String newProjectName,
                 java.io.File baseLocation,
                 boolean force)
          throws org.eclipse.core.runtime.CoreException
Description copied from class: Bucket
Loads the contents from a file under the given directory. If force is false, if this bucket already contains the contents from the current location, avoids reloading.

Overrides:
load in class Bucket
Throws:
org.eclipse.core.runtime.CoreException

save

public void save()
          throws org.eclipse.core.runtime.CoreException
Description copied from class: Bucket
Saves this bucket's contents back to its location.

Overrides:
save in class Bucket
Throws:
org.eclipse.core.runtime.CoreException

setProperties

public void setProperties(PropertyBucket.PropertyEntry entry)

setProperty

public void setProperty(org.eclipse.core.runtime.IPath path,
                        org.eclipse.core.runtime.QualifiedName name,
                        java.lang.String value)