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 |
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 |
putBool(String key,
boolean value) |
void |
putDate(String key,
Date value) |
void |
putDateTime24H(String key,
Timestamp value) |
void |
putDouble(String key,
double value) |
void |
putFloat(String key,
float value) |
void |
putInt(String key,
int value) |
void |
putLong(String key,
long 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() |
format, format, getBool, getDouble, getFloat, getInt, getLong, getRequiredBool, getRequiredDate, getRequiredDateTime24H, getRequiredDouble, getRequiredFloat, getRequiredInt, getRequiredLong, getRequiredString, getString, getStringList, parse, parseclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllpublic 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 String getString(String key)
getString in class PropertyBasepublic boolean containsKey(Object key)
containsKey in interface Map<String,String>public boolean containsValue(Object value)
containsValue in interface Map<String,String>public void putBool(String key, boolean value)
public void putInt(String key, int value)
public void putLong(String key, long value)
public void putFloat(String key, float value)
public void putDouble(String key, double value)
Copyright © 2017. All rights reserved.