org.eclipse.core.internal.properties
Class PropertyBucket
java.lang.Object
org.eclipse.core.internal.localstore.Bucket
org.eclipse.core.internal.properties.PropertyBucket
public class PropertyBucket
- extends Bucket
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 java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INDEX
public static final byte INDEX
- See Also:
- Constant Field Values
QNAME
public static final byte QNAME
- See Also:
- Constant Field Values
PropertyBucket
public PropertyBucket()
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)