tourguide
Class Configuration

java.lang.Object
  extended byjava.util.Dictionary
      extended byjava.util.Hashtable
          extended byjava.util.Properties
              extended bytourguide.Configuration
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, java.io.Serializable

public class Configuration
extends java.util.Properties

Loads configuration data (singleton). Configuration provides parameters for the Parlay gateway access.

See Also:
Serialized Form

Field Summary
static Configuration PROPERTIES
          Configuration singleton.
 
Method Summary
 void load(java.lang.String aSource)
          Loads the configuration file.
 
Methods inherited from class java.util.Properties
getProperty, getProperty, list, list, load, propertyNames, save, setProperty, store
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, remove, size, toString, values
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

PROPERTIES

public static final Configuration PROPERTIES
Configuration singleton.

Method Detail

load

public void load(java.lang.String aSource)
          throws java.io.IOException
Loads the configuration file.

Parameters:
aSource - configuration file name.
Throws:
java.io.IOException