public class ConfigurationImpl extends Object implements at.gv.egiz.pdfas.common.settings.ISettings, Configuration
Modifier and Type | Field and Description |
---|---|
protected Properties |
overwrittenProperties |
protected at.gv.egiz.pdfas.common.settings.Settings |
settings |
Constructor and Description |
---|
ConfigurationImpl(at.gv.egiz.pdfas.common.settings.Settings settings) |
Modifier and Type | Method and Description |
---|---|
Vector<String> |
getFirstLevelKeys(String prefix) |
String |
getValue(String key)
Gets a specific Value
|
Map<String,String> |
getValuesPrefix(String prefix) |
String |
getWorkingDirectory() |
boolean |
hasPrefix(String prefix) |
boolean |
hasValue(String key)
Is the configuration key set
|
void |
setValue(String key,
String value)
Sets or overrides a configuration value
|
protected Properties overwrittenProperties
protected at.gv.egiz.pdfas.common.settings.Settings settings
public ConfigurationImpl(at.gv.egiz.pdfas.common.settings.Settings settings)
public void setValue(String key, String value)
Configuration
setValue
in interface Configuration
key
- The configuration keyvalue
- The configuration valuepublic String getValue(String key)
Configuration
getValue
in interface at.gv.egiz.pdfas.common.settings.ISettings
getValue
in interface Configuration
key
- The configuration keypublic boolean hasValue(String key)
Configuration
hasValue
in interface at.gv.egiz.pdfas.common.settings.ISettings
hasValue
in interface Configuration
key
- The configuration keypublic Map<String,String> getValuesPrefix(String prefix)
getValuesPrefix
in interface at.gv.egiz.pdfas.common.settings.ISettings
public Vector<String> getFirstLevelKeys(String prefix)
getFirstLevelKeys
in interface at.gv.egiz.pdfas.common.settings.ISettings
public boolean hasPrefix(String prefix)
hasPrefix
in interface at.gv.egiz.pdfas.common.settings.ISettings
public String getWorkingDirectory()
getWorkingDirectory
in interface at.gv.egiz.pdfas.common.settings.ISettings