dfki.util.config
Class JavaPropertyReader

java.lang.Object
  |
  +--dfki.util.config.ConfigReader
        |
        +--dfki.util.config.JavaPropertyReader

public class JavaPropertyReader
extends ConfigReader

Reads property settings out of an original java property instance.


Inner classes inherited from class dfki.util.config.ConfigReader
ConfigReader.Exception
 
Constructor Summary
JavaPropertyReader(java.util.Properties props)
           
 
Method Summary
 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

JavaPropertyReader

public JavaPropertyReader(java.util.Properties props)
Method Detail

readPropertySettings

public java.util.Map readPropertySettings()
                                   throws ConfigReader.Exception
Description copied from class: ConfigReader
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).
Overrides:
readPropertySettings in class ConfigReader
Following copied from class: dfki.util.config.ConfigReader
Throws:
ConfigReader.Exception - Denoting a failure while generating the property value map.
See Also:
Config.Property