Interface RowWriter

  • All Known Implementing Classes:
    RowWriterImpl

    public interface RowWriter
    • Method Detail

      • writeRows

        void writeRows​(String[][] rows)
        Writes multiple rows with cells to the table
        Parameters:
        rows - two-dimensional string array with rows and cells within
      • writeRows

        void writeRows​(Collection<Row> rows)
        Writes multiples rows to the table
        Parameters:
        rows - collection of rows
      • writeRow

        Row writeRow​(String[] cells)
        Writes the cells of a table row as an individual row
        Parameters:
        cells - the individual cells of the row
        Returns:
        the row just written
      • writeRow

        void writeRow​(Row row)
        Writes a single row to the Writer.
        Parameters:
        row - row to write to the Writer
      • writeHeader

        Header writeHeader​(String[] headerNames)
        Creates and sets the header of the table
        Parameters:
        headerNames - the individual cells of the header row
        Returns:
        the Header, created from the header names
      • writeHeader

        void writeHeader​(Header header)
        Sets the header of the table
        Parameters:
        header - the header row
      • getRowInstructions

        RowInstructions getRowInstructions()
        The set of instructions for dealing with rows
        Returns:
        row instructions