| java.lang.Object net.wastl.webmail.config.ConfigStore
All known Subclasses: net.wastl.webmail.xml.XMLSystemData,
ConfigStore | abstract public class ConfigStore (Code) | | This class is a generic storage for configuration parameters.
Subclasses must implement setConfigRaw and getConfigRaw.
author: Sebastian Schaffert |
Method Summary | |
public void | addConfigurationListener(String key, ConfigurationListener l) | public String | getConfig(String key) Fetch the configuration associated with the specified key. | public Enumeration | getConfigKeys() Fetch all keys of the current configuration. | abstract protected String | getConfigRaw(String key) Access a configuration on a low level, e.g. | public ConfigScheme | getConfigScheme() | public boolean | isConfigSet(String key) | public void | setConfig(String key, String value) | public void | setConfig(String key, String value, boolean filter, boolean notify) Set a configuration "key" to the specified value. | abstract public void | setConfigRaw(String group, String key, String value, String type) Access a configuration on a low level, e.g. |
ConfigStore | public ConfigStore()(Code) | | |
getConfig | public String getConfig(String key)(Code) | | Fetch the configuration associated with the specified key.
Parameters: key - Identifier for the configuration |
getConfigKeys | public Enumeration getConfigKeys()(Code) | | Fetch all keys of the current configuration.
|
getConfigRaw | abstract protected String getConfigRaw(String key)(Code) | | Access a configuration on a low level, e.g. access a file, make a SQL query, ...
Will be called by getConfig.
return null if undefined
|
setConfig | public void setConfig(String key, String value, boolean filter, boolean notify) throws IllegalArgumentException(Code) | | Set a configuration "key" to the specified value.
Parameters: key - Identifier for the configuration |
setConfigRaw | abstract public void setConfigRaw(String group, String key, String value, String type)(Code) | | Access a configuration on a low level, e.g. access a file, make a SQL query, ...
Will be called by setConfig.
return null if undefined
|
|
|