public class ConfigMap extends MapWrapper<String,String> implements Config
map| Constructor and Description |
|---|
ConfigMap() |
ConfigMap(Map<String,String> newMap) |
clear, containsKey, containsValue, entrySet, isEmpty, keySet, remove, size, valuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getRequiredString(String key) throws NullPointerException
getRequiredString in interface ConfigNullPointerExceptionpublic String[] getStringArray(String key)
getStringArray in interface Configpublic String getFormatted(String key)
getFormatted in interface Configpublic String getRequiredFormatted(String key) throws NullPointerException
getRequiredFormatted in interface ConfigNullPointerExceptionpublic String getFormatted(String key, Map<String,Object> parameters)
getFormatted in interface Configpublic String getRequiredFormatted(String key, Map<String,Object> parameters) throws NullPointerException
getRequiredFormatted in interface ConfigNullPointerExceptionpublic String getFormatted(String key, Object... parameters)
getFormatted in interface Configpublic String getRequiredFormatted(String key, Object... parameters) throws NullPointerException
getRequiredFormatted in interface ConfigNullPointerExceptionpublic boolean getBool(String key, boolean defaultValue)
public boolean getRequiredBool(String key) throws NullPointerException, BoolFormatException
getRequiredBool in interface ConfigNullPointerExceptionBoolFormatExceptionpublic int getRequiredInt(String key) throws NullPointerException, NumberFormatException
getRequiredInt in interface ConfigNullPointerExceptionNumberFormatExceptionpublic long getLong(String key, long defaultValue)
public long getRequiredLong(String key) throws NullPointerException, NumberFormatException
getRequiredLong in interface ConfigNullPointerExceptionNumberFormatExceptionpublic float getFloat(String key, float defaultValue)
public float getRequiredFloat(String key) throws NullPointerException, NumberFormatException
getRequiredFloat in interface ConfigNullPointerExceptionNumberFormatExceptionpublic double getDouble(String key, double defaultValue)
public double getRequiredDouble(String key) throws NullPointerException, NumberFormatException
getRequiredDouble in interface ConfigNullPointerExceptionNumberFormatExceptionpublic Date getRequiredDate(String key) throws NullPointerException, DateFormatException
getRequiredDate in interface ConfigNullPointerExceptionDateFormatExceptionpublic Time getRequiredTime(String key) throws NullPointerException, DateFormatException
getRequiredTime in interface ConfigNullPointerExceptionDateFormatExceptionpublic Timestamp getDateTime(String key)
getDateTime in interface Configpublic Timestamp getRequiredDateTime(String key) throws NullPointerException, DateFormatException
getRequiredDateTime in interface ConfigNullPointerExceptionDateFormatExceptionpublic 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 © 2019. All rights reserved.