public class MetaCSVReader extends Object implements Iterable<MetaCSVRecord>, Closeable
| Constructor and Description |
|---|
MetaCSVReader(org.apache.commons.csv.CSVParser parser,
CSVRecordProcessor processor,
MetaCSVMetaData metaData) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static MetaCSVReader |
create(File csvFile) |
static MetaCSVReader |
create(File csvFile,
File metaCSVFile) |
static MetaCSVReader |
create(File csvFile,
String... metaCSVdirectives) |
static MetaCSVReader |
create(InputStream in,
InputStream metaIn) |
static MetaCSVReader |
create(InputStream in,
String... metaCSVdirectives) |
MetaCSVMetaData |
getMetaData() |
long |
getRow() |
Iterator<MetaCSVRecord> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic MetaCSVReader(org.apache.commons.csv.CSVParser parser,
CSVRecordProcessor processor,
MetaCSVMetaData metaData)
public static MetaCSVReader create(File csvFile) throws IOException, MetaCSVParseException, MetaCSVReadException, MetaCSVDataException
public static MetaCSVReader create(File csvFile, File metaCSVFile) throws IOException, MetaCSVParseException, MetaCSVReadException, MetaCSVDataException
public static MetaCSVReader create(File csvFile, String... metaCSVdirectives) throws IOException, MetaCSVParseException, MetaCSVReadException, MetaCSVDataException
public static MetaCSVReader create(InputStream in, String... metaCSVdirectives) throws IOException, MetaCSVParseException, MetaCSVDataException, MetaCSVReadException
public static MetaCSVReader create(InputStream in, InputStream metaIn) throws IOException, MetaCSVParseException, MetaCSVReadException, MetaCSVDataException
public Iterator<MetaCSVRecord> iterator()
iterator in interface Iterable<MetaCSVRecord>public long getRow()
public MetaCSVMetaData getMetaData()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2020–2021. All rights reserved.