public class OrderedProperties extends Properties
defaults
Constructor and Description |
---|
OrderedProperties() |
Modifier and Type | Method and Description |
---|---|
List<String> |
getKeys()
All the keys but alphabetically ordered
|
void |
store(OutputStream out,
String header)
Overrides the original store() method and sorts the output
|
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, storeToXML, storeToXML, stringPropertyNames
public void store(OutputStream out, String header) throws IOException
store
in class Properties
out
- a FileOutPutStream to send the output toheader
- a textual header for the top of the fileIOException
- when things go wrongCopyright © 2008-2014 Logical Objects. All Rights Reserved.