Package de.xima.fc.parser
Class CSVParserWrapper
- java.lang.Object
 - 
- de.xima.fc.parser.CSVParserWrapper
 
 
- 
- All Implemented Interfaces:
 Closeable,AutoCloseable,Iterable<CSVRecordWrapper>
public class CSVParserWrapper extends Object implements Iterable<CSVRecordWrapper>, Closeable
Wrapper class for CSV parser- Author:
 - XIMA MEDIA GmbH
 
 
- 
- 
Constructor Summary
Constructors Constructor Description CSVParserWrapper(Reader reader, CSVFormatWrapper format) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()List<CSVRecordWrapper>getRecords()org.apache.commons.csv.CSVParsergetWrappedParser()Iterator<CSVRecordWrapper>iterator()- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface java.lang.Iterable
forEach, spliterator 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
CSVParserWrapper
public CSVParserWrapper(Reader reader, CSVFormatWrapper format) throws IOException
- Throws:
 IOException
 
 - 
 
- 
Method Detail
- 
getRecords
public List<CSVRecordWrapper> getRecords()
 
- 
getWrappedParser
public org.apache.commons.csv.CSVParser getWrappedParser()
 
- 
close
public void close() throws IOException- Specified by:
 closein interfaceAutoCloseable- Specified by:
 closein interfaceCloseable- Throws:
 IOException
 
- 
iterator
public Iterator<CSVRecordWrapper> iterator()
- Specified by:
 iteratorin interfaceIterable<CSVRecordWrapper>
 
 - 
 
 -