Class TreePrinter

java.lang.Object
com.jprofiler.api.platform.util.TreePrinter

public abstract class TreePrinter extends Object
Helper class to get a string respresentation for a Tree structure. This is useful for debugging purposes.
  • Method Details

    • getIndentedTree

      public static String getIndentedTree(Connection connection, Tree tree)
      Returns an indented tree displaying profiling information and payloads.
      Parameters:
      connection - the connection from which the tree was requested
      tree - the tree
      Returns:
      the tree as a string