Class CSVFile
- java.lang.Object
-
- org.gcube.application.geoportalcommon.config.CSVFile
-
- All Implemented Interfaces:
Serializable
public class CSVFile extends Object implements Serializable
The Class CSVFile.- Author:
- Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapa@isti.cnr.it) Jan 29, 2019
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddValueRow(CSVRow row)Adds the value row.StringgetFileName()Gets the file name.CSVRowgetHeaderRow()Gets the header row.List<CSVRow>getValueRows()Gets the value rows.voidsetFileName(String fileName)Sets the file name.voidsetHeaderRow(CSVRow headerRow)Sets the header row.voidsetValueRows(List<CSVRow> valueRows)Sets the value rows.StringtoString()To string.
-
-
-
Method Detail
-
getHeaderRow
public CSVRow getHeaderRow()
Gets the header row.- Returns:
- the headerRow
-
addValueRow
public void addValueRow(CSVRow row)
Adds the value row.- Parameters:
row- the row
-
setValueRows
public void setValueRows(List<CSVRow> valueRows)
Sets the value rows.- Parameters:
valueRows- the new value rows
-
setHeaderRow
public void setHeaderRow(CSVRow headerRow)
Sets the header row.- Parameters:
headerRow- the headerRow to set
-
getFileName
public String getFileName()
Gets the file name.- Returns:
- the fileName
-
setFileName
public void setFileName(String fileName)
Sets the file name.- Parameters:
fileName- the fileName to set
-
-