- All Known Implementing Classes:
RowWriterImpl
public interface RowWriter
The Interface RowWriter.
-
Method Summary
Modifier and TypeMethodDescriptionThe set of instructions for dealing with rows.writeHeader
(String[] headerNames) Creates and sets the header of the table.void
writeHeader
(Header header) Sets the header of the table.Writes the cells of a table row as an individual row.void
Writes a single row to the Writer.void
Writes multiple rows with cells to the table.void
writeRows
(Collection<Row> rows) Writes multiples rows to the table.
-
Method Details
-
writeRows
Writes multiple rows with cells to the table.- Parameters:
rows
- two-dimensional string array with rows and cells within
-
writeRows
Writes multiples rows to the table.- Parameters:
rows
- collection of rows
-
writeRow
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
Writes a single row to the Writer.- Parameters:
row
- row to write to the Writer
-
writeHeader
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
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
-