Package org.cloudsimplus.builders.tables
Class TextTable
- java.lang.Object
-
- org.cloudsimplus.builders.tables.AbstractTable
-
- org.cloudsimplus.builders.tables.CsvTable
-
- org.cloudsimplus.builders.tables.TextTable
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TableColumn
addColumn(int index, String columnTitle)
Adds a column with a given title to the end of the table's columns to be printed.String
getLineSeparator()
protected void
printColumnHeaders()
void
printTableClosing()
CSV files doesn't have a table closing line.void
printTableOpening()
CSV files doesn't have a table opening line.void
printTitle()
CSV files doesn't have a title.-
Methods inherited from class org.cloudsimplus.builders.tables.CsvTable
printRowClosing, printRowOpening
-
Methods inherited from class org.cloudsimplus.builders.tables.AbstractTable
addColumn, addColumn, addColumn, addColumn, addColumnList, getColumns, getColumnSeparator, getPrintStream, getRows, getTitle, newRow, print, setColumnSeparator, setPrintStream, setTitle
-
-
-
-
Constructor Detail
-
TextTable
public TextTable()
-
TextTable
public TextTable(String title)
Creates an Table- Parameters:
title
- Title of the table
-
-
Method Detail
-
printTitle
public void printTitle()
Description copied from class:CsvTable
CSV files doesn't have a title.- Overrides:
printTitle
in classCsvTable
-
printTableOpening
public void printTableOpening()
Description copied from class:CsvTable
CSV files doesn't have a table opening line.- Overrides:
printTableOpening
in classCsvTable
-
printColumnHeaders
protected void printColumnHeaders()
- Overrides:
printColumnHeaders
in classAbstractTable
-
printTableClosing
public void printTableClosing()
Description copied from class:CsvTable
CSV files doesn't have a table closing line.- Overrides:
printTableClosing
in classCsvTable
-
getLineSeparator
public String getLineSeparator()
- Overrides:
getLineSeparator
in classCsvTable
-
addColumn
public TableColumn addColumn(int index, String columnTitle)
Description copied from interface:Table
Adds a column with a given title to the end of the table's columns to be printed.
-
-