public class PropertyMap extends PropertyBase implements Map<String,String>, Serializable
| Constructor and Description |
|---|
PropertyMap() |
PropertyMap(Map<String,String> newMap) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<String,String>> |
entrySet() |
protected void |
fromProperties(Properties props) |
String |
get(Object key) |
String |
getFormattedString(String key) |
String |
getString(String key) |
boolean |
isEmpty() |
Set<String> |
keySet() |
void |
load(File file) |
void |
load(InputStream inStream) |
void |
load(Reader reader) |
void |
load(String file) |
String |
put(String key,
String value) |
void |
putAll(Map<? extends String,? extends String> m) |
void |
putString(String key,
String value) |
String |
remove(Object key) |
int |
size() |
void |
store(OutputStream os,
String comments) |
void |
store(Writer w,
String comments) |
protected Properties |
toProperties() |
String |
toString() |
Collection<String> |
values() |
getBool, getDate, getDateTime, getDouble, getFloat, getInt, getLong, getRequiredBool, getRequiredDate, getRequiredDateTime, getRequiredDouble, getRequiredFloat, getRequiredInt, getRequiredLong, getRequiredString, getRequiredTime, getString, getTime, put, put, put, put, put, put, put, put, put, put, put, put, putclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getString(String key)
getString in interface PropertyConfiggetString in class PropertyBasepublic void putString(String key, String value)
putString in class PropertyBasepublic void load(InputStream inStream) throws IOException
IOExceptionpublic void load(Reader reader) throws IOException
IOExceptionpublic void load(File file) throws IOException
IOExceptionpublic void load(String file) throws IOException
IOExceptionprotected void fromProperties(Properties props)
public void store(OutputStream os, String comments) throws IOException
IOExceptionpublic void store(Writer w, String comments) throws IOException
IOExceptionprotected Properties toProperties()
public boolean containsKey(Object key)
containsKey in interface Map<String,String>public boolean containsValue(Object value)
containsValue in interface Map<String,String>Copyright © 2017. All rights reserved.