TableBuilderpublic final class TableRenderer extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
COLUMN_1
Deprecated.
|
static int |
COLUMN_2
Deprecated.
|
static int |
COLUMN_3
Deprecated.
|
static int |
COLUMN_4
Deprecated.
|
static int |
COLUMN_5
Deprecated.
|
static int |
COLUMN_6
Deprecated.
|
static String |
HORIZONTAL_LINE
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
getHeaderBorder(Map<Integer,TableHeader> headers)
Deprecated.
Renders the Table header border, based on the map of provided headers.
|
static String |
renderMapDataAsTable(List<Map<String,Object>> data,
List<String> columns)
Deprecated.
Renders a textual representation of the list of provided Map data
|
static String |
renderParameterInfoDataAsTable(Map<String,String> parameters)
Deprecated.
Renders a textual representation of provided parameter map.
|
static String |
renderParameterInfoDataAsTable(Map<String,String> parameters,
boolean withHeader,
int lastColumnMaxWidth)
Deprecated.
|
static String |
renderTextTable(Table table)
Deprecated.
|
static String |
renderTextTable(Table table,
boolean withHeader)
Deprecated.
Renders a textual representation of the provided
Table |
public static final String HORIZONTAL_LINE
public static final int COLUMN_1
public static final int COLUMN_2
public static final int COLUMN_3
public static final int COLUMN_4
public static final int COLUMN_5
public static final int COLUMN_6
public static String renderMapDataAsTable(List<Map<String,Object>> data, List<String> columns)
columns - List of Mapspublic static String renderParameterInfoDataAsTable(Map<String,String> parameters, boolean withHeader, int lastColumnMaxWidth)
public static String renderParameterInfoDataAsTable(Map<String,String> parameters)
parameters - Map of parameters (key, value)public static String renderTextTable(Table table, boolean withHeader)
Tabletable - Table data Tablepublic static String getHeaderBorder(Map<Integer,TableHeader> headers)
headers - Map of headers containing meta information e.g. name+width of
header