org.edg.security.authorization
Class Config

java.lang.Object
  |
  +--org.edg.security.authorization.Config

public class Config
extends java.lang.Object


Constructor Summary
Config(java.lang.String config_file)
          Constructor that initialises the parameters to the default values and next tries to update them with the contents of the configuration file.
 
Method Summary
 java.lang.String get(java.lang.String parameter_name)
          Returns the parameter value.
 
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 config_file)
       throws java.io.IOException
Constructor that initialises the parameters to the default values and next tries to update them with the contents of the configuration file.

Parameters:
config_file - the file containing configuration data
Method Detail

get

public java.lang.String get(java.lang.String parameter_name)
Returns the parameter value.

Parameters:
parameter_name - the parameter