TextTable

public class TextTable extends CsvTable

Prints a table from a given data set, using a simple delimited text format.

Author:Manoel Campos da Silva Filho

Constructors

TextTable

public TextTable()

TextTable

public TextTable(String title)

Creates an Table

Parameters:
  • title – Title of the table

Methods

addColumn

public TableColumn addColumn(int index, String columnTitle)

getLineSeparator

public String getLineSeparator()

printColumnHeaders

protected void printColumnHeaders()

printTableClosing

public void printTableClosing()

printTableOpening

public void printTableOpening()

printTitle

public void printTitle()