- java.lang.Object
-
- com.ibm.j9ddr.tools.ddrinteractive.Table
-
public class Table extends Object
Utility class for printing text-based tables.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
main(String[] args)
void
render(PrintStream out)
Print the table on the supplied output device.Table
row(String... row)
Add a new row to the table.
-
-
-
Constructor Detail
-
Table
public Table(String title)
Add a header to the table.- Parameters:
title
-
-
-
Method Detail
-
render
public void render(PrintStream out)
Print the table on the supplied output device.- Parameters:
out
-
-
main
public static void main(String[] args)
-
-