-
- All Known Implementing Classes:
ConfigMap,ConfigWrapper,PropertyConfig,SecureConfig,SecureProps
public interface Config- Author:
- Loc Ha
-
-
Method Summary
-
-
-
Method Detail
-
getRequiredString
default String getRequiredString(String key) throws IllegalStateException
- Throws:
IllegalStateException
-
getFormatted
default String getFormatted(String key) throws IllegalStateException
- Throws:
IllegalStateException
-
getRequiredFormatted
default String getRequiredFormatted(String key) throws IllegalStateException
- Throws:
IllegalStateException
-
getFormatted
default String getFormatted(String key, Map<String,Object> parameters) throws IllegalStateException
- Throws:
IllegalStateException
-
getRequiredFormatted
default String getRequiredFormatted(String key, Map<String,Object> parameters) throws IllegalStateException
- Throws:
IllegalStateException
-
getFormatted
default String getFormatted(String key, Object... parameters) throws IllegalStateException
- Throws:
IllegalStateException
-
getRequiredFormatted
default String getRequiredFormatted(String key, Object... parameters) throws IllegalStateException
- Throws:
IllegalStateException
-
getBool
default boolean getBool(String key, boolean defaultValue)
-
getRequiredBool
default boolean getRequiredBool(String key) throws IllegalStateException, BoolFormatException
-
getInt
default int getInt(String key, int defaultValue)
-
getRequiredInt
default int getRequiredInt(String key) throws IllegalStateException, NumberFormatException
-
getLong
default long getLong(String key, long defaultValue)
-
getRequiredLong
default long getRequiredLong(String key) throws IllegalStateException, NumberFormatException
-
getDouble
default double getDouble(String key, double defaultValue)
-
getRequiredDouble
default double getRequiredDouble(String key) throws IllegalStateException, NumberFormatException
-
toNoValueException
static IllegalStateException toNoValueException(String key)
-
-