com.isti.util
Class SortedProperties

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 com.isti.util.SortedProperties
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.Object,java.lang.Object>

public class SortedProperties
extends java.util.Properties

Class SortedProperties extends Properties to add sorting.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
SortedProperties()
          Creates an empty property list with no default values.
SortedProperties(java.util.Properties defaults)
          Creates an empty property list with the specified defaults.
 
Method Summary
 java.util.Enumeration keys()
          Returns an enumeration of the keys in this property list.
 java.util.Set keySet()
          Returns a Set view of the keys contained in this property list.
 
Methods inherited from class java.util.Properties
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, put, putAll, rehash, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SortedProperties

public SortedProperties()
Creates an empty property list with no default values.


SortedProperties

public SortedProperties(java.util.Properties defaults)
Creates an empty property list with the specified defaults.

Parameters:
defaults - the defaults.
Method Detail

keys

public java.util.Enumeration keys()
Returns an enumeration of the keys in this property list.

Overrides:
keys in class java.util.Hashtable<java.lang.Object,java.lang.Object>
Returns:
an enumeration of the keys in this property list.

keySet

public java.util.Set keySet()
Returns a Set view of the keys contained in this property list.

Specified by:
keySet in interface java.util.Map<java.lang.Object,java.lang.Object>
Overrides:
keySet in class java.util.Hashtable<java.lang.Object,java.lang.Object>
Returns:
a set view of the keys contained in this property list.