Package org.opennms.features.geocoder
Class ConfigurationUtils
- java.lang.Object
-
- org.opennms.features.geocoder.ConfigurationUtils
-
public abstract class ConfigurationUtils extends java.lang.Object
Helper class to deal with String values.- Author:
- mvrueden
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PROVIDE_A_VALUE_TEXT
static java.lang.String
URL_NOT_VALID_TEMPLATE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.Boolean
getBoolean(java.util.Map<java.lang.String,java.lang.Object> properties, java.lang.String key, java.lang.Boolean defaultValue)
static java.lang.Integer
getInteger(java.util.Map<java.lang.String,java.lang.Object> properties, java.lang.String key, java.lang.Integer defaultValue)
static <T> T
getValue(java.util.Map<java.lang.String,java.lang.Object> properties, java.lang.String key, T defaultValue)
-
-
-
Field Detail
-
PROVIDE_A_VALUE_TEXT
public static final java.lang.String PROVIDE_A_VALUE_TEXT
- See Also:
- Constant Field Values
-
URL_NOT_VALID_TEMPLATE
public static final java.lang.String URL_NOT_VALID_TEMPLATE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getValue
public static <T> T getValue(java.util.Map<java.lang.String,java.lang.Object> properties, java.lang.String key, T defaultValue)
-
getBoolean
public static java.lang.Boolean getBoolean(java.util.Map<java.lang.String,java.lang.Object> properties, java.lang.String key, java.lang.Boolean defaultValue)
-
getInteger
public static java.lang.Integer getInteger(java.util.Map<java.lang.String,java.lang.Object> properties, java.lang.String key, java.lang.Integer defaultValue)
-
-