public class PropertyFileConfiguration extends Configuration
DISABLE_LOGGING, DISABLE_LOGGING_DEFAULT, ICON_SIZE, KEY_APP_PASS, KEY_APP_USER, KEY_CONSOLE_CLASSNAME, KEY_CONSOLE_DIRECTORY_CLASSNAME, KEY_COUNTRY, KEY_DB_AUTH_TYPE, KEY_DB_DATABASE, KEY_DB_INIT, KEY_DB_INIT_PASS, KEY_DB_PASS, KEY_DB_PORT, KEY_DB_SCHEMA, KEY_DB_SERV, KEY_DB_SYSTEM_USER, KEY_DB_SYSTEM_XPASS, KEY_DB_TYPE, KEY_DB_USER, KEY_LANG, KEY_OL_DESC_FILE, KEY_OL_SCH_FILE, KEY_OL_SRV_DESC_FILE, KEY_OL_SRV_SCH_FILE, KEY_PLAF, KEY_WS_PORT, licpayload, licsign, LOGLEVEL, LOGLEVEL_DEFAULT, LOGTARGET
Constructor and Description |
---|
PropertyFileConfiguration()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
load(java.lang.Class c,
java.lang.String filename,
boolean overwrite) |
void |
load(java.io.InputStream in)
Loads the properties stored in the given file.
|
void |
load(java.io.InputStream in,
boolean overwriteCurrentProperties) |
void |
load(java.lang.String fileName)
Loads the properties stored in the given file.
|
void |
save(java.io.OutputStream out) |
void |
save(java.lang.String filename) |
findPropertyKeys, getClassIcon, getConfigProperties, getConfigProperty, getConfigProperty, getConfiguration, getGlobalConfig, getIconSize, getLogLevel, getLogTarget, isDisableLogging, isLocallyDefined, openFile, openFile, setConfigProperty, setCurrentDirectory, setCurrentDirectory, setDisableLogging, setLogLevel, setLogTarget
public PropertyFileConfiguration() throws ConfigException
ConfigException
public void load(java.lang.String fileName)
fileName
- the file name of the stored properties.public void load(java.lang.Class c, java.lang.String filename, boolean overwrite)
public void load(java.io.InputStream in)
in
- the input stream used to read the properties.public void load(java.io.InputStream in, boolean overwriteCurrentProperties)
public void save(java.lang.String filename) throws java.io.IOException
java.io.IOException
public void save(java.io.OutputStream out) throws java.io.IOException
java.io.IOException