com.objectwave.appArch
Class ConfigurationProperties

java.lang.Object
  |
  +--java.util.Dictionary
        |
        +--java.util.Hashtable
              |
              +--java.util.Properties
                    |
                    +--com.objectwave.appArch.ConfigurationProperties
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, java.io.Serializable

public class ConfigurationProperties
extends java.util.Properties

A utility class that will load property information in from a property file.

Version:
1.0
Author:
Dave Hoag
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
ConfigurationProperties()
          ConfigurationProperties constructor comment.
ConfigurationProperties(java.util.Properties defaults)
          ConfigurationProperties constructor comment.
 
Method Summary
 void load(java.lang.String fileName)
          Look for a property file on the classpath that matches the fileName.
 
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, rehash, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConfigurationProperties

public ConfigurationProperties()
ConfigurationProperties constructor comment.


ConfigurationProperties

public ConfigurationProperties(java.util.Properties defaults)
ConfigurationProperties constructor comment.

Parameters:
defaults - java.util.Properties
Method Detail

load

public void load(java.lang.String fileName)
          throws java.io.IOException
Look for a property file on the classpath that matches the fileName.

Parameters:
fileName - java.lang.String
Throws:
java.io.IOException