public class Settings extends java.lang.Object implements ISettings, IProfileConstants
Modifier and Type | Field and Description |
---|---|
protected java.util.Properties |
properties |
protected java.io.File |
workDirectory |
CFG_DIR, CFG_FILE, COLS_WITH, INCLUDE, KEY_SEPARATOR, PROFILE_KEY, PROFILE_VALUE, SIG_DATE, SIG_OBJ, SIGNING_REASON, STYLE, TABLE, TMP_DIR, TMP_DIR_DEFAULT_VALUE, TYPE_CAPTION, TYPE_IMAGE, TYPE_TABLE, TYPE_VALUE
Constructor and Description |
---|
Settings(java.io.File workDirectory) |
Modifier and Type | Method and Description |
---|---|
java.util.Vector<java.lang.String> |
getFirstLevelKeys(java.lang.String prefix) |
java.lang.String |
getValue(java.lang.String key) |
java.util.Map<java.lang.String,java.lang.String> |
getValuesPrefix(java.lang.String prefix) |
java.lang.String |
getWorkingDirectory() |
boolean |
hasPrefix(java.lang.String prefix) |
boolean |
hasValue(java.lang.String key) |
void |
loadSettings(java.io.File workDirectory) |
protected java.util.Properties properties
protected java.io.File workDirectory
public void loadSettings(java.io.File workDirectory) throws PdfAsSettingsException
PdfAsSettingsException
public java.lang.String getValue(java.lang.String key)
public boolean hasValue(java.lang.String key)
public java.util.Map<java.lang.String,java.lang.String> getValuesPrefix(java.lang.String prefix)
getValuesPrefix
in interface ISettings
public java.util.Vector<java.lang.String> getFirstLevelKeys(java.lang.String prefix)
getFirstLevelKeys
in interface ISettings
public boolean hasPrefix(java.lang.String prefix)
public java.lang.String getWorkingDirectory()
getWorkingDirectory
in interface ISettings