|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eigenbase.util.property.Property
org.eigenbase.util.property.StringProperty
org.eigenbase.util.property.PersistentStringProperty
public class PersistentStringProperty
Definition and accessor for a string property that is capable of
storing itself in a .properties
file.
Field Summary |
---|
Fields inherited from class org.eigenbase.util.property.Property |
---|
properties |
Constructor Summary | |
---|---|
PersistentStringProperty(java.util.Properties properties,
java.lang.String path,
java.lang.String defaultValue,
StringProperty propertyFileLocation)
Creates a persistent string property. |
Method Summary | |
---|---|
void |
set(java.lang.String value)
Sets the value of this property. |
Methods inherited from class org.eigenbase.util.property.StringProperty |
---|
get, get, get |
Methods inherited from class org.eigenbase.util.property.Property |
---|
addTrigger, booleanValue, getDefaultValue, getInternal, getPath, getString, isSet, onChange, removeTrigger, setString, stringValue, toBoolean |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PersistentStringProperty(java.util.Properties properties, java.lang.String path, java.lang.String defaultValue, StringProperty propertyFileLocation)
properties
- Properties object which holds values for this
property.path
- Name by which this property is serialized to a properties
file, for example "com.acme.trace.Verbosity".defaultValue
- Default value, null if there is no default.propertyFileLocation
- Location of the property file where this
property's value should be persisted.Method Detail |
---|
public void set(java.lang.String value)
storage
) simultaneously.
set
in class StringProperty
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |