dfki.util.config
Class ServletInitParameterReader

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

public class ServletInitParameterReader
extends ConfigReader

Reads property settings out of a ServletConfig object.


Inner classes inherited from class dfki.util.config.ConfigReader
ConfigReader.Exception
 
Constructor Summary
ServletInitParameterReader(javax.servlet.ServletConfig servletConfig)
           
 
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

ServletInitParameterReader

public ServletInitParameterReader(javax.servlet.ServletConfig servletConfig)
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