public class PropertyConfig extends ConfigMap implements Serializable
map| Constructor and Description |
|---|
PropertyConfig() |
PropertyConfig(Map<String,String> newMap) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
fromProperties(Properties props) |
PropertyConfig |
load(File file) |
PropertyConfig |
load(InputStream is) |
PropertyConfig |
load(Reader r) |
PropertyConfig |
load(String file) |
void |
store(File file,
String comments) |
void |
store(OutputStream os,
String comments) |
void |
store(String file,
String comments) |
void |
store(Writer w,
String comments) |
protected Properties |
toProperties() |
String |
toString() |
doPut, get, getBool, getDate, getDateTime, getDouble, getFloat, getFormatted, getFormatted, getFormatted, getInt, getLong, getRequiredBool, getRequiredDate, getRequiredDateTime, getRequiredDouble, getRequiredFloat, getRequiredFormatted, getRequiredFormatted, getRequiredFormatted, getRequiredInt, getRequiredLong, getRequiredString, getRequiredTime, getString, getString, getStringArray, getTime, put, put, put, put, put, put, put, putAll, toStringValueclear, containsKey, containsValue, entrySet, isEmpty, keySet, remove, size, valuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllpublic PropertyConfig load(InputStream is) throws IOException
IOExceptionpublic PropertyConfig load(Reader r) throws IOException
IOExceptionpublic PropertyConfig load(File file) throws IOException
IOExceptionpublic PropertyConfig load(String file) throws IOException
IOExceptionprotected void fromProperties(Properties props)
public void store(File file, String comments) throws IOException
IOExceptionpublic void store(String file, String comments) throws IOException
IOExceptionpublic void store(OutputStream os, String comments) throws IOException
IOExceptionpublic void store(Writer w, String comments) throws IOException
IOExceptionprotected Properties toProperties()
Copyright © 2019. All rights reserved.