public final class SortedProperties extends Properties
defaults| Constructor and Description |
|---|
SortedProperties() |
| Modifier and Type | Method and Description |
|---|---|
Enumeration<Object> |
keys()
Overriden to be able to write properties sorted by keys to the disk
|
static Enumeration<?> |
sortKeys(Set<String> keySet)
To be compatible with version control systems, we need to sort properties
before storing them to disk.
|
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNamespublic Enumeration<Object> keys()
keys in class Hashtable<Object,Object>Hashtable.keys()public static Enumeration<?> sortKeys(Set<String> keySet)
keySet - non null set instance to sortCopyright © 2003–2015. All rights reserved.