Package com.jprofiler.api.platform.util
Class TreePrinter
java.lang.Object
com.jprofiler.api.platform.util.TreePrinter
Helper class to get a string respresentation for a
Tree
structure. This is useful for
debugging purposes.-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getIndentedTree
(Connection connection, Tree tree) Returns an indented tree displaying profiling information and payloads.
-
Method Details
-
getIndentedTree
Returns an indented tree displaying profiling information and payloads.- Parameters:
connection
- the connection from which the tree was requestedtree
- the tree- Returns:
- the tree as a string
-