public class PropertyConfig extends ConfigBase implements Serializable
props| Constructor and Description |
|---|
PropertyConfig() |
PropertyConfig(Map<String,String> newMap) |
getBool, getDate, getDateTime, getDouble, getFloat, getFormatted, getFormatted, getFormatted, getInt, getLong, getMap, getRequiredBool, getRequiredDate, getRequiredDateTime, getRequiredDouble, getRequiredFloat, getRequiredFormatted, getRequiredFormatted, getRequiredFormatted, getRequiredInt, getRequiredLong, getRequiredString, getRequiredTime, getString, getString, getStringArray, getTimepublic 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()
public PropertyConfig put(String key, String value)
put in class ConfigBasepublic PropertyConfig put(String key, boolean value)
put in class ConfigBasepublic PropertyConfig put(String key, int value)
put in class ConfigBasepublic PropertyConfig put(String key, long value)
put in class ConfigBasepublic PropertyConfig put(String key, float value)
put in class ConfigBasepublic PropertyConfig put(String key, double value)
put in class ConfigBasepublic PropertyConfig put(String key, Boolean value)
put in class ConfigBasepublic PropertyConfig put(String key, Integer value)
put in class ConfigBasepublic PropertyConfig put(String key, Long value)
put in class ConfigBasepublic PropertyConfig put(String key, Float value)
put in class ConfigBasepublic PropertyConfig put(String key, Double value)
put in class ConfigBasepublic PropertyConfig put(String key, Date value)
put in class ConfigBasepublic PropertyConfig put(String key, Time value)
put in class ConfigBasepublic PropertyConfig put(String key, Timestamp value)
put in class ConfigBaseCopyright © 2018. All rights reserved.