de.jreality.util
Class ConfigurationAttributes

java.lang.Object
  extended by java.util.Dictionary<K,V>
      extended by java.util.Hashtable<Object,Object>
          extended by java.util.Properties
              extended by de.jreality.util.ConfigurationAttributes
All Implemented Interfaces:
Serializable, Cloneable, Map<Object,Object>

public class ConfigurationAttributes
extends Properties

Author:
weissman 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).
See Also:
Serialized Form

Constructor Summary
ConfigurationAttributes(Input input)
           
ConfigurationAttributes(Input input, ConfigurationAttributes parent)
           
 
Method Summary
 boolean getBool(String string)
           
static ConfigurationAttributes getDefaultConfiguration()
           
 double getDouble(String key)
           
 double[] getDoubleArray(String key)
           
 int getInt(String key)
           
 String getProperty(String key)
           
 String[] getStringArray(String key, String delimiters)
           
 Matrix getTransformation(String key)
           
 
Methods inherited from class java.util.Properties
getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames
 
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
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConfigurationAttributes

public ConfigurationAttributes(Input input)

ConfigurationAttributes

public ConfigurationAttributes(Input input,
                               ConfigurationAttributes parent)
Method Detail

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)