public abstract class PropertyBase extends Object implements PropertyConfig, Map<String,String>, Serializable
| Constructor and Description |
|---|
PropertyBase(Map<String,String> newMap) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getString(String key)
getString in interface PropertyConfigpublic String getString(String key, String defaultValue)
getString in interface PropertyConfigpublic String getRequiredString(String key) throws IllegalStateException
getRequiredString in interface PropertyConfigIllegalStateExceptionpublic String getFormatted(String key)
getFormatted in interface PropertyConfigpublic String getRequiredFormatted(String key) throws IllegalStateException
getRequiredFormatted in interface PropertyConfigIllegalStateExceptionpublic String getFormatted(String key, Map<String,Object> parameters)
getFormatted in interface PropertyConfigpublic String getRequiredFormatted(String key, Map<String,Object> parameters) throws IllegalStateException
getRequiredFormatted in interface PropertyConfigIllegalStateExceptionpublic String getFormatted(String key, Object... parameters)
getFormatted in interface PropertyConfigpublic String getRequiredFormatted(String key, Object... parameters) throws IllegalStateException
getRequiredFormatted in interface PropertyConfigIllegalStateExceptionpublic boolean getBool(String key, boolean defaultValue)
getBool in interface PropertyConfigpublic boolean getRequiredBool(String key) throws IllegalStateException, BoolFormatException
getRequiredBool in interface PropertyConfigIllegalStateExceptionBoolFormatExceptionpublic int getInt(String key, int defaultValue)
getInt in interface PropertyConfigpublic int getRequiredInt(String key) throws IllegalStateException, NumberFormatException
getRequiredInt in interface PropertyConfigIllegalStateExceptionNumberFormatExceptionpublic long getLong(String key, long defaultValue)
getLong in interface PropertyConfigpublic long getRequiredLong(String key) throws IllegalStateException, NumberFormatException
getRequiredLong in interface PropertyConfigIllegalStateExceptionNumberFormatExceptionpublic float getFloat(String key, float defaultValue)
getFloat in interface PropertyConfigpublic float getRequiredFloat(String key) throws IllegalStateException, NumberFormatException
getRequiredFloat in interface PropertyConfigIllegalStateExceptionNumberFormatExceptionpublic double getDouble(String key, double defaultValue)
getDouble in interface PropertyConfigpublic double getRequiredDouble(String key) throws IllegalStateException, NumberFormatException
getRequiredDouble in interface PropertyConfigIllegalStateExceptionNumberFormatExceptionpublic Date getDate(String key)
getDate in interface PropertyConfigpublic Date getRequiredDate(String key) throws IllegalStateException, DateFormatException
getRequiredDate in interface PropertyConfigIllegalStateExceptionDateFormatExceptionpublic Time getTime(String key)
getTime in interface PropertyConfigpublic Time getRequiredTime(String key) throws IllegalStateException, DateFormatException
getRequiredTime in interface PropertyConfigIllegalStateExceptionDateFormatExceptionpublic Timestamp getDateTime(String key)
getDateTime in interface PropertyConfigpublic Timestamp getRequiredDateTime(String key) throws IllegalStateException, DateFormatException
getRequiredDateTime in interface PropertyConfigIllegalStateExceptionDateFormatExceptionpublic 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)
public boolean containsKey(Object key)
containsKey in interface Map<String,String>public boolean containsValue(Object value)
containsValue in interface Map<String,String>Copyright © 2017. All rights reserved.