public class CSVSheetParser extends Object implements SheetParser
| Constructor and Description |
|---|
CSVSheetParser(org.apache.commons.csv.CSVParser parser) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
long |
getCurrentRecordNumber()
Returns the current row number when iterating the sheet.
|
Map<String,Integer> |
getHeaderMap()
Returns a map containing header names as keys and their column index as value.
|
Iterator<SheetRow> |
iterator() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic Map<String,Integer> getHeaderMap()
SheetParserSheetRow.get(int)getHeaderMap in interface SheetParserpublic long getCurrentRecordNumber()
SheetParsergetCurrentRecordNumber in interface SheetParserpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2007–2017. All rights reserved.