public abstract class RowFormatter
extends java.lang.Object
Table
Constructor and Description |
---|
RowFormatter() |
Modifier and Type | Method and Description |
---|---|
abstract java.util.List<java.lang.String> |
formatRow(java.lang.Object object)
Generates a single row of the data table for the given object.
|
abstract java.util.List<java.lang.String> |
header()
Generates the header row of the data table
|
java.util.List<java.util.List<java.lang.String>> |
postProcess(java.util.List<java.util.List<java.lang.String>> table)
Allows for post processing the resulting data table.
|
public abstract java.util.List<java.lang.String> header()
public abstract java.util.List<java.lang.String> formatRow(java.lang.Object object)
public java.util.List<java.util.List<java.lang.String>> postProcess(java.util.List<java.util.List<java.lang.String>> table)
table
- the table that has been generated by calls to the header()
and the formatRow(Object)
methods