public class PropertyConfig extends ConfigBase
configs| Constructor and Description |
|---|
PropertyConfig() |
PropertyConfig(Map<String,String> newMap) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
fromProperties(Properties props) |
void |
load(File file) |
void |
load(InputStream is) |
void |
load(Reader r) |
void |
load(String file) |
void |
put(String key,
boolean value) |
void |
put(String key,
Boolean value) |
void |
put(String key,
Date value) |
void |
put(String key,
double value) |
void |
put(String key,
Double value) |
void |
put(String key,
float value) |
void |
put(String key,
Float value) |
void |
put(String key,
int value) |
void |
put(String key,
Integer value) |
void |
put(String key,
long value) |
void |
put(String key,
Long value) |
void |
put(String key,
Time value) |
void |
put(String key,
Timestamp value) |
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() |
clear, containsKey, containsValue, entrySet, 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, getStringList, getTime, isEmpty, keySet, put, putAll, remove, size, valuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllpublic void load(InputStream is) throws IOException
IOExceptionpublic void load(Reader r) throws IOException
IOExceptionpublic void load(File file) throws IOException
IOExceptionpublic void 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()
public void put(String key, boolean value)
public void put(String key, int value)
public void put(String key, long value)
public void put(String key, float value)
public void put(String key, double value)
Copyright © 2017. All rights reserved.