Package org.jitsi.impl.configuration
Class SortedProperties
- java.lang.Object
-
- java.util.Dictionary<K,V>
-
- java.util.Hashtable<Object,Object>
-
- java.util.Properties
-
- org.jitsi.impl.configuration.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, Damian Minkov
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.Properties
defaults
-
-
Constructor Summary
Constructors Constructor Description SortedProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Enumeration<Object>keys()Gets an Enumeration of the keys in this Properties object.Objectput(Object key, Object value)Does not allow putting empty String keys in this Properties object.-
Methods inherited from class java.util.Properties
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, getProperty, getProperty, hashCode, isEmpty, keySet, list, list, load, load, loadFromXML, merge, propertyNames, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, save, setProperty, size, store, store, storeToXML, storeToXML, storeToXML, stringPropertyNames, toString, values
-
-
-
-
Method Detail
-
keys
public Enumeration<Object> keys()
Gets an Enumeration of the keys in this Properties object. Contrary to the original Properties implementation, it forces the keys to be alphabetically sorted.- Overrides:
keysin classProperties- Returns:
- an Enumeration of the keys in this Properties object
-
-