gistoolkit.application.config
Class Config

java.lang.Object
  extended bygistoolkit.application.config.Config

public class Config
extends java.lang.Object

Class for holding the configuration information for the editor.


Constructor Summary
Config(java.lang.String inFileName)
          This class can read and write configuration information for the application.
 
Method Summary
 java.lang.String getValue(java.lang.String inKey)
          Return the Value associated with this key, returns void if the key was not found
 java.lang.String getValue(java.lang.String inKey, java.lang.String inDefault)
          Return the Value associated with this key, returns void if the key was not found
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Config

public Config(java.lang.String inFileName)
This class can read and write configuration information for the application. Send in the name of the properties file to use. If no properties file is available, then send null and the application will use defaults.

Method Detail

getValue

public java.lang.String getValue(java.lang.String inKey)
Return the Value associated with this key, returns void if the key was not found


getValue

public java.lang.String getValue(java.lang.String inKey,
                                 java.lang.String inDefault)
Return the Value associated with this key, returns void if the key was not found