Overview | Package | Class | Tree | Deprecated | Index | Help
| JProfiler API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.jprofiler.api.platform.util
Class TreePrinter

    java.lang.Object
      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

Overview | Package | Class | Tree | Deprecated | Index | Help
| JProfiler API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD