ch.bind.philib.lang
Class TableFormatter
java.lang.Object
ch.bind.philib.lang.TableFormatter
public class TableFormatter
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TableFormatter
public TableFormatter()
formatTable
public static String formatTable(Object[][] table)
- Pretty-prints a table.
- Parameters:
table - The table which must be printed in a friendly way. The first row is considered the 'title' row.
- Returns:
- The result of the table pretty-printing.
Copyright © 2013. All Rights Reserved.