public interface Config
default String getRequiredString(String key) throws IllegalStateException
IllegalStateExceptiondefault String getFormatted(String key) throws IllegalStateException
IllegalStateExceptiondefault String getRequiredFormatted(String key) throws IllegalStateException
IllegalStateExceptiondefault String getFormatted(String key, Map<String,Object> parameters) throws IllegalStateException
IllegalStateExceptiondefault String getRequiredFormatted(String key, Map<String,Object> parameters) throws IllegalStateException
IllegalStateExceptiondefault String getFormatted(String key, Object... parameters) throws IllegalStateException
IllegalStateExceptiondefault String getRequiredFormatted(String key, Object... parameters) throws IllegalStateException
IllegalStateExceptiondefault boolean getBool(String key, boolean defaultValue)
default boolean getRequiredBool(String key) throws IllegalStateException, BoolFormatException
default int getInt(String key, int defaultValue)
default int getRequiredInt(String key) throws IllegalStateException, NumberFormatException
default long getLong(String key, long defaultValue)
default long getRequiredLong(String key) throws IllegalStateException, NumberFormatException
default double getDouble(String key, double defaultValue)
default double getRequiredDouble(String key) throws IllegalStateException, NumberFormatException
static IllegalStateException toNoValueException(String key)
Copyright © 2021. All rights reserved.