|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.core.utils.ParameterMap
public abstract class ParameterMap
Convenience class for looking up string and integer values in a parameter map.
| Constructor Summary | |
|---|---|
ParameterMap()
|
|
| Method Summary | |
|---|---|
static boolean |
getKeyedBoolean(Map map,
String key,
boolean defValue)
This method is used to lookup a specific key in the map. |
static int |
getKeyedInteger(Map map,
String key,
int defValue)
This method is used to lookup a specific key in the map. |
static int[] |
getKeyedIntegerArray(Map map,
String key,
int[] defValues)
This method is used to lookup a specific key in the map. |
static long |
getKeyedLong(Map map,
String key,
long defValue)
This method is used to lookup a specific key in the map. |
static String |
getKeyedString(Map map,
String key,
String defValue)
This method is used to lookup a specific key in the map. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ParameterMap()
| Method Detail |
|---|
public static long getKeyedLong(Map map,
String key,
long defValue)
map - a Map object.key - a String object.defValue - a long.
public static int getKeyedInteger(Map map,
String key,
int defValue)
map - a Map object.key - a String object.defValue - a int.
public static final int[] getKeyedIntegerArray(Map map,
String key,
int[] defValues)
map - a Map object.key - a String object.defValues - an array of int.
public static String getKeyedString(Map map,
String key,
String defValue)
map - a Map object.key - a String object.defValue - a String object.
public static boolean getKeyedBoolean(Map map,
String key,
boolean defValue)
map - a Map object.key - a String object.defValue - a boolean.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||