public final class CsvContainer
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
getHeader()
Returns the header row - might be
null if no header exists. |
CsvRow |
getRow(int index)
Returns a CsvRow by its index (starting with 0).
|
int |
getRowCount()
Returns the number of rows in this container.
|
java.util.List<CsvRow> |
getRows()
Returns an unmodifiable list of rows.
|
public int getRowCount()
public java.util.List<java.lang.String> getHeader()
null if no header exists.
The returned list is unmodifiable.null if no header existspublic CsvRow getRow(int index)
index - index of the row to returnjava.lang.IndexOutOfBoundsException - if index is out of rangepublic java.util.List<CsvRow> getRows()