Package org.apache.cxf.common.util
Class PropertyUtils
java.lang.Object
org.apache.cxf.common.util.PropertyUtils
Holder of generic property related methods
- 
Method SummaryModifier and TypeMethodDescriptionstatic IntegergetInteger(Message message, String key) static Longstatic booleanIt might seem odd to return 'true' if a property == FALSE, but it is required sometimes.static booleanIt might seem odd to return 'true' if a property == FALSE, but it is required sometimes.static booleanReturns true if a value is either the String "true" (regardless of case) or Boolean.TRUE.static boolean
- 
Method Details- 
isTrue
- 
isFalseIt might seem odd to return 'true' if a property == FALSE, but it is required sometimes.- Parameters:
- props-
- key-
- Returns:
- false if value is either the String "false" or Boolean.FALSE. Otherwise returns true.
 
- 
isTrueReturns true if a value is either the String "true" (regardless of case) or Boolean.TRUE.- Parameters:
- property-
- Returns:
- true if value is either the String "true" or Boolean.TRUE. Otherwise returns false.
 
- 
isFalseIt might seem odd to return 'true' if a property == FALSE, but it is required sometimes. Returns false if a value is either the String "false" (regardless of case) or Boolean.FALSE.- Parameters:
- property-
- Returns:
- false if value is either the String "false" or Boolean.FALSE. Otherwise returns true.
 
- 
getLong
- 
getInteger
 
-