public final class SimpleTableFormatter extends AbstractTableFormatter implements TableFormatter
AbstractTableFormatter.CellDataALIGN_CENTER, ALIGN_DEFAULT, ALIGN_LEFT, ALIGN_RIGHT, VALIGN_BOTTOM, VALIGN_CENTER, VALIGN_DEFAULT, VALIGN_TOP| Constructor and Description |
|---|
SimpleTableFormatter()
Constructor
|
SimpleTableFormatter(boolean border)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getFormattedRow(int rowIndex) |
java.lang.String[] |
getFormattedTable() |
int |
getTableHeight() |
int |
getTableWidth() |
addLine, addLine, getColumnCount, getColumnWidth, getFormattedCell, getRowCount, getRowHeight, nextCell, nextCell, nextRowclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddLine, addLine, getColumnCount, getColumnWidth, getFormattedCell, getRowCount, getRowHeight, nextCell, nextCell, nextRowpublic SimpleTableFormatter()
public SimpleTableFormatter(boolean border)
border - Print rows/tables with borderspublic int getTableWidth()
getTableWidth in interface TableFormattergetTableWidth in class AbstractTableFormatterpublic int getTableHeight()
getTableHeight in interface TableFormattergetTableHeight in class AbstractTableFormatterpublic java.lang.String[] getFormattedRow(int rowIndex)
getFormattedRow in interface TableFormatterpublic java.lang.String[] getFormattedTable()
getFormattedTable in interface TableFormatter