org.sump.util
Class Properties

java.lang.Object
  extended by java.util.Dictionary<K,V>
      extended by java.util.Hashtable<java.lang.Object,java.lang.Object>
          extended by java.util.Properties
              extended by org.sump.util.Properties
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.Object,java.lang.Object>

public class Properties
extends java.util.Properties

Essentially the same as java.util.Properties but will store the properties in alphabetical order. Ordering is implemented using a simple hack. It may stop working in future versions of Java.

Version:
0.7
Author:
Michael "Mr. Sump" Poppitz
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
Properties()
           
 
Method Summary
 java.util.Enumeration keys()
          Get keys in alphabetical order.
 
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, keySet, put, putAll, rehash, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Properties

public Properties()
Method Detail

keys

public java.util.Enumeration keys()
Get keys in alphabetical order. This method is used by store().

Overrides:
keys in class java.util.Hashtable<java.lang.Object,java.lang.Object>