public class TableData
extends java.lang.Object
Each data is composed of
| Modifier and Type | Field and Description |
|---|---|
java.lang.String[] |
header
The titles of each col.
|
java.lang.String |
tableTile
The title of the table
|
| Constructor and Description |
|---|
TableData(java.lang.String title,
java.lang.String[] hdrTitles)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addRowData(java.lang.String[] data)
Add the vale of each column of a row.
|
java.lang.String[] |
getRow(int r)
Return the strings of the passed row index
|
int |
getRowsNumber() |
public final java.lang.String tableTile
public final java.lang.String[] header
public TableData(java.lang.String title,
java.lang.String[] hdrTitles)
title - The title of the tablehdrTitles - The header title of each column of the tablepublic void addRowData(java.lang.String[] data)
The length of the array must be the same of the header title.
data - The value of the columns of the rowpublic int getRowsNumber()
public java.lang.String[] getRow(int r)
r - The number of the row (zero based)