Package com.hannonhill.cascade.velocity
Class PropertyTool
- java.lang.Object
-
- com.hannonhill.cascade.velocity.PropertyTool
-
public class PropertyTool extends java.lang.Object
Tool used to identify what properties an object has and types of objects
-
-
Constructor Summary
Constructors Constructor Description PropertyTool()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isArray(java.lang.Object object)
boolean
isEmpty(java.lang.Object object)
boolean
isIterable(java.lang.Object object)
boolean
isList(java.lang.Object object)
boolean
isMap(java.lang.Object object)
boolean
isNull(java.lang.Object object)
boolean
isSet(java.lang.Object object)
boolean
isString(java.lang.Object object)
java.lang.String
outputFirstNotEmpty(java.lang.Object... properties)
java.lang.String
outputProperties(java.lang.Object object)
-
-
-
Method Detail
-
outputFirstNotEmpty
public java.lang.String outputFirstNotEmpty(java.lang.Object... properties)
-
outputProperties
public java.lang.String outputProperties(java.lang.Object object)
-
isNull
public boolean isNull(java.lang.Object object)
-
isEmpty
public boolean isEmpty(java.lang.Object object)
-
isString
public boolean isString(java.lang.Object object)
-
isIterable
public boolean isIterable(java.lang.Object object)
-
isList
public boolean isList(java.lang.Object object)
-
isMap
public boolean isMap(java.lang.Object object)
-
isArray
public boolean isArray(java.lang.Object object)
-
isSet
public boolean isSet(java.lang.Object object)
-
-