org.jfree.report.modules.preferences.base
public interface ConfigStorage
Method Summary | |
---|---|
boolean | isAvailable(String configPath)
Tests, whether some configuration data exists for the given configuration.
|
Configuration | load(String configPath, Configuration defaults)
Loads the properties from the given path, specifying the given properties as
default.
|
void | store(String configPath, Configuration properties)
Stores the given properties on the defined path.
|
Parameters: configPath the configuration path to the property storage.
Returns: true, if there are properties under this path, false otherwise.
Parameters: configPath the configuration path from where to read the properties. defaults the property set that acts as fallback to provide default values.
Returns: the loaded properties
Throws: ConfigStoreException if an error occured.
Parameters: configPath the path on where to store the properties. properties the properties which should be stored.
Throws: ConfigStoreException if an error occured.