Package | Description |
---|---|
com.opencsv |
A very simple CSV parser for Java released under a commercial-friendly license.
|
com.opencsv.bean |
A bean binding interface for use with opencsv.
|
com.opencsv.bean.concurrent |
This package collects all classes necessary for the parallel processing of
beans.
|
Modifier and Type | Class and Description |
---|---|
class |
CSVReaderHeaderAware
Handy reader when there's insufficient motivation to use the bean binding but
the header mapping is still desired.
|
Modifier and Type | Method and Description |
---|---|
CSVReader |
CSVReaderBuilder.build()
Creates the
CSVReader . |
Constructor and Description |
---|
CSVIterator(CSVReader reader) |
Modifier and Type | Method and Description |
---|---|
void |
HeaderNameBaseMappingStrategy.captureHeader(CSVReader reader) |
void |
FuzzyMappingStrategy.captureHeader(CSVReader reader) |
void |
MappingStrategy.captureHeader(CSVReader reader)
Implementation of this method can grab the header line before parsing
begins to use to map columns to bean properties.
|
void |
ColumnPositionMappingStrategy.captureHeader(CSVReader reader)
There is no header per se for this mapping strategy, but this method
checks the first line to determine how many fields are present and
adjusts its field map accordingly.
|
void |
CsvToBean.setCsvReader(CSVReader csvReader)
Sets the reader to be used to read in the information from the CSV input.
|
Constructor and Description |
---|
CsvToBeanBuilder(CSVReader csvReader)
Constructor with the one parameter that is most definitely mandatory, and
always will be.
|
Modifier and Type | Field and Description |
---|---|
protected CSVReader |
SingleLineReader.csvReader |
Constructor and Description |
---|
CompleteFileReader(CSVReader csvReader,
CsvToBeanFilter filter,
boolean ignoreEmptyLines,
MappingStrategy<? extends T> mappingStrategy,
CsvExceptionHandler exceptionHandler,
List<BeanVerifier<T>> verifiers) |
SingleLineReader(CSVReader csvReader,
boolean ignoreEmptyLines)
The only constructor.
|
Copyright © 2005–2023. All rights reserved.