Module openj9.dtfj

Class Table


  • public class Table
    extends Object
    Utility class for printing text-based tables.
    • Constructor Detail

      • Table

        public Table​(String title)
        Add a header to the table.
        Parameters:
        title -
    • Method Detail

      • row

        public Table row​(String... row)
        Add a new row to the table.
        Parameters:
        row -
      • render

        public void render​(PrintStream out)
        Print the table on the supplied output device.
        Parameters:
        out -
      • main

        public static void main​(String[] args)