JProfiler API

com.jprofiler.api.platform.util
Class TreePrinter

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

public abstract class TreePrinter
extends java.lang.Object

Helper class to get a string respresentation for a Tree structure. This is useful for debugging purposes.


Method Summary
static java.lang.String getIndentedTree(Connection connection, Tree tree)
          Returns an indented tree displaying profiling information and payloads.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getIndentedTree

public static java.lang.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

JProfiler API