public class OrderedProperties
extends java.util.Properties
Constructor and Description |
---|
OrderedProperties() |
OrderedProperties(java.util.Properties defaults) |
Modifier and Type | Method and Description |
---|---|
java.util.Iterator |
keysAndData() |
void |
load(java.io.InputStream is)
Loads properties from an InputStream.
|
java.lang.Object |
put(java.lang.Object key,
java.lang.Object value) |
java.lang.Object |
remove(java.lang.Object key) |
void |
save(java.io.OutputStream out,
java.lang.String header)
Deprecated.
|
void |
store(java.io.OutputStream out,
java.lang.String header)
Save properties to an OutputStream.
|
getProperty, getProperty, list, list, load, loadFromXML, propertyNames, setProperty, store, storeToXML, storeToXML, stringPropertyNames
public OrderedProperties()
public OrderedProperties(java.util.Properties defaults)
public java.lang.Object put(java.lang.Object key, java.lang.Object value)
put
in interface java.util.Map<java.lang.Object,java.lang.Object>
put
in class java.util.Hashtable<java.lang.Object,java.lang.Object>
public java.lang.Object remove(java.lang.Object key)
remove
in interface java.util.Map<java.lang.Object,java.lang.Object>
remove
in class java.util.Hashtable<java.lang.Object,java.lang.Object>
public java.util.Iterator keysAndData()
public void load(java.io.InputStream is) throws java.io.IOException
load
in class java.util.Properties
in
- the input streamjava.io.IOException
- Error when reading from input stream.public void save(java.io.OutputStream out, java.lang.String header)
save
in class java.util.Properties
public void store(java.io.OutputStream out, java.lang.String header) throws java.io.IOException
store
in class java.util.Properties
java.io.IOException