public class PropertiesManager extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
PropertiesManager.PropertyHolder |
| Constructor and Description |
|---|
PropertiesManager() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getProperty(String property) |
static Address |
getProperty(String property,
Address defaultValue) |
static boolean |
getProperty(String property,
boolean defaultValue) |
static double |
getProperty(String property,
double defaultValue) |
static <E extends Enum<E>> |
getProperty(String property,
E defaultValue) |
static int |
getProperty(String property,
int defaultValue) |
static long |
getProperty(String property,
long defaultValue) |
static Map<String,Object> |
getProperty(String property,
Map<String,Object> defaultMap) |
static String |
getProperty(String property,
String defaultValue) |
static PropertiesManager.PropertyHolder |
getPropertyHolder() |
static <T extends com.google.gson.JsonElement> |
getPropertyJson(String property,
String defaultValue,
Class<T> clazz) |
static <T> T |
getPropertyJson(String property,
String defaultValue,
Type classOfT) |
static String |
getPropertyOrException(String property,
String exceptionMessage) |
static void |
setPropertyHolder(PropertiesManager.PropertyHolder propertyHolder) |
public static void setPropertyHolder(PropertiesManager.PropertyHolder propertyHolder)
public static PropertiesManager.PropertyHolder getPropertyHolder()
public static String getPropertyOrException(String property, String exceptionMessage)
public static int getProperty(String property, int defaultValue)
public static double getProperty(String property, double defaultValue)
public static long getProperty(String property, long defaultValue)
public static boolean getProperty(String property, boolean defaultValue)
public static <T extends com.google.gson.JsonElement> T getPropertyJson(String property, String defaultValue, Class<T> clazz)
public static <T> T getPropertyJson(String property, String defaultValue, Type classOfT)
Copyright © 2017 Kurento. All rights reserved.