com.pushtotest.testmaker.XSTest.client
Class TNConfig

java.lang.Object
  extended by com.pushtotest.testmaker.XSTest.client.TNConfig

public class TNConfig
extends java.lang.Object

Load a configuration file, handle command line overrides.


Constructor Summary
TNConfig(java.lang.String cs)
           
 
Method Summary
 java.util.Vector accumulate(java.lang.String pattern)
          Uses the indicated regex pattern to determine which configuration variables to return in a set.
 java.lang.String get(java.lang.String key)
          Finds a property value by its key value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TNConfig

public TNConfig(java.lang.String cs)
         throws java.io.IOException
Throws:
java.io.IOException
Method Detail

accumulate

public java.util.Vector accumulate(java.lang.String pattern)
Uses the indicated regex pattern to determine which configuration variables to return in a set. The return value is the list of _values_ of the selected variables.


get

public java.lang.String get(java.lang.String key)
Finds a property value by its key value