public final class SortedProperties
extends java.util.Properties
| Constructor | Description |
|---|---|
SortedProperties() |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Enumeration<java.lang.Object> |
keys() |
Overriden to be able to write properties sorted by keys to the disk
|
static java.util.Enumeration<?> |
sortKeys(java.util.Set<java.lang.String> keySet) |
To be compatible with version control systems, we need to sort properties
before storing them to disk.
|
entry, of, of, of, of, of, of, of, of, of, of, of, ofEntriesfinalize, getClass, notify, notifyAll, wait, wait, waitclear, 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, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, save, setProperty, size, store, store, storeToXML, storeToXML, stringPropertyNames, toString, valuespublic java.util.Enumeration<java.lang.Object> keys()
keys in class java.util.PropertiesHashtable.keys()public static java.util.Enumeration<?> sortKeys(java.util.Set<java.lang.String> keySet)
keySet - non null set instance to sortFindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.