public class LiveProperties
extends java.util.Properties
Constructor and Description |
---|
LiveProperties(java.io.File file) |
LiveProperties(java.io.File file,
java.util.Map<java.lang.String,java.lang.String> defaults) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getProperty(java.lang.String key) |
java.lang.Object |
setProperty(java.lang.String key,
java.lang.String value) |
getProperty, list, list, load, load, loadFromXML, propertyNames, save, store, store, storeToXML, storeToXML, stringPropertyNames
public LiveProperties(java.io.File file)
file
- The file used to read/write properties.public LiveProperties(java.io.File file, java.util.Map<java.lang.String,java.lang.String> defaults)
file
- The file used to read/write properties.defaults
- Default property values.