|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cxf.common.util.PropertyUtils
public final class PropertyUtils
Holder of generic property related methods
Method Summary | |
---|---|
static Integer |
getInteger(Message message,
String key)
|
static Long |
getLong(Message message,
String key)
|
static boolean |
isFalse(Map<String,Object> props,
String key)
It might seem odd to return 'true' if a property == FALSE, but it is required sometimes. |
static boolean |
isFalse(Object property)
It might seem odd to return 'true' if a property == FALSE, but it is required sometimes. |
static boolean |
isTrue(Map<String,Object> props,
String key)
|
static boolean |
isTrue(Object property)
Returns true if a value is either the String "true" (regardless of case) or Boolean.TRUE. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean isTrue(Map<String,Object> props, String key)
public static boolean isFalse(Map<String,Object> props, String key)
props
- key
-
public static boolean isTrue(Object property)
property
-
public static boolean isFalse(Object property)
property
-
public static Long getLong(Message message, String key)
public static Integer getInteger(Message message, String key)
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |