public class ConfigurationAttributes extends Properties
SystemProperties.CONFIG_SETTINGS
.
Currently only the de.jreality.portal-Package uses this class
The properties file is given via the system property SystemProperties.CONFIG_SETTINGS
,
if not it is assumed to be SystemProperties.CONFIG_SETTINGS_DEFAULT
(in the current directory).Constructor and Description |
---|
ConfigurationAttributes(Input input) |
ConfigurationAttributes(Input input,
ConfigurationAttributes parent) |
Modifier and Type | Method and Description |
---|---|
boolean |
getBool(String string) |
static ConfigurationAttributes |
getDefaultConfiguration() |
double |
getDouble(String key,
double defVal) |
double[] |
getDoubleArray(String key) |
int |
getInt(String key) |
int |
getInt(String key,
int def) |
String |
getProperty(String key) |
String[] |
getStringArray(String key,
String delimiters) |
Matrix |
getTransformation(String key) |
getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames
public ConfigurationAttributes(Input input)
public ConfigurationAttributes(Input input, ConfigurationAttributes parent)
public static ConfigurationAttributes getDefaultConfiguration()
public boolean getBool(String string)
public double getDouble(String key, double defVal)
public double[] getDoubleArray(String key)
public int getInt(String key)
public int getInt(String key, int def)
public String getProperty(String key)
getProperty
in class Properties