| java.lang.Object org.continuent.sequoia.console.text.formatter.TableFormatter
TableFormatter | public class TableFormatter (Code) | | Utility class to format a table which can be pretty displayed in the text console.
author: Jeff Mesnil |
format | public static String format(String[] headers, String[][] cells, boolean headersAsRow)(Code) | | Format as a table.
Parameters: headers - the headers of the table Parameters: cells - the cells of the table Parameters: headersAsRow - true if the headers must be displayed on the same row,false if the headers must be displayed on the same column a String representing a pretty formatted table |
|
|