public class TableUtils extends Object
| Constructor and Description |
|---|
TableUtils() |
| Modifier and Type | Method and Description |
|---|---|
static org.springframework.shell.table.TableBuilder |
applyStyle(org.springframework.shell.table.TableBuilder builder)
Customize the given TableBuilder with the following common features (these choices can
always be overridden by applying later customizations) :
double border around the whole table and first row
vertical space (air) borders, single line separators between rows
first row is assumed to be a header and is centered horizontally and
vertically
cells containing Map values are rendered as key = value lines, trying to
align on equal signs
|
static org.springframework.shell.table.TableBuilder |
applyStyleNoHeader(org.springframework.shell.table.TableBuilder builder)
Customize the given TableBuilder with almost same way than
applyStyle(TableBuilder) but do not use any header styling. |
public static org.springframework.shell.table.TableBuilder applyStyle(org.springframework.shell.table.TableBuilder builder)
builder - the table builder to usepublic static org.springframework.shell.table.TableBuilder applyStyleNoHeader(org.springframework.shell.table.TableBuilder builder)
applyStyle(TableBuilder) but do not use any header styling.builder - the table builder to useCopyright © 2018 Pivotal Software, Inc.. All rights reserved.