public class PropertyMap extends PropertyBase
props| Constructor and Description |
|---|
PropertyMap() |
PropertyMap(Map<String,String> newMap) |
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, 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 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(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 PropertyMap prop(String key, String value)
public PropertyMap prop(String key, boolean value)
public PropertyMap prop(String key, int value)
public PropertyMap prop(String key, long value)
public PropertyMap prop(String key, float value)
public PropertyMap prop(String key, double value)
public PropertyMap prop(String key, Boolean value)
public PropertyMap prop(String key, Integer value)
public PropertyMap prop(String key, Long value)
public PropertyMap prop(String key, Float value)
public PropertyMap prop(String key, Double value)
public PropertyMap prop(String key, Date value)
public PropertyMap prop(String key, Time value)
public PropertyMap prop(String key, Timestamp value)
Copyright © 2017. All rights reserved.