com.jthomas.mailfaces
Class FaceProperties

java.lang.Object
  |
  +--java.util.Dictionary
        |
        +--java.util.Hashtable
              |
              +--java.util.Properties
                    |
                    +--com.jthomas.mailfaces.FaceProperties
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, java.io.Serializable

public class FaceProperties
extends java.util.Properties

FaceProperties Extends Properties object defined by Sun Util Package.

Class to Manage various envirment properties for MailFaces

Author:
John Thomas Serialized Form

Nested Class Summary
 
Nested classes inherited from class java.util.Map
java.util.Map.Entry
 
Field Summary
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
FaceProperties()
           
 
Method Summary
static FaceProperties create(java.lang.String filename)
          Class method to create a global Properties object for this application.
static FaceProperties getRef()
          Class method to access the reference to the FaceProperty object
static void main(java.lang.String[] args)
          Adding this makes this class self-testing
 void save()
          Write the current set of values to the properties 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, rehash, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FaceProperties

public FaceProperties()
Method Detail

create

public static FaceProperties create(java.lang.String filename)
Class method to create a global Properties object for this application. If the specified file does not exist, then a one is created that contains only the current Version.

Returns:
FaceProperties object

getRef

public static FaceProperties getRef()
Class method to access the reference to the FaceProperty object


save

public void save()
Write the current set of values to the properties file


main

public static void main(java.lang.String[] args)
Adding this makes this class self-testing