public class ColumnarData extends Object
| Constructor and Description |
|---|
ColumnarData(String... headers)
Creates a new grid with the given column headers.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addRow(Object... rowData)
Adds a row to the grid.
|
void |
clear()
Removes all data from the grid, but preserves the headers.
|
String |
format()
Gives a string that represents the data formatted in columns.
|
public ColumnarData(String... headers)
headers - column headerspublic void addRow(Object... rowData)
rowData - row data to addpublic String format()
public final void clear()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.