public final class CsvParser
extends java.lang.Object
implements java.io.Closeable
public java.util.List<java.lang.String> getHeader()
null if no header exists. The returned list is
unmodifiable. Use CsvReader.setContainsHeader(boolean) to enable header parsing.
Also note, that the header is only available after first invocation of
nextRow().java.lang.IllegalStateException - if header parsing is not enabled or nextRow() wasn't
called before.public CsvRow nextRow() throws java.io.IOException
CsvRow that might be made up of multiple lines in the underlying
CSV file.null if end of file reachedjava.io.IOException - if an error occurred while reading datapublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOException