|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.report.modules.preferences.base.ConfigFactory
public final class ConfigFactory
The config factory is used to access the currently active config storage implementation. The implementation itself allows to read or store a set of properties stored under a certain path.
Field Summary | |
---|---|
static java.lang.String |
CONFIG_TARGET_KEY
The selector configuration key that defines the active config storage implementation. |
Method Summary | |
---|---|
void |
defineSystemStorage(ConfigStorage storage)
Defines the system storage implementation that should be used. |
void |
defineUserStorage(ConfigStorage storage)
Defines the user storage implementation that should be used. |
static java.lang.String |
encodePath(java.lang.String path)
Encodes the given configuration path. |
static ConfigFactory |
getInstance()
Returns the singleton instance of the config factory. |
ConfigStorage |
getSystemStorage()
Returns the system settings storage implementation used in the config subsystem. |
ConfigStorage |
getUserStorage()
Returns the user settings storage implementation used in the config subsystem. |
static boolean |
isValidPath(java.lang.String path)
Checks, whether the given string denotes a valid config storage path. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CONFIG_TARGET_KEY
Method Detail |
---|
public static ConfigFactory getInstance()
public void defineUserStorage(ConfigStorage storage)
storage
- the user settings storage implementation.public void defineSystemStorage(ConfigStorage storage)
storage
- the system settings storage implementation.public ConfigStorage getUserStorage()
public ConfigStorage getSystemStorage()
public static boolean isValidPath(java.lang.String path)
path
- the path that should be tested.
public static java.lang.String encodePath(java.lang.String path)
path
- the path.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |