public class Is24CsvParser extends CsvParser<Is24CsvRecord>
| Modifier | Constructor and Description |
|---|---|
protected |
Is24CsvParser(org.apache.commons.csv.CSVParser parser)
Create with specifications of a
CSVParser. |
| Modifier and Type | Method and Description |
|---|---|
static Is24CsvParser |
create(File csvFile)
Creates a
Is24CsvParser from a File with CSV data. |
static Is24CsvParser |
create(InputStream input)
Creates a
Is24CsvParser from an InputStream with CSV data. |
static Is24CsvParser |
create(Reader input)
Creates a
Is24CsvParser from a Reader with CSV data. |
static Is24CsvParser |
create(String csvString)
Creates a
Is24CsvParser from a String with CSV data. |
static Is24CsvRecord |
createRecord(org.apache.commons.csv.CSVRecord record)
Creates a record, according to the object category, that is provided in
a
CSVRecord. |
protected Is24CsvRecord |
newRecord(org.apache.commons.csv.CSVRecord record)
Creates a new
CsvRecord with parsed CSV data. |
close, closeQuietly, getCurrentLineNumber, getRecordNumber, hasNext, isClosed, nextprotected Is24CsvParser(org.apache.commons.csv.CSVParser parser)
CSVParser.parser - the CSV parser from
commons-csvpublic static Is24CsvParser create(String csvString) throws IOException
Is24CsvParser from a String with CSV data.csvString - CSV stringIOException - if CSV is not readablepublic static Is24CsvParser create(File csvFile) throws IOException
Is24CsvParser from a File with CSV data.csvFile - CSV fileIOException - if CSV is not readablepublic static Is24CsvParser create(InputStream input) throws IOException
Is24CsvParser from an InputStream with CSV data.input - CSV inputIOException - if CSV is not readablepublic static Is24CsvParser create(Reader input) throws IOException
Is24CsvParser from a Reader with CSV data.input - CSV inputIOException - if CSV is not readablepublic static Is24CsvRecord createRecord(org.apache.commons.csv.CSVRecord record)
CSVRecord.record - the record to processprotected Is24CsvRecord newRecord(org.apache.commons.csv.CSVRecord record)
CsvParserCsvRecord with parsed CSV data.newRecord in class CsvParser<Is24CsvRecord>record - parsed CSV data from
commons-csvCopyright © 2015 OpenEstate. All rights reserved.