| Modifier and Type | Field and Description |
|---|---|
static TreeStyle |
ASCII
A tree style made purely of ASCII characters, for maximum portability.
|
static TreeStyle |
ASCII_ROUNDED
Same as the
ASCII tree style, but with nice rounded-off corners. |
static TreeStyle |
UNICODE
A tree style made of Unicode line drawing characters, just like what the Windows
tree command
produces. |
static TreeStyle |
UNICODE_ROUNDED
Same as the
UNICODE tree style, but with nice rounded-off corners. |
public static final TreeStyle ASCII
sample tree +--- node (annotation) | +--- another node | \--- node <CYCLE> \--- last node
public static final TreeStyle ASCII_ROUNDED
ASCII tree style, but with nice rounded-off corners.
sample tree +--- node (annotation) | +--- another node | `--- node <CYCLE> `--- last node
public static final TreeStyle UNICODE
tree command
produces. To have an identical output to the Windows tree command, set the
padding to zero in the tree options.
sample tree ├─── node (annotation) │ ├─── another node │ └─── node ‹CYCLE› └─── last node
public static final TreeStyle UNICODE_ROUNDED
UNICODE tree style, but with nice rounded-off corners.
sample tree ├─── node (annotation) │ ├─── another node │ ╰─── node ‹CYCLE› ╰─── last node