|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Config storage implementations are used to store a set of properties to a certain key.
A valid configuration path does not contain dots, semicolons or colons. A valid path obeys to the same rules as java identifiers ..
| Method Summary | |
boolean |
isAvailable(java.lang.String configPath)
Tests, whether some configuration data exists for the given configuration. |
org.jfree.util.Configuration |
load(java.lang.String configPath,
org.jfree.util.Configuration defaults)
Loads the properties from the given path, specifying the given properties as default. |
void |
store(java.lang.String configPath,
org.jfree.util.Configuration properties)
Stores the given properties on the defined path. |
| Method Detail |
public void store(java.lang.String configPath,
org.jfree.util.Configuration properties)
throws ConfigStoreException
configPath - the path on where to store the properties.properties - the properties which should be stored.
ConfigStoreException - if an error occured.
public org.jfree.util.Configuration load(java.lang.String configPath,
org.jfree.util.Configuration defaults)
throws ConfigStoreException
configPath - the configuration path from where to read the properties.defaults - the property set that acts as fallback to provide default values.
ConfigStoreException - if an error occured.public boolean isAvailable(java.lang.String configPath)
configPath - the configuration path to the property storage.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||