| Modifier and Type | Field and Description |
|---|---|
BoolList |
align
Alignment (false: left, true: right alignment).
|
java.util.ArrayList<TokenList> |
contents
Table contents.
|
java.lang.String |
description
Data description; if available, will be added as footer.
|
TokenList |
header
Table header.
|
| Constructor and Description |
|---|
Table()
Default constructor.
|
Table(java.lang.String in)
Constructor with table input.
|
| Modifier and Type | Method and Description |
|---|---|
int |
cols()
Returns the number of columns.
|
byte[] |
finish()
Returns a textual representation of the table.
|
int |
rows()
Returns the number of rows.
|
void |
sort()
Sorts the table by the first column.
|
java.lang.String |
toString() |
void |
toTop(byte[] top)
Moves the specified string to top.
|
java.lang.String |
value(int r,
int c)
Returns the value for the specified table position.
|
public final TokenList header
public final BoolList align
public final java.util.ArrayList<TokenList> contents
public java.lang.String description
public Table()
public Table(java.lang.String in)
in - textual table inputpublic void sort()
public java.lang.String value(int r,
int c)
r - rowc - columnpublic int rows()
public int cols()
public void toTop(byte[] top)
top - entry to be moved to the toppublic byte[] finish()
public java.lang.String toString()
toString in class java.lang.Object