public interface Config
@Nonnull static ConfigFrom from()
@Nullable String getString(@Nonnull String key)
@Nonnull String getStringOrThrow(@Nonnull String key)
ConfigMissingException - if no value could be read for the specified keyint getIntegerOrThrow(@Nonnull String key)
ConfigMissingException - if no value could be read for the specified keylong getLongOrThrow(@Nonnull String key)
ConfigMissingException - if no value could be read for the specified keyfloat getFloatOrThrow(@Nonnull String key)
ConfigMissingException - if no value could be read for the specified keydouble getDoubleOrThrow(@Nonnull String key)
ConfigMissingException - if no value could be read for the specified key@Nullable BigDecimal getBigDecimal(@Nonnull String key)
@Nonnull BigDecimal getBigDecimal(String key, @Nonnull BigDecimal defaultValue)
@Nonnull BigDecimal getBigDecimalOrThrow(String key)
ConfigMissingException - if no value could be read for the specified keyboolean getBooleanOrFalse(@Nonnull String key)
boolean getBooleanOrTrue(@Nonnull String key)
boolean getBooleanOrThrow(@Nonnull String key)
ConfigMissingException - if no value could be read for the specified keyCopyright © 2016. All rights reserved.