public class CSVFile extends Object implements Serializable
| Constructor and Description |
|---|
CSVFile()
Instantiates a new CSV file.
|
CSVFile(String fileName,
CSVRow headerRow,
List<CSVRow> valueRows)
Instantiates a new csv file.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addValueRow(CSVRow row)
Adds the value row.
|
String |
getFileName()
Gets the file name.
|
CSVRow |
getHeaderRow()
Gets the header row.
|
List<CSVRow> |
getValueRows()
Gets the value rows.
|
void |
setFileName(String fileName)
Sets the file name.
|
void |
setHeaderRow(CSVRow headerRow)
Sets the header row.
|
void |
setValueRows(List<CSVRow> valueRows)
Sets the value rows.
|
String |
toString()
To string.
|
public CSVRow getHeaderRow()
public void addValueRow(CSVRow row)
row - the rowpublic void setValueRows(List<CSVRow> valueRows)
valueRows - the new value rowspublic void setHeaderRow(CSVRow headerRow)
headerRow - the headerRow to setpublic String getFileName()
public void setFileName(String fileName)
fileName - the fileName to setCopyright © 2022. All Rights Reserved.