Class RowWriterImpl

    • Constructor Detail

      • RowWriterImpl

        public RowWriterImpl​(Writer writer)
    • Method Detail

      • writeRows

        public void writeRows​(String[][] rows)
        Description copied from interface: RowWriter
        Writes multiple rows with cells to the table
        Specified by:
        writeRows in interface RowWriter
        Parameters:
        rows - two-dimensional string array with rows and cells within
      • writeRows

        public void writeRows​(Collection<Row> rows)
        Description copied from interface: RowWriter
        Writes multiples rows to the table
        Specified by:
        writeRows in interface RowWriter
        Parameters:
        rows - collection of rows
      • writeRow

        public Row writeRow​(String[] cells)
        Description copied from interface: RowWriter
        Writes the cells of a table row as an individual row
        Specified by:
        writeRow in interface RowWriter
        Parameters:
        cells - the individual cells of the row
        Returns:
        the row just written
      • writeRow

        public void writeRow​(Row row)
        Description copied from interface: RowWriter
        Writes a single row to the Writer.
        Specified by:
        writeRow in interface RowWriter
        Parameters:
        row - row to write to the Writer
      • writeHeader

        public Header writeHeader​(String[] headerNames)
        Description copied from interface: RowWriter
        Creates and sets the header of the table
        Specified by:
        writeHeader in interface RowWriter
        Parameters:
        headerNames - the individual cells of the header row
        Returns:
        the Header, created from the header names
      • writeHeader

        public void writeHeader​(Header header)
        Description copied from interface: RowWriter
        Sets the header of the table
        Specified by:
        writeHeader in interface RowWriter
        Parameters:
        header - the header row