com.sun.javatest.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.sun.javatest.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

A subtype of Properties for which the keys method will return a sorted enumeration. This means that the store method will write the various properties in sorted order.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
SortedProperties()
           
 
Method Summary
 java.util.Enumeration keys()
           
 
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, keySet, 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()
Method Detail

keys

public java.util.Enumeration keys()
Overrides:
keys in class java.util.Hashtable<java.lang.Object,java.lang.Object>


Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved.