public void format(PrintStream out, String[] headers, String[]... rows) {
        int[] columnWidth = computeEachColumnWidth(this.defaultColumnWidth, headers, rows);

        printRow(out, columnWidth, headers);
        printTableSeperatir(out, headers, columnWidth);

        for (String[] row : rows) {
            printRow(out, columnWidth, row);
        }
    }
public void format ( PrintStream out , String [ ] headers , String [ ] ... rows ) { int [ ] columnWidth = computeEachColumnWidth ( this . defaultColumnWidth , headers , rows ) ; printRow ( out , columnWidth , headers ) ; printTableSeperatir ( out , headers , columnWidth ) ; for ( String [ ] row : rows ) { printRow ( out , columnWidth , row ) ; } }
Prints a table

@param out PrintStream to write to, not null
@param headers Array of not null values
@param rows Array of not null values, row length must always be headers length