dfki.util.config
Class ConfigReader

java.lang.Object
  |
  +--dfki.util.config.ConfigReader
Direct Known Subclasses:
JavaPropertyReader, ServletInitParameterReader, ServletRequestReader, SystemPropertyReader, XMLConfigReader

public abstract class ConfigReader
extends java.lang.Object

Abstract class for reading property settings. Look at the direct subclasses of ConfigReader for currently available readers.


Inner Class Summary
static class ConfigReader.Exception
          Exception denoting errors while reading property settings.
 
Constructor Summary
ConfigReader()
           
 
Method Summary
abstract  java.util.Map readPropertySettings()
          Reads the property settings into a map.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigReader

public ConfigReader()
Method Detail

readPropertySettings

public abstract java.util.Map readPropertySettings()
                                            throws ConfigReader.Exception
Reads the property settings into a map. Values of a property can either be of type String or String[] (in case of a multivalued property).
Throws:
ConfigReader.Exception - Denoting a failure while generating the property value map.
See Also:
Config.Property