public final class CsvData
extends java.lang.Object
| 限定符和类型 | 方法和说明 |
|---|---|
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 CsvData(java.util.List<java.lang.String> header,
java.util.List<CsvRow> 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()
Copyright © 2018. All rights reserved.