org.appng.cli.prettytable

## Class PrettyTable

- java.lang.Object
- - org.appng.cli.prettytable.PrettyTable

-     public class PrettyTable
      extends Object

  Provides the ability to print some pretty formatted tables to the console.
  Author:
    Matthias Herlitzius

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PrettyTable()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addColumn(String name)`
    `void` | `addColumn(String name, boolean isVerbose)`
    `void` | `addRow(Object... values)`
    `int` | `getColumnIndex(String id)`
    `List<TableRow>` | `getRows()`
    `String` | `render(boolean tabbedValues, boolean beVerbose)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### PrettyTable

          public PrettyTable()

  - ### Method Detail

    - #### addColumn

          public void addColumn(String name)

    - #### addColumn

          public void addColumn(String name,
                                boolean isVerbose)

    - #### addRow

          public void addRow(Object... values)
                      throws BusinessException

      Throws:
        `BusinessException`

    - #### render

          public String render(boolean tabbedValues,
                               boolean beVerbose)

    - #### getRows

          public List<TableRow> getRows()

    - #### getColumnIndex

          public int getColumnIndex(String id)

Copyright © 2011–2023 aiticon GmbH. All rights reserved.