de.miethxml.toolkit.conf
Class ConfigManager
java.lang.Object
de.miethxml.toolkit.conf.ConfigManager
- public class ConfigManager
- extends java.lang.Object
- Author:
- Simon Mieth
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_CONFIGNAME
public static java.lang.String DEFAULT_CONFIGNAME
storeConfiguration
public void storeConfiguration()
getInstance
public static ConfigManager getInstance()
getProperty
public java.lang.String getProperty(java.lang.String key)
getProperty
public java.lang.String getProperty(java.lang.String key,
java.lang.String defaultvalue)
hasProperty
public boolean hasProperty(java.lang.String key)
setProperty
public void setProperty(java.lang.String key,
java.lang.String value)
addConfigListener
public void addConfigListener(ConfigListener l)
removeConfigListener
public void removeConfigListener(ConfigListener l)
getProperties
public java.util.Properties getProperties()
setConfigFile
public void setConfigFile(java.lang.String file)