public class SJProperties extends Properties
| Modifier and Type | Field and Description |
|---|---|
private String |
delimiter |
protected ArrayList |
index |
private org.apache.commons.lang.text.StrSubstitutor |
substitutor |
defaults| Constructor and Description |
|---|
SJProperties() |
SJProperties(Properties defaults)
From
Properties: "A property list can contain another property list as its "defaults"; this second property list is searched if the property key is not found in the original property list." |
| Modifier and Type | Method and Description |
|---|---|
String |
getDelimiter() |
Enumeration |
keys() |
Set |
keySet() |
Enumeration |
propertyNames() |
Object |
put(Object key,
Object value) |
Object |
remove(Object key) |
void |
setDelimiter(String delimiter) |
Object |
setProperty(String key,
String value) |
getProperty, getProperty, list, list, load, load, loadFromXML, save, store, store, storeToXML, storeToXML, stringPropertyNamesclear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, merge, putAll, putIfAbsent, rehash, remove, replace, replace, replaceAll, size, toString, valuesprivate String delimiter
protected ArrayList index
private final org.apache.commons.lang.text.StrSubstitutor substitutor
SJProperties()
SJProperties(Properties defaults)
Properties: "A property list can contain another property list as its "defaults"; this second property list is searched if the property key is not found in the original property list."
The defaults will need to be remembered for the save/store method.
public void setDelimiter(String delimiter)
public String getDelimiter()
public Object setProperty(String key, String value)
setProperty in class Propertiespublic Enumeration propertyNames()
propertyNames in class Propertiespublic Enumeration keys()
Copyright © 2020. All rights reserved.