| Constructor and Description |
|---|
ConfigWrapper(Config cfg) |
public ConfigWrapper(Config cfg)
public boolean getBool(String key, boolean defaultValue)
public Timestamp getDateTime(String key)
getDateTime in interface Configpublic double getDouble(String key, double defaultValue)
public float getFloat(String key, float defaultValue)
public String getFormatted(String key)
getFormatted in interface Configpublic String getFormatted(String key, Object... parameters)
getFormatted in interface Configpublic String getFormatted(String key, Map<String,Object> parameters)
getFormatted in interface Configpublic long getLong(String key, long defaultValue)
public boolean getRequiredBool(String key) throws NullPointerException, BoolFormatException
getRequiredBool in interface ConfigNullPointerExceptionBoolFormatExceptionpublic Date getRequiredDate(String key) throws NullPointerException, DateFormatException
getRequiredDate in interface ConfigNullPointerExceptionDateFormatExceptionpublic Timestamp getRequiredDateTime(String key) throws NullPointerException, DateFormatException
getRequiredDateTime in interface ConfigNullPointerExceptionDateFormatExceptionpublic double getRequiredDouble(String key) throws NullPointerException, NumberFormatException
getRequiredDouble in interface ConfigNullPointerExceptionNumberFormatExceptionpublic float getRequiredFloat(String key) throws NullPointerException, NumberFormatException
getRequiredFloat in interface ConfigNullPointerExceptionNumberFormatExceptionpublic String getRequiredFormatted(String key) throws NullPointerException
getRequiredFormatted in interface ConfigNullPointerExceptionpublic String getRequiredFormatted(String key, Object... parameters) throws NullPointerException
getRequiredFormatted in interface ConfigNullPointerExceptionpublic String getRequiredFormatted(String key, Map<String,Object> parameters) throws NullPointerException
getRequiredFormatted in interface ConfigNullPointerExceptionpublic int getRequiredInt(String key) throws NullPointerException, NumberFormatException
getRequiredInt in interface ConfigNullPointerExceptionNumberFormatExceptionpublic long getRequiredLong(String key) throws NullPointerException, NumberFormatException
getRequiredLong in interface ConfigNullPointerExceptionNumberFormatExceptionpublic String getRequiredString(String key) throws NullPointerException
getRequiredString in interface ConfigNullPointerExceptionpublic Time getRequiredTime(String key) throws NullPointerException, DateFormatException
getRequiredTime in interface ConfigNullPointerExceptionDateFormatExceptionpublic String[] getStringArray(String key)
getStringArray in interface ConfigCopyright © 2019. All rights reserved.