public class TreeWriter extends Object
|Constructor and Description|
|Modifier and Type||Method and Description|
Write a textual representation of the given node.
public TreeWriter(PrintStream stream, boolean showPath)
TreeWriterwhich writes to a given stream, optionally recording the full path of each node.
PrintStreamto which the tree will be written.
showPath- whether the path of each node is to be appended to the output
TreeWriterwhich writes to standard output, without paths.
Copyright © 2002-2021 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.