Constructor and Description |
---|
TableFormatter() |
Modifier and Type | Method and Description |
---|---|
String |
format(ITable table)
Formats a table with all data in a beautiful way.
|
static String |
padLeft(String s,
int length,
char padChar)
Pads the given String with the given
padChar
up to the given length . |
static String |
padRight(String s,
int length,
char padChar)
Pads the given String with the given
padChar
up to the given length . |
public String format(ITable table) throws DataSetException
table
- The table to be formatted in a beautiful wayDataSetException
public static final String padLeft(String s, int length, char padChar)
padChar
up to the given length
.s
- length
- padChar
- Copyright © 2002–2020. All rights reserved.