Class CsvTable

java.lang.Object
org.cloudsimplus.builders.tables.AbstractTable
org.cloudsimplus.builders.tables.CsvTable
All Implemented Interfaces:
Table
Direct Known Subclasses:
TextTable

public class CsvTable
extends AbstractTable
Prints a table from a given data set, using a Comma Separated Text (CSV) format.
Since:
CloudSim Plus 1.0
Author:
Manoel Campos da Silva Filho
  • Constructor Details

    • CsvTable

      public CsvTable()
    • CsvTable

      public CsvTable​(String title)
  • Method Details

    • printTitle

      public void printTitle()
      CSV files doesn't have a title.
      Specified by:
      printTitle in class AbstractTable
    • printTableOpening

      public void printTableOpening()
      CSV files doesn't have a table opening line.
      Specified by:
      printTableOpening in class AbstractTable
    • printTableClosing

      public void printTableClosing()
      CSV files doesn't have a table closing line.
      Specified by:
      printTableClosing in class AbstractTable
    • printRowOpening

      protected void printRowOpening()
      CSV files doesn't have a row opening line.
      Specified by:
      printRowOpening in class AbstractTable
    • printRowClosing

      protected void printRowClosing()
      Description copied from class: AbstractTable
      Prints the string to close a row.
      Specified by:
      printRowClosing in class AbstractTable
    • getLineSeparator

      public String getLineSeparator()
    • 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.
      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