Package com.github.hypfvieh.formatter
Klasse TableColumnFormatter
java.lang.Object
com.github.hypfvieh.formatter.TableColumnFormatter
Formats table content into lines of columns of a given character width.
After creation of the object with a suitable split function, an optional
padding character (defaults to space) and an integer array of column widths,
call
formatLine(String...) for each String array of content.-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungTableColumnFormatter(StringSplitOperator _splitOperator, char _padChar, int... _columnWidths) TableColumnFormatter(StringSplitOperator _splitOperator, int... _columnWidths) -
Methodenübersicht
-
Konstruktordetails
-
TableColumnFormatter
public TableColumnFormatter(StringSplitOperator _splitOperator, char _padChar, int... _columnWidths) -
TableColumnFormatter
-
-
Methodendetails
-
formatLine
-
fillLine
-