de.jreality.util
Class ConfigurationAttributes
java.lang.Object
java.util.Dictionary<K,V>
java.util.Hashtable<Object,Object>
java.util.Properties
de.jreality.util.ConfigurationAttributes
- All Implemented Interfaces:
- Serializable, Cloneable, Map<Object,Object>
public class ConfigurationAttributes
- extends Properties
This class is for managing configuration settings based on java.lang.Properties.
The config file used is given as a system property, namely 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).
- Author:
- weissman
- See Also:
- Serialized Form
Methods inherited from class java.util.Properties |
getProperty, list, list, load, loadFromXML, propertyNames, save, setProperty, store, storeToXML, storeToXML |
Methods inherited from class java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, remove, size, toString, values |
ConfigurationAttributes
public ConfigurationAttributes(Input input)
ConfigurationAttributes
public ConfigurationAttributes(Input input,
ConfigurationAttributes parent)
getDefaultConfiguration
public static ConfigurationAttributes getDefaultConfiguration()
getBool
public boolean getBool(String string)
getDouble
public double getDouble(String key)
getDoubleArray
public double[] getDoubleArray(String key)
getInt
public int getInt(String key)
getProperty
public String getProperty(String key)
- Overrides:
getProperty
in class Properties
getStringArray
public String[] getStringArray(String key,
String delimiters)
getTransformation
public Matrix getTransformation(String key)