Uses of Class
com.opencsv.CSVReader
-
Packages that use CSVReader 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. -
-
Uses of CSVReader in com.opencsv
Subclasses of CSVReader in com.opencsv Modifier and Type Class Description class
CSVReaderHeaderAware
Handy reader when there's insufficient motivation to use the bean binding but the header mapping is still desired.Fields in com.opencsv declared as CSVReader Modifier and Type Field Description private CSVReader
CSVIterator. reader
Methods in com.opencsv that return CSVReader Modifier and Type Method Description CSVReader
CSVReaderBuilder. build()
Creates theCSVReader
.Constructors in com.opencsv with parameters of type CSVReader Constructor Description CSVIterator(CSVReader reader)
-
Uses of CSVReader in com.opencsv.bean
Fields in com.opencsv.bean declared as CSVReader Modifier and Type Field Description private CSVReader
CsvToBean. csvReader
The reader this class will use to access the data to be read.private CSVReader
CsvToBeanBuilder. csvReader
Allow the user to pass in a prebuilt/customCSVReader
.Methods in com.opencsv.bean that return CSVReader Modifier and Type Method Description private CSVReader
CsvToBeanBuilder. buildReader(CSVParser parser)
Builds aCSVReader
from the information provided to this builder.Methods in com.opencsv.bean with parameters of type CSVReader Modifier and Type Method Description 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
FuzzyMappingStrategy. captureHeader(CSVReader reader)
void
HeaderNameBaseMappingStrategy. 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
CsvToBean. setCsvReader(CSVReader csvReader)
Sets the reader to be used to read in the information from the CSV input.Constructors in com.opencsv.bean with parameters of type CSVReader Constructor Description CsvToBeanBuilder(CSVReader csvReader)
Constructor with the one parameter that is most definitely mandatory, and always will be. -
Uses of CSVReader in com.opencsv.bean.concurrent
Fields in com.opencsv.bean.concurrent declared as CSVReader Modifier and Type Field Description protected CSVReader
SingleLineReader. csvReader
Constructors in com.opencsv.bean.concurrent with parameters of type CSVReader Constructor Description CompleteFileReader(CSVReader csvReader, CsvToBeanFilter filter, boolean ignoreEmptyLines, MappingStrategy<? extends T> mappingStrategy, CsvExceptionHandler exceptionHandler, java.util.List<BeanVerifier<T>> verifiers)
SingleLineReader(CSVReader csvReader, boolean ignoreEmptyLines)
The only constructor.
-