public class SimpleTable extends Object
| Constructor and Description |
|---|
SimpleTable(int columnsTotal,
int terminalWidth) |
SimpleTable(String[] header,
int terminalWidth) |
| Modifier and Type | Method and Description |
|---|---|
void |
addLine(String... line) |
StringBuilder |
append(StringBuilder buf,
boolean order) |
int |
columnsTotal() |
boolean |
isEmpty() |
int |
size() |
String |
toString() |
String |
toString(boolean order) |
public SimpleTable(String[] header, int terminalWidth)
public SimpleTable(int columnsTotal,
int terminalWidth)
public int columnsTotal()
public void addLine(String... line)
public int size()
public boolean isEmpty()
public String toString(boolean order)
public StringBuilder append(StringBuilder buf, boolean order)
Copyright © 2018 JBoss by Red Hat. All rights reserved.