public class ConfigHelper
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ConfigHelper.PropertiesWithPrefix |
Constructor and Description |
---|
ConfigHelper() |
Modifier and Type | Method and Description |
---|---|
static boolean |
getProperty(java.util.List<ConfigHelper.PropertiesWithPrefix> props,
java.lang.String key,
boolean defaultValue) |
static <T extends java.lang.Enum<T>> |
getProperty(java.util.List<ConfigHelper.PropertiesWithPrefix> props,
java.lang.String key,
java.lang.Class<T> enumClass,
T defaultValue) |
static java.lang.Integer |
getProperty(java.util.List<ConfigHelper.PropertiesWithPrefix> props,
java.lang.String key,
java.lang.Integer defaultValue) |
static java.lang.String |
getProperty(java.util.List<ConfigHelper.PropertiesWithPrefix> props,
java.lang.String key,
java.lang.String defaultValue) |
static java.util.Properties |
loadPropertiesFile(java.lang.String resourceName) |
public static java.lang.String getProperty(java.util.List<ConfigHelper.PropertiesWithPrefix> props, java.lang.String key, java.lang.String defaultValue)
public static boolean getProperty(java.util.List<ConfigHelper.PropertiesWithPrefix> props, java.lang.String key, boolean defaultValue)
public static java.lang.Integer getProperty(java.util.List<ConfigHelper.PropertiesWithPrefix> props, java.lang.String key, java.lang.Integer defaultValue)
public static <T extends java.lang.Enum<T>> T getProperty(java.util.List<ConfigHelper.PropertiesWithPrefix> props, java.lang.String key, java.lang.Class<T> enumClass, T defaultValue)
public static java.util.Properties loadPropertiesFile(java.lang.String resourceName)