public class EmptyProperties extends Properties
| Modifier and Type | Field and Description |
|---|---|
static EmptyProperties |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
contains(Object value) |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Enumeration<Object> |
elements() |
Set<Map.Entry<Object,Object>> |
entrySet() |
Object |
get(Object key) |
String |
getProperty(String key) |
String |
getProperty(String key,
String defaultValue) |
boolean |
isEmpty() |
Enumeration<Object> |
keys() |
Set<Object> |
keySet() |
void |
load(InputStream inStream) |
void |
load(Reader reader) |
void |
loadFromXML(InputStream in) |
Enumeration<?> |
propertyNames() |
Object |
put(Object key,
Object value) |
void |
putAll(Map<? extends Object,? extends Object> t) |
Object |
remove(Object key) |
Object |
setProperty(String key,
String value) |
int |
size() |
Set<String> |
stringPropertyNames() |
Collection<Object> |
values() |
list, list, save, store, store, storeToXML, storeToXMLclone, compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll, toStringpublic static final EmptyProperties INSTANCE
public String getProperty(String key)
getProperty in class Propertiespublic String getProperty(String key, String defaultValue)
getProperty in class Propertiespublic Enumeration<?> propertyNames()
propertyNames in class Propertiespublic Set<String> stringPropertyNames()
stringPropertyNames in class Propertiespublic int size()
public boolean isEmpty()
public Enumeration<Object> elements()
public boolean contains(Object value)
public boolean containsValue(Object value)
containsValue in interface Map<Object,Object>containsValue in class Hashtable<Object,Object>public boolean containsKey(Object key)
containsKey in interface Map<Object,Object>containsKey in class Hashtable<Object,Object>public Collection<Object> values()
public void load(Reader reader) throws IOException
load in class PropertiesIOExceptionpublic void load(InputStream inStream) throws IOException
load in class PropertiesIOExceptionpublic void loadFromXML(InputStream in) throws IOException, InvalidPropertiesFormatException
loadFromXML in class PropertiesIOExceptionInvalidPropertiesFormatExceptionpublic Object setProperty(String key, String value)
setProperty in class PropertiesCopyright © 2016 jetbrick. All rights reserved.