Modifier and Type | Field and Description |
---|---|
private String[] |
names
The names of the columns of data
|
private String |
title
The title of the dataheader
|
Constructor and Description |
---|
CSVDataHeader(String title,
String[] names)
Creates a new DataHeader based on the given title and initial column rows
|
Modifier and Type | Method and Description |
---|---|
Vector |
getData()
Returns the 2D vector containing the data of the CSVDataHeader
|
String[] |
getNames()
Returns an array of the column names
|
String |
getTitle()
Returns the title of the CSVDataHeader
|
appendColumn, appendRow, appendToColumn, appendToRow, arrayToVector, autosize, getColumn, getItemAt, getItems, getRow, getTableHeight, getTableWidth, removeItemAt, setItemAt, vectorToArray
private String[] names
private String title
public CSVDataHeader(String title, String[] names)
title
- the title of the new CSVDataHeadernames
- the names of the columns of the new CSVDataHeaderpublic Vector getData()
Vector2D.getItems()
public String getTitle()
public String[] getNames()