public class ConfigUtil
extends Object
-
Constructor Summary
Constructors
-
Method Summary
static boolean
bool(com.typesafe.config.Config config,
String key,
boolean defaultValue)
static <T extends Enum<T>>
T
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ConfigUtil
public ConfigUtil()
-
Method Details
-
-
optionalInteger
public static Integer optionalInteger(com.typesafe.config.Config config,
String key)
-
enumValue
public static <T extends Enum<T>> T enumValue(com.typesafe.config.Config config,
String key,
Class<T> type,
T defaultValue)
-
string
public static String string(com.typesafe.config.Config config,
String key)
-
string
public static String string(com.typesafe.config.Config config,
String key,
String defaultValue)
-
strings
public static List<String> strings(com.typesafe.config.Config config,
String key)
-
-
bool
public static boolean bool(com.typesafe.config.Config config,
String key,
boolean defaultValue)