Package migratedb.v1.core.internal.util
Class AsciiTable
java.lang.Object
migratedb.v1.core.internal.util.AsciiTable
Prints a tabular data structure as ASCII text.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AsciiTable
public AsciiTable(List<String> columns, List<List<String>> rows, boolean printHeader, String nullText, String emptyText) Creates a new Ascii table.- Parameters:
columns- The column titles.rows- The data rowsprintHeader- Whether to print the header row or not.nullText- The text to use for anullvalue.emptyText- The text to include in the table if it has no rows.
-
-
Method Details
-
render
-