nenok.lc.out
Class AsciiTree

java.lang.Object
  extended by nenok.lc.out.AsciiTree

public class AsciiTree
extends Object

Jointree representation in ASCII.

Version:
$LastChangedRevision: 557 $
$LastChangedDate: 2008-03-26 14:23:32 +0100 (Mi, 26 Mrz 2008) $
Author:
Heiner Koecker (adapted by Cesar Schneuwly & Marc Pouly)

Constructor Summary
AsciiTree()
           
 
Method Summary
static String joinTreeToString(Node root, boolean content)
          Converts a jointree object to an ASCII string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsciiTree

public AsciiTree()
Method Detail

joinTreeToString

public static String joinTreeToString(Node root,
                                      boolean content)
Converts a jointree object to an ASCII string.

Parameters:
root - The root of the join tree to be drawn.
content - true, if the node content shall be drawn.
Returns:
The join tree formatted as ASCII string.