to.etc.util
Class ConfigSourceWrapper

java.lang.Object
  extended by to.etc.util.ConfigSourceWrapper

Deprecated.

@Deprecated
public class ConfigSourceWrapper
extends java.lang.Object

Author:
Frits Jalvingh Created on Jan 22, 2005

Constructor Summary
ConfigSourceWrapper(ConfigSource s)
          Deprecated.  
 
Method Summary
 boolean getBool(java.lang.String key)
          Deprecated.  
 boolean getBool(java.lang.String key, boolean dflt)
          Deprecated.  
 ConfigSource getConfigSource()
          Deprecated.  
 int getInt(java.lang.String key)
          Deprecated.  
 int getInt(java.lang.String key, int dflt)
          Deprecated.  
 java.lang.String getOption(java.lang.String key)
          Deprecated.  
 java.lang.String getOption(java.lang.String key, java.lang.String dflt)
          Deprecated.  
 int getTime(java.lang.String propertyname, java.lang.String defaultval)
          Deprecated. Gets a time value from the parameters.
 java.lang.String toString()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConfigSourceWrapper

public ConfigSourceWrapper(ConfigSource s)
Deprecated. 
Method Detail

getConfigSource

public ConfigSource getConfigSource()
Deprecated. 

getOption

public java.lang.String getOption(java.lang.String key)
                           throws java.lang.Exception
Deprecated. 
Throws:
java.lang.Exception

getOption

public java.lang.String getOption(java.lang.String key,
                                  java.lang.String dflt)
                           throws java.lang.Exception
Deprecated. 
Throws:
java.lang.Exception

getInt

public int getInt(java.lang.String key)
           throws java.lang.Exception
Deprecated. 
Throws:
java.lang.Exception

getInt

public int getInt(java.lang.String key,
                  int dflt)
           throws java.lang.Exception
Deprecated. 
Throws:
java.lang.Exception

getBool

public boolean getBool(java.lang.String key)
                throws java.lang.Exception
Deprecated. 
Throws:
java.lang.Exception

getBool

public boolean getBool(java.lang.String key,
                       boolean dflt)
                throws java.lang.Exception
Deprecated. 
Throws:
java.lang.Exception

getTime

public int getTime(java.lang.String propertyname,
                   java.lang.String defaultval)
            throws java.lang.Exception
Deprecated. 
Gets a time value from the parameters. The time has the format HHMM or HH:MM, and is in 24h notation. The time is returned as a number representing the #minutes since 0:00h.

Throws:
java.lang.Exception

toString

public java.lang.String toString()
Deprecated. 
Overrides:
toString in class java.lang.Object