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 int |
getProperty(String property,
int defaultValue) |
static long |
getProperty(String property,
long defaultValue) |
static String |
getProperty(String property,
String defaultValue) |
static Address |
getProperty(String prefix,
String property,
Address defaultValue) |
static int |
getProperty(String prefix,
String property,
int defaultValue) |
static String |
getProperty(String prefix,
String property,
String defaultValue) |
static <T extends com.google.gson.JsonElement> |
getPropertyJson(String property,
String defaultValue,
Class<T> clazz) |
static String |
getPropertyOrException(String property,
String exceptionMessage) |
static void |
setPropertyHolder(PropertiesManager.PropertyHolder propertyHolder) |
public static void setPropertyHolder(PropertiesManager.PropertyHolder propertyHolder)
public static String getPropertyOrException(String property, String exceptionMessage)
public static int getProperty(String property, int defaultValue)
public static long getProperty(String property, long defaultValue)
public static <T extends com.google.gson.JsonElement> T getPropertyJson(String property, String defaultValue, Class<T> clazz)
public static boolean getProperty(String property, boolean defaultValue)
Copyright © 2015 Kurento. All rights reserved.