public class SortedProperties extends Properties
Properties
and makes them sorted by their keys
. Sorting the properties is
useful when changes shall be compared using diff-algorithms.Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
defaults
Constructor and Description |
---|
SortedProperties()
The constructor.
|
SortedProperties(Properties defaults)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
Enumeration<Object> |
keys() |
Set<Object> |
keySet() |
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, merge, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, size, toString, values
private static final long serialVersionUID
public SortedProperties()
public SortedProperties(Properties defaults)
defaults
- are the Properties
to inherit as defaults.Copyright © 2001–2016 mmm-Team. All rights reserved.