| 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 IllegalStateException, BoolFormatException
getRequiredBool in interface ConfigIllegalStateExceptionBoolFormatExceptionpublic Date getRequiredDate(String key) throws IllegalStateException, DateFormatException
getRequiredDate in interface ConfigIllegalStateExceptionDateFormatExceptionpublic Timestamp getRequiredDateTime(String key) throws IllegalStateException, DateFormatException
getRequiredDateTime in interface ConfigIllegalStateExceptionDateFormatExceptionpublic double getRequiredDouble(String key) throws IllegalStateException, NumberFormatException
getRequiredDouble in interface ConfigIllegalStateExceptionNumberFormatExceptionpublic float getRequiredFloat(String key) throws IllegalStateException, NumberFormatException
getRequiredFloat in interface ConfigIllegalStateExceptionNumberFormatExceptionpublic String getRequiredFormatted(String key) throws IllegalStateException
getRequiredFormatted in interface ConfigIllegalStateExceptionpublic String getRequiredFormatted(String key, Object... parameters) throws IllegalStateException
getRequiredFormatted in interface ConfigIllegalStateExceptionpublic String getRequiredFormatted(String key, Map<String,Object> parameters) throws IllegalStateException
getRequiredFormatted in interface ConfigIllegalStateExceptionpublic int getRequiredInt(String key) throws IllegalStateException, NumberFormatException
getRequiredInt in interface ConfigIllegalStateExceptionNumberFormatExceptionpublic long getRequiredLong(String key) throws IllegalStateException, NumberFormatException
getRequiredLong in interface ConfigIllegalStateExceptionNumberFormatExceptionpublic String getRequiredString(String key) throws IllegalStateException
getRequiredString in interface ConfigIllegalStateExceptionpublic Time getRequiredTime(String key) throws IllegalStateException, DateFormatException
getRequiredTime in interface ConfigIllegalStateExceptionDateFormatExceptionpublic String[] getStringArray(String key)
getStringArray in interface ConfigCopyright © 2020. All rights reserved.