public abstract class PojoPropertiesImpl extends Object implements Properties, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected Entry[] |
entries |
private static long |
serialVersionUID |
| Constructor and Description |
|---|
PojoPropertiesImpl() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconcurrentInstance, instance, listInstance, sortedInstance, toStringprivate static final long serialVersionUID
protected Entry[] entries
public abstract Properties init()
protected int find(String key)
key - public String get(String key)
get in interface Propertiespublic String get(String key, String defaultVal)
get in interface Propertiespublic List<String> getValues(String key)
getValues in interface Propertiespublic Comment getComments(String key)
getComments in interface Propertiespublic char getSeparator(String key)
getSeparator in interface Propertiespublic ValueModel getValueModel(String key)
getValueModel in interface Propertiespublic void put(String key, String... values)
put in interface Propertiespublic void put(String key, Comment comment, String... values)
put in interface Propertiespublic void put(String key, char separator, Comment comment, String... values)
put in interface Propertiespublic void put(KeyValueModel model)
put in interface Propertiespublic void put(String key, ValueModel model)
put in interface Propertiespublic void forEach(BiConsumer<String,ValueModel> action)
forEach in interface Propertiespublic boolean containsKey(String key)
containsKey in interface Propertiespublic boolean hasNonEmptyValue(String key)
hasNonEmptyValue in interface Propertiespublic int size()
size in interface Propertiespublic boolean hasKeyLike(String leftEdge)
hasKeyLike in interface Propertiespublic List<String> getMatchingKeys(String regex)
getMatchingKeys in interface Propertiespublic void clear()
clear in interface Propertiespublic void deleteKey(String key)
deleteKey in interface Propertiespublic Properties merge(Properties props)
merge in interface Propertiesprops - public Properties slice(String keyBase)
slice in interface Propertiespublic Map<String,ValueModel> asMap()
asMap in interface Propertiespublic Map<String,String> asFlattenedMap()
asFlattenedMap in interface Propertiespublic List<KeyValueModel> asList()
asList in interface Propertiespublic Properties asLegacy()
asLegacy in interface Propertiespublic Properties asciiToNative()
asciiToNative in interface Propertiespublic Properties nativeToAscii()
nativeToAscii in interface Propertiespublic String toXML()
toXML in interface Propertiespublic String toJSON()
toJSON in interface Propertiespublic String toYAML()
toYAML in interface Propertiespublic boolean containsUnicodeEscape()
containsUnicodeEscape in interface PropertiesCopyright © 2011–2018 David R. Smith. All rights reserved.