public class TableOutput extends Object
| Constructor and Description |
|---|
TableOutput() |
| Modifier and Type | Method and Description |
|---|---|
static void |
formatOutput(List<List<String>> table,
int[] maxWidths,
boolean leftJustifiedRows,
Writer writer)
This method outputs the input data in a tabular format with wrapping of lines
|
static void |
formatOutput(String[][] table,
int[] maxWidths,
boolean leftJustifiedRows,
Writer writer)
This method outputs the input data in a tabular format with wrapping of lines
|
public static void formatOutput(List<List<String>> table, int[] maxWidths, boolean leftJustifiedRows, Writer writer) throws LiquibaseException
table - 2-dimensional array of datamaxWidths - Maximum widths of each column to control wrappingleftJustifiedRows - If true then add "-" to format stringwriter - Writer to use for outputLiquibaseExceptionpublic static void formatOutput(String[][] table, int[] maxWidths, boolean leftJustifiedRows, Writer writer) throws LiquibaseException
table - 2-dimensional array of datamaxWidths - Maximum widths of each column to control wrappingleftJustifiedRows - If true then add "-" to format stringwriter - Writer to use for outputLiquibaseExceptionCopyright © 2022 Liquibase.org. All rights reserved.