Package com.targomo.client.api.util
Class POJOUtil
java.lang.Object
com.targomo.client.api.util.POJOUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringprettyPrintPOJO(Object plainOldJavaObject) Prints all fields and their values of the specified java object.
-
Constructor Details
-
POJOUtil
public POJOUtil()
-
-
Method Details
-
prettyPrintPOJO
Prints all fields and their values of the specified java object. If the containing objects are not native but class instances, their contents will be printed as well with indents.- Parameters:
plainOldJavaObject- the java object that is to be printed to a pretty String (no array)- Returns:
- the pretty print String
-