|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.report.modules.preferences.base.NullConfigStorage
An empty default implementation. This config storare will not store any values and will provide no read access to stored properties by denying their existence.
Constructor Summary | |
NullConfigStorage()
DefaultConstructor. |
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)
This method does nothing. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NullConfigStorage()
Method Detail |
public void store(java.lang.String configPath, org.jfree.util.Configuration properties)
store
in interface ConfigStorage
configPath
- this parameter is not used.properties
- this parameter is not used.(java.lang.String, java.util.Properties)
public org.jfree.util.Configuration load(java.lang.String configPath, org.jfree.util.Configuration defaults) throws ConfigStoreException
load
in interface ConfigStorage
configPath
- the configuration path from where to read the properties.defaults
- the property set that acts as fallback to provide default values.
ConfigStoreException
- always throws this exception as the specified resource
will be not available.public boolean isAvailable(java.lang.String configPath)
isAvailable
in interface ConfigStorage
configPath
- the configuration path to the property storage.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |