Class ListingTreePrinter

  • All Implemented Interfaces:
    TreePrinter

    public class ListingTreePrinter
    extends java.lang.Object
    implements TreePrinter
    TreePrinter implementation that draws nested lists with lines.

    Example output with the default settings:

     Root
      ├─Child1
      ├─Child2
      │  ├─Grandchild1
      │  └─Grandchild2
      └─Child3
         └─Grandchild3