Class MarkdownTable

All Implemented Interfaces:
Table

public class MarkdownTable extends CsvTable
Prints a Markdown table from a given data set.
Since:
CloudSim Plus 6.4.3
Author:
Manoel Campos da Silva Filho
  • Constructor Details

    • MarkdownTable

      public MarkdownTable()
    • MarkdownTable

      public MarkdownTable(String title)
      Creates a Table
      Parameters:
      title - Title of the table
  • Method Details

    • rowOpening

      protected String rowOpening()
      Description copied from class: CsvTable
      CSV files doesn't have a row opening line.
      Overrides:
      rowOpening in class CsvTable
      Returns:
    • printTitle

      public void printTitle()
      Description copied from class: CsvTable
      CSV files doesn't have a title.
      Overrides:
      printTitle in class CsvTable
    • printTableOpening

      public void printTableOpening()
      Description copied from class: CsvTable
      CSV files doesn't have a table opening line.
      Overrides:
      printTableOpening in class CsvTable
    • subtitleHeaderOpening

      protected String subtitleHeaderOpening()
      Description copied from class: AbstractTable
      Gets the string that has to precede subtitles head.
      Overrides:
      subtitleHeaderOpening in class CsvTable
      Returns:
    • printTableClosing

      public void printTableClosing()
      Description copied from class: CsvTable
      CSV files doesn't have a table closing line.
      Overrides:
      printTableClosing in class CsvTable
    • getLineSeparator

      public String getLineSeparator()
      Overrides:
      getLineSeparator in class CsvTable
    • 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.
      Specified by:
      addColumn in interface Table
      Overrides:
      addColumn in class CsvTable
      Parameters:
      index - the position to insert the column into the column's list
      columnTitle - The title of the column to be added.
      Returns:
      the created column