public class DirtyProperties extends Properties
defaults
Constructor and Description |
---|
DirtyProperties() |
DirtyProperties(Properties inDefaults)
Creates an empty property list with the specified defaults.
|
Modifier and Type | Method and Description |
---|---|
void |
bless()
Flags all properties as not being dirty.
|
void |
clear() |
boolean |
isDirty()
Returns whether or not the properties set as a whole is dirty (has been changed).
|
boolean |
isDirty(String inKey)
Returns whether or not the value for the specified key is dirty (has been changed).
|
Object |
put(Object inKey,
Object inValue) |
void |
putAll(Map<? extends Object,? extends Object> m) |
Object |
remove(Object inKey) |
Object |
setProperty(String inKey,
String inValue) |
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, store, store, storeToXML, storeToXML, stringPropertyNames
clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keys, keySet, merge, putIfAbsent, rehash, remove, replace, replace, replaceAll, size, toString, values
public DirtyProperties()
public DirtyProperties(Properties inDefaults)
inDefaults
- the defaults.public void bless()
public boolean isDirty()
public boolean isDirty(String inKey)
inKey
- the specified key to checkpublic void clear()
public Object setProperty(String inKey, String inValue)
setProperty
in class Properties
jataylor@hairyfatguy.com