org.nfis.gdas.v091
Class ConfigProperties

java.lang.Object
  extended by org.nfis.gdas.v091.ConfigProperties

public class ConfigProperties
extends java.lang.Object

This singleton class is used to load a properties file to configure properties specific to GDAS Version 0.9.1 ('orgNfisGdasV091.properties') including the default driver, and the names of the dataHandlerConfig and getCapabilities documents.

This class allows GDAS users to change the names and locations of the configuration files and to change the default driver for the JDBCDataRetriever.

Version:
1.0 - Dec 16, 2004 - 5:31:59 PM
Author:
emurphy emurphy@pfc.cfs.nrcan.gc.ca

Method Summary
protected static java.lang.String getProperty(java.lang.String property)
          Designed as a singleton class, this ensures that only one instance is instantiated.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getProperty

protected static java.lang.String getProperty(java.lang.String property)
                                       throws java.io.IOException
Designed as a singleton class, this ensures that only one instance is instantiated.

Parameters:
property -
Returns:
the value associated with the passed in property name if there is one or null if there is no value associated with this name.
Throws:
java.io.IOException