org.apache.axis.transport.jms
Class MapUtils
java.lang.Object
org.apache.axis.transport.jms.MapUtils
public class MapUtils
extends java.lang.Object
MapUtils provides convenience methods for accessing a java.util.Map
- Jaime Meritt (jmeritt@sonicsoftware.com)
- Richard Chung (rchung@sonicsoftware.com)
- Dave Chappell (chappell@sonicsoftware.com)
static boolean | removeBooleanProperty(Map properties, String key, boolean defaultValue) - Returns a boolean property from a Map and removes it.
|
static int | removeIntProperty(Map properties, String key, int defaultValue) - Returns an int property from a Map and removes it.
|
static long | removeLongProperty(Map properties, String key, long defaultValue) - Returns a long property from a Map and removes it.
|
static Object | removeObjectProperty(Map properties, String key, Object defaultValue) - Returns an Object property from a Map and removes it.
|
static String | removeStringProperty(Map properties, String key, String defaultValue) - Returns a String property from a Map and removes it.
|
removeBooleanProperty
public static boolean removeBooleanProperty(Map properties,
String key,
boolean defaultValue)
Returns a boolean property from a Map and removes it.
properties
- key
- defaultValue
-
removeIntProperty
public static int removeIntProperty(Map properties,
String key,
int defaultValue)
Returns an int property from a Map and removes it.
properties
- key
- defaultValue
-
removeLongProperty
public static long removeLongProperty(Map properties,
String key,
long defaultValue)
Returns a long property from a Map and removes it.
properties
- key
- defaultValue
-
removeObjectProperty
public static Object removeObjectProperty(Map properties,
String key,
Object defaultValue)
Returns an Object property from a Map and removes it.
properties
- key
- defaultValue
-
removeStringProperty
public static String removeStringProperty(Map properties,
String key,
String defaultValue)
Returns a String property from a Map and removes it.
properties
- key
- defaultValue
-
Copyright B) 2005 Apache Web Services Project. All Rights Reserved.