ca.sandoval.util
Class PropertiesUtil

java.lang.Object
  extended by java.util.Dictionary
      extended by java.util.Hashtable
          extended by java.util.Properties
              extended by ca.sandoval.util.PropertiesUtil
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map

public class PropertiesUtil
extends java.util.Properties

PropertiesUtil



Version:
30-Mar-2005
Author:
Sandoval Software Solutions Inc.
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
PropertiesUtil()
           
PropertiesUtil(java.lang.String fileName)
           
 
Method Summary
 void loadPropertiesAsFile()
           
 void loadPropertiesAsResource()
           
 void saveProperties(java.lang.String fileName)
           
 
Methods inherited from class java.util.Properties
getProperty, getProperty, list, list, load, loadFromXML, propertyNames, save, setProperty, store, storeToXML, storeToXML
 
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

PropertiesUtil

public PropertiesUtil()

PropertiesUtil

public PropertiesUtil(java.lang.String fileName)
Method Detail

loadPropertiesAsResource

public void loadPropertiesAsResource()
                              throws java.io.IOException
Throws:
java.io.IOException

loadPropertiesAsFile

public void loadPropertiesAsFile()
                          throws java.io.IOException
Throws:
java.io.IOException

saveProperties

public void saveProperties(java.lang.String fileName)
                    throws java.io.IOException
Throws:
java.io.IOException