net.java.sip.communicator.util
Class SortedProperties
java.lang.Object
java.util.Dictionary<K,V>
java.util.Hashtable<Object,Object>
java.util.Properties
net.java.sip.communicator.util.SortedProperties
- All Implemented Interfaces:
- Serializable, Cloneable, Map<Object,Object>
public class SortedProperties
- extends Properties
This class is a sorted version of classical java.util.Properties.
It is strongly inspired by http://forums.sun.com/thread.jspa?threadID=141144.
- Author:
- Sebastien Vincent
- See Also:
- Serialized Form
| 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 |
SortedProperties
public SortedProperties()
keys
public Enumeration<Object> keys()
- Get an enumeration of keys hold by the Properties object.
Contrary to the original Properties implementation, it forces
the keys to be sorted alphabetically.
- Overrides:
keys in class Hashtable<Object,Object>
- Returns:
- enumeration of the keys hold by the Properties.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.