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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCretes a column with a given title, subtitle and format.voidThere is no need for a table closing in Markdown.voidCSV files don't have a table opening line.voidCSV files don't have a title.protected StringCSV files don't have a row opening line.protected StringReturns the string that has to precede the subtitle head.Methods inherited from class org.cloudsimplus.builders.tables.CsvTable
createHorizontalLine, getCentralizedString, getLengthOfColumnHeadersRow, rowClosing, stringRepeatMethods inherited from class org.cloudsimplus.builders.tables.AbstractTable
addColumn, addColumn, addColumnList, colCount, getRows, newColumn, newColumn, newRow, print, printColumnHeaders, setColumnSeparator, setTitleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.cloudsimplus.builders.tables.Table
getColumns, getColumnSeparator, getTitle
-
Constructor Details
-
MarkdownTable
public MarkdownTable() -
MarkdownTable
-
-
Method Details
-
rowOpening
Description copied from class:CsvTableCSV files don't have a row opening line.- Overrides:
rowOpeningin classCsvTable- Returns:
-
printTitle
public void printTitle()Description copied from class:CsvTableCSV files don't have a title.- Overrides:
printTitlein classCsvTable
-
printTableOpening
public void printTableOpening()Description copied from class:CsvTableCSV files don't have a table opening line.- Overrides:
printTableOpeningin classCsvTable
-
subtitleHeaderOpening
Description copied from class:AbstractTableReturns the string that has to precede the subtitle head.- Overrides:
subtitleHeaderOpeningin classCsvTable- Returns:
- the string that has to precede the subtitle head
-
printTableClosing
public void printTableClosing()There is no need for a table closing in Markdown.- Overrides:
printTableClosingin classCsvTable
-
getLineSeparator
- Overrides:
getLineSeparatorin classCsvTable
-
newColumn
Description copied from interface:TableCretes a column with a given title, subtitle and format. The created column is not added to the table.
-