Package org.cloudsimplus.builders.tables
Class MarkdownTable
java.lang.Object
org.cloudsimplus.builders.tables.AbstractTable
org.cloudsimplus.builders.tables.CsvTable
org.cloudsimplus.builders.tables.MarkdownTable
- All Implemented Interfaces:
Table
Prints a Markdown table from a given data set.
- Since:
- CloudSim Plus 6.4.3
- Author:
- Manoel Campos da Silva Filho
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds a column with a given title to the end of the table's columns to be printed.void
CSV files doesn't have a table closing line.void
CSV files doesn't have a table opening line.void
CSV files doesn't have a title.protected String
CSV files doesn't have a row opening line.protected String
Gets the string that has to precede subtitles head.Methods inherited from class org.cloudsimplus.builders.tables.CsvTable
createHorizontalLine, getCentralizedString, getLengthOfColumnHeadersRow, rowClosing, stringRepeat
Methods inherited from class org.cloudsimplus.builders.tables.AbstractTable
addColumn, addColumn, addColumn, addColumn, addColumnList, getColumns, getColumnSeparator, getPrintStream, getRows, getTitle, newRow, print, printColumnHeaders, setColumnSeparator, setPrintStream, setTitle
-
Constructor Details
-
MarkdownTable
public MarkdownTable() -
MarkdownTable
Creates a Table- Parameters:
title
- Title of the table
-
-
Method Details
-
rowOpening
Description copied from class:CsvTable
CSV files doesn't have a row opening line.- Overrides:
rowOpening
in classCsvTable
- Returns:
-
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
-
subtitleHeaderOpening
Description copied from class:AbstractTable
Gets the string that has to precede subtitles head.- Overrides:
subtitleHeaderOpening
in classCsvTable
- Returns:
-
printTableClosing
public void printTableClosing()Description copied from class:CsvTable
CSV files doesn't have a table closing line.- Overrides:
printTableClosing
in classCsvTable
-
getLineSeparator
- Overrides:
getLineSeparator
in classCsvTable
-
addColumn
Description copied from interface:Table
Adds a column with a given title to the end of the table's columns to be printed.
-