Class POJOUtil

java.lang.Object
com.targomo.client.api.util.POJOUtil

public class POJOUtil extends Object
  • Constructor Details

    • POJOUtil

      public POJOUtil()
  • Method Details

    • prettyPrintPOJO

      public static String prettyPrintPOJO(Object plainOldJavaObject)
      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