CsvTable

public class CsvTable extends AbstractTable

Prints a table from a given data set, using a Comma Separated Text (CSV) format.

Author:Manoel Campos da Silva Filho

Constructors

CsvTable

public CsvTable()

CsvTable

public CsvTable(String title)

Methods

addColumn

public TableColumn addColumn(int index, String columnTitle)

getLineSeparator

public String getLineSeparator()

printRowClosing

protected void printRowClosing()

printRowOpening

protected void printRowOpening()

CSV files doesn’t have a row opening line.

printTableClosing

public void printTableClosing()

CSV files doesn’t have a table closing line.

printTableOpening

public void printTableOpening()

CSV files doesn’t have a table opening line.

printTitle

public void printTitle()

CSV files doesn’t have a title.