Class TablePrinter
- java.lang.Object
-
- org.dnsge.util.tableprinter.printer.TablePrinter
-
public class TablePrinter extends java.lang.Object
Class with static methods to printTable
objects- Version:
- 2.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
printTable(java.io.PrintStream stream, Table table)
Prints aTable
to aPrintStream
static void
printTable(Table table)
Prints aTable
toSystem.out
static java.util.List<java.lang.String>
tableToStringTable(Table table)
Creates aList
of Strings of lines from aTable
-
-
-
Method Detail
-
tableToStringTable
public static java.util.List<java.lang.String> tableToStringTable(Table table)
Creates aList
of Strings of lines from aTable
-
printTable
public static void printTable(java.io.PrintStream stream, Table table)
Prints aTable
to aPrintStream
- Parameters:
stream
-PrintStream
to print totable
-Table
to print
-
-