Skip navigation links
A B C D E F G H I K L M N O P Q R S T V W 

A

AbstractBeanField<T,I> - Class in com.opencsv.bean
This base bean takes over the responsibility of converting the supplied string to the proper type for the destination field and setting the destination field.
AbstractBeanField() - Constructor for class com.opencsv.bean.AbstractBeanField
Default nullary constructor, so derived classes aren't forced to create a constructor identical to this one.
AbstractBeanField(Class<?>, Field, boolean, Locale, CsvConverter) - Constructor for class com.opencsv.bean.AbstractBeanField
 
AbstractCsvConverter - Class in com.opencsv.bean
This implementation of CsvConverter provides a reasonable default for CsvConverter.convertToWrite(java.lang.Object) as well as a couple of common fields.
AbstractCsvConverter() - Constructor for class com.opencsv.bean.AbstractCsvConverter
Default nullary constructor, so derived classes aren't forced to create a constructor identical to this one.
AbstractCsvConverter(Class<?>, String, String, Locale) - Constructor for class com.opencsv.bean.AbstractCsvConverter
Currently the only constructor for this class.
AbstractCSVParser - Class in com.opencsv
The purpose of the AbstractCSVParser is to consolidate the duplicate code amongst the parsers.
AbstractCSVParser(char, char, CSVReaderNullFieldIndicator) - Constructor for class com.opencsv.AbstractCSVParser
Common constructor.
AbstractCSVWriter - Class in com.opencsv
The AbstractCSVWriter was created to prevent duplication of code between the CSVWriter and the CSVParserWriter classes.
AbstractCSVWriter(Writer, String) - Constructor for class com.opencsv.AbstractCSVWriter
Constructor to initialize the common values.
AbstractFieldMap<I,K extends Comparable<K>,C extends ComplexFieldMapEntry<I,K,T>,T> - Class in com.opencsv.bean
A base class to collect all generalized components of a FieldMap.
AbstractFieldMap(Locale) - Constructor for class com.opencsv.bean.AbstractFieldMap
Initializes this FieldMap.
AbstractFieldMapEntry<I,K extends Comparable<K>,T> - Class in com.opencsv.bean
Collects common aspects of a ComplexFieldMapEntry.
AbstractFieldMapEntry(BeanField<T, K>, Locale) - Constructor for class com.opencsv.bean.AbstractFieldMapEntry
The only constructor, and it must be called by all derived classes.
AbstractMappingStrategy<I,K extends Comparable<K>,C extends ComplexFieldMapEntry<I,K,T>,T> - Class in com.opencsv.bean
This class collects as many generally useful parts of the implementation of a mapping strategy as possible.
AbstractMappingStrategy() - Constructor for class com.opencsv.bean.AbstractMappingStrategy
 
AbstractMappingStrategy.RecursiveType - Class in com.opencsv.bean
Encapsulates a bean type and all of the member variables that need to be recursed into.
AccessorInvoker<T,R> - Interface in com.opencsv.bean.function
Functional interface for accessing a value from a field.
add(CsvFieldAssignmentException) - Method in exception com.opencsv.exceptions.CsvChainedException
Add an exception to the chain of collections.
addRecursiveMember(FieldAccess<Object>, AbstractMappingStrategy.RecursiveType) - Method in class com.opencsv.bean.AbstractMappingStrategy.RecursiveType
Used to add a recursive type.
addValidator(LineValidator) - Method in class com.opencsv.validators.LineValidatorAggregator
Add an validator to the aggregator.
addValidator(RowValidator) - Method in class com.opencsv.validators.RowValidatorAggregator
Add a validator to the aggregator.
allowLine(String[]) - Method in interface com.opencsv.bean.CsvToBeanFilter
Determines if a line from the CSV file will be included in the output of CsvToBean.
AssignmentInvoker<T,U> - Interface in com.opencsv.bean.function
Functional interface for assigning a value to a field.
assignValueToField(Object, Object, String) - Method in class com.opencsv.bean.AbstractBeanField
Assigns the given object to this field of the destination bean.
assignValueToField(Object, Object, String) - Method in class com.opencsv.bean.BeanFieldJoin
Assigns the value given to the proper field of the bean given.
attenuateRanges(int) - Method in class com.opencsv.bean.PositionToBeanField
If there are ranges in the list of ranges encompassed by this mapping that stretch beyond the maximum index given, they are shortened to be no longer than the maximum index.

B

BeanExecutor<T> - Class in com.opencsv.bean.concurrent
A specific derivative of IntolerantThreadPoolExecutor intended for submitting beans to be converted to Strings for writing.
BeanExecutor(boolean, Locale) - Constructor for class com.opencsv.bean.concurrent.BeanExecutor
The only constructor available for this class.
BeanField<T,I> - Interface in com.opencsv.bean
Used to extend the Field class to include functionality that opencsv requires.
BeanFieldJoin<T,I> - Class in com.opencsv.bean
This class is used for combining multiple columns of the input, possibly with multiple identically named columns, into one field.
BeanFieldJoin(Class<?>, Field, boolean, Locale, CsvConverter, Class<? extends MultiValuedMap>, String, String) - Constructor for class com.opencsv.bean.BeanFieldJoin
Creates a new instance.
BeanFieldJoinIntegerIndex<T> - Class in com.opencsv.bean
Implements a BeanFieldJoin with a Integer for an index.
BeanFieldJoinIntegerIndex(Class<?>, Field, boolean, Locale, CsvConverter, Class<? extends MultiValuedMap>, String, String) - Constructor for class com.opencsv.bean.BeanFieldJoinIntegerIndex
Creates a new instance.
BeanFieldJoinStringIndex<T> - Class in com.opencsv.bean
Implements a BeanFieldJoin with a String for an index.
BeanFieldJoinStringIndex(Class<?>, Field, boolean, Locale, CsvConverter, Class<? extends MultiValuedMap>, String, String) - Constructor for class com.opencsv.bean.BeanFieldJoinStringIndex
Creates a new instance.
BeanFieldSingleValue<T,I> - Class in com.opencsv.bean
This class concerns itself with handling single-valued bean fields.
BeanFieldSingleValue(Class<?>, Field, boolean, Locale, CsvConverter, String, String) - Constructor for class com.opencsv.bean.BeanFieldSingleValue
Simply calls the same constructor in the base class.
BeanFieldSplit<T,I> - Class in com.opencsv.bean
This class concerns itself with handling collection-valued bean fields.
BeanFieldSplit(Class<?>, Field, boolean, Locale, CsvConverter, String, String, Class<? extends Collection>, Class<?>, String, String) - Constructor for class com.opencsv.bean.BeanFieldSplit
The only valid constructor.
BeanVerifier<T> - Interface in com.opencsv.bean
Classes implementing this interface may be used to verify and filter beans after creation, but before being passed back to the calling application.
br - Variable in class com.opencsv.CSVReader
 
build() - Method in class com.opencsv.bean.ColumnPositionMappingStrategyBuilder
Builds a new mapping strategy for parsing/writing.
build() - Method in class com.opencsv.bean.CsvToBeanBuilder
Builds the CsvToBean out of the provided information.
build() - Method in class com.opencsv.bean.FuzzyMappingStrategyBuilder
Builds a new mapping strategy for parsing/writing.
build() - Method in class com.opencsv.bean.HeaderColumnNameMappingStrategyBuilder
Builds a new mapping strategy for parsing/writing.
build() - Method in class com.opencsv.bean.HeaderColumnNameTranslateMappingStrategyBuilder
Builds a new mapping strategy for parsing/writing.
build() - Method in class com.opencsv.bean.StatefulBeanToCsvBuilder
Builds a StatefulBeanToCsv from the information provided, filling in default values where none have been specified.
build() - Method in class com.opencsv.CSVParserBuilder
Constructs CSVParser.
build() - Method in class com.opencsv.CSVReaderBaseBuilder
Must create the CSVReader type requested.
build() - Method in class com.opencsv.CSVReaderBuilder
Creates the CSVReader.
build() - Method in class com.opencsv.CSVReaderHeaderAwareBuilder
build() - Method in class com.opencsv.CSVWriterBuilder
Creates the CSVWriter.
build() - Method in class com.opencsv.RFC4180ParserBuilder
Constructs RFC4180Parser.

C

capture - Variable in class com.opencsv.bean.BeanFieldSingleValue
The regular expression to be used for capturing part of the input for processing.
captureHeader(CSVReader) - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
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.
captureHeader(CSVReader) - Method in class com.opencsv.bean.FuzzyMappingStrategy
 
captureHeader(CSVReader) - Method in class com.opencsv.bean.HeaderNameBaseMappingStrategy
 
captureHeader(CSVReader) - Method in interface com.opencsv.bean.MappingStrategy
Implementation of this method can grab the header line before parsing begins to use to map columns to bean properties.
checkCharactersToEscape(char) - Method in class com.opencsv.CSVWriter
Checks whether the next character that is to be written out is a special character that must be quoted.
checkError() - Method in class com.opencsv.AbstractCSVWriter
 
checkError() - Method in interface com.opencsv.ICSVWriter
Flushes the buffer and checks to see if the there has been an error in the printstream.
checkExceptions() - Method in class com.opencsv.bean.concurrent.LineExecutor
 
chooseMultivaluedFieldIndexFromHeaderIndex(int) - Method in class com.opencsv.bean.AbstractMappingStrategy
For BeanField.indexAndSplitMultivaluedField(java.lang.Object, java.lang.Object) it is necessary to determine which index to pass in.
chooseMultivaluedFieldIndexFromHeaderIndex(int) - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
 
chooseMultivaluedFieldIndexFromHeaderIndex(int) - Method in class com.opencsv.bean.HeaderNameBaseMappingStrategy
 
clear() - Method in class com.opencsv.bean.HeaderIndex
Empties the entire mapping.
CLOBBUFFERSIZE - Static variable in class com.opencsv.ResultSetHelperService
 
close() - Method in class com.opencsv.AbstractCSVWriter
 
close() - Method in class com.opencsv.CSVReader
Closes the underlying reader.
ColumnPositionMappingStrategy<T> - Class in com.opencsv.bean
Allows for the mapping of columns with their positions.
ColumnPositionMappingStrategy() - Constructor for class com.opencsv.bean.ColumnPositionMappingStrategy
Default constructor.
ColumnPositionMappingStrategyBuilder<T> - Class in com.opencsv.bean
ColumnPositionMappingStrategyBuilder() - Constructor for class com.opencsv.bean.ColumnPositionMappingStrategyBuilder
Default constructor.
com.opencsv - package com.opencsv
A very simple CSV parser for Java released under a commercial-friendly license.
com.opencsv.bean - package com.opencsv.bean
A bean binding interface for use with opencsv.
com.opencsv.bean.comparator - package com.opencsv.bean.comparator
This package is a collection of Comparators that could be useful to anyone using opencsv.
com.opencsv.bean.concurrent - package com.opencsv.bean.concurrent
This package collects all classes necessary for the parallel processing of beans.
com.opencsv.bean.customconverter - package com.opencsv.bean.customconverter
Custom converters that are generally useful are collected here.
com.opencsv.bean.exceptionhandler - package com.opencsv.bean.exceptionhandler
This package contains the interface and standard implementations for exception handling logic during bean creation and bean writing.
com.opencsv.bean.function - package com.opencsv.bean.function
This package collections function definitions that are used in opencsv.
com.opencsv.bean.processor - package com.opencsv.bean.processor
 
com.opencsv.bean.util - package com.opencsv.bean.util
This is a package of utility classes for internal use.
com.opencsv.bean.validators - package com.opencsv.bean.validators
 
com.opencsv.enums - package com.opencsv.enums
Enumerations relevant to opencsv's internal operations.
com.opencsv.exceptions - package com.opencsv.exceptions
This package contains all of the exceptions specific to opencsv.
com.opencsv.processor - package com.opencsv.processor
 
com.opencsv.stream.reader - package com.opencsv.stream.reader
Collection of classes for customizing reading lines.
com.opencsv.validators - package com.opencsv.validators
 
combineResultsFromMultipleReads(String[], String[]) - Method in class com.opencsv.CSVReader
For multi-line records this method combines the current result with the result from previous read(s).
compare(T, T) - Method in class com.opencsv.bean.comparator.LiteralComparator
Deprecated.
 
compilePattern(String, int, Class<?>, Locale) - Static method in class com.opencsv.bean.util.OpencsvUtils
Compiles a regular expression into a Pattern, throwing an exception that is proper in the context of opencsv if the regular expression is not valid.
compilePatternAtLeastOneGroup(String, int, Class<?>, Locale) - Static method in class com.opencsv.bean.util.OpencsvUtils
Compiles a regular expression into a Pattern, throwing an exception that is proper in the context of opencsv if the regular expression is not valid, or if it does not have at least one capturing group.
CompleteFileReader<T> - Class in com.opencsv.bean.concurrent
Implements a separate thread for reading input and siphoning it to a LineExecutor.
CompleteFileReader(CSVReader, CsvToBeanFilter, boolean, MappingStrategy<? extends T>, CsvExceptionHandler, List<BeanVerifier<T>>) - Constructor for class com.opencsv.bean.concurrent.CompleteFileReader
 
ComplexFieldMapEntry<I,K extends Comparable<K>,T> - Interface in com.opencsv.bean
Defines the basic functionality necessary for using a many-to-one mapping between columns of a CSV file and bean fields.
complexMapList - Variable in class com.opencsv.bean.AbstractFieldMap
A list of entries representing all complex, that is many-to-one, mappings represented in this FieldMap.
contains(K) - Method in interface com.opencsv.bean.ComplexFieldMapEntry
Determines whether or not the given key is contained in this entry.
contains(Integer) - Method in class com.opencsv.bean.PositionToBeanField
 
contains(String) - Method in class com.opencsv.bean.RegexToBeanField
 
convert(String) - Method in class com.opencsv.bean.AbstractBeanField
Method for converting from a string to the proper datatype of the destination field.
convert(String) - Method in class com.opencsv.bean.BeanFieldSingleValue
Passes the string to be converted to the converter.
convert(String) - Method in class com.opencsv.bean.BeanFieldSplit
This method manages the collection being created as well as splitting the data.
convert(String) - Method in class com.opencsv.bean.customconverter.ConverterLanguageToBoolean
Converts localized text into a Boolean.
ConvertEmptyOrBlankStringsToDefault - Class in com.opencsv.bean.processor
StringProcessor that converts the empty or blank strings to a desired value string.
ConvertEmptyOrBlankStringsToDefault() - Constructor for class com.opencsv.bean.processor.ConvertEmptyOrBlankStringsToDefault
Default constructor
ConvertEmptyOrBlankStringsToNull - Class in com.opencsv.bean.processor
StringProcessor that converts the empty or blank strings to a literal null string.
ConvertEmptyOrBlankStringsToNull() - Constructor for class com.opencsv.bean.processor.ConvertEmptyOrBlankStringsToNull
Default Constructor.
converter - Variable in class com.opencsv.bean.AbstractBeanField
A class that converts from a string to the destination type on reading and vice versa on writing.
ConverterCurrency - Class in com.opencsv.bean
This class converts an input ISO 4217 currency code to a Currency instance.
ConverterCurrency(Locale) - Constructor for class com.opencsv.bean.ConverterCurrency
Initializes the class.
ConverterDate - Class in com.opencsv.bean
This class converts an input to a date type.
ConverterDate(Class<?>, String, String, Locale, String, String, String, String) - Constructor for class com.opencsv.bean.ConverterDate
Initializes the class.
ConverterEnum - Class in com.opencsv.bean
This class converts an input to an enumeration type and vice versa.
ConverterEnum(Class<?>, String, String, Locale) - Constructor for class com.opencsv.bean.ConverterEnum
 
ConverterLanguageToBoolean<T,I> - Class in com.opencsv.bean.customconverter
A base class for any converter to and from booleans when the string values have been or should be localized to a specific language.
ConverterLanguageToBoolean() - Constructor for class com.opencsv.bean.customconverter.ConverterLanguageToBoolean
 
ConverterNumber - Class in com.opencsv.bean
This converter class is used in combination with CsvNumber, that is, when number inputs and outputs should be formatted.
ConverterNumber(Class<?>, String, String, Locale, String, String, RoundingMode) - Constructor for class com.opencsv.bean.ConverterNumber
 
ConverterPrimitiveTypes - Class in com.opencsv.bean
This class wraps fields from the reflection API in order to handle translation of primitive types and to add a "required" flag.
ConverterPrimitiveTypes(Class<?>, String, String, Locale) - Constructor for class com.opencsv.bean.ConverterPrimitiveTypes
 
ConverterUUID - Class in com.opencsv.bean
This class converts an String to a UUID instance.
ConverterUUID(Locale) - Constructor for class com.opencsv.bean.ConverterUUID
Initializes the class.
ConvertFrenchToBoolean<T,I> - Class in com.opencsv.bean.customconverter
This class converts common French representations of boolean values into a Boolean.
ConvertFrenchToBoolean() - Constructor for class com.opencsv.bean.customconverter.ConvertFrenchToBoolean
Silence code style checker by adding a useless constructor.
ConvertGermanToBoolean<T,I> - Class in com.opencsv.bean.customconverter
This class converts common German representations of boolean values into a Boolean.
ConvertGermanToBoolean() - Constructor for class com.opencsv.bean.customconverter.ConvertGermanToBoolean
Silence code style checker by adding a useless constructor.
convertToCsvValue(String, boolean) - Method in class com.opencsv.AbstractCSVParser
Used when reverse parsing an array of strings to a single string.
convertToCsvValue(String, boolean, Appendable) - Method in class com.opencsv.AbstractCSVParser
Used when reverse parsing an array of strings to a single string.
convertToCsvValue(String, boolean) - Method in class com.opencsv.CSVParser
 
convertToCsvValue(String, boolean) - Method in class com.opencsv.RFC4180Parser
 
convertToRead(String) - Method in class com.opencsv.bean.ConverterCurrency
 
convertToRead(String) - Method in class com.opencsv.bean.ConverterDate
 
convertToRead(String) - Method in class com.opencsv.bean.ConverterEnum
 
convertToRead(String) - Method in class com.opencsv.bean.ConverterNumber
 
convertToRead(String) - Method in class com.opencsv.bean.ConverterPrimitiveTypes
 
convertToRead(String) - Method in class com.opencsv.bean.ConverterUUID
 
convertToRead(String) - Method in interface com.opencsv.bean.CsvConverter
Method for converting from a string to the proper data type of the destination field.
convertToWrite(Object) - Method in class com.opencsv.bean.AbstractBeanField
This is the method that actually performs the conversion from field to string for AbstractBeanField.write(java.lang.Object, java.lang.Object) and should be overridden in derived classes.
convertToWrite(Object) - Method in class com.opencsv.bean.AbstractCsvConverter
This implementation simply calls toString() on value.
convertToWrite(Object) - Method in class com.opencsv.bean.BeanFieldSingleValue
Passes the object to be converted to the converter.
convertToWrite(Object) - Method in class com.opencsv.bean.BeanFieldSplit
Manages converting a collection of values into a single string.
convertToWrite(Object) - Method in class com.opencsv.bean.ConverterCurrency
Converts Currency instance to a string.
convertToWrite(Object) - Method in class com.opencsv.bean.ConverterDate
This method converts the encapsulated date type to a string, respecting any locales and conversion patterns that have been set through opencsv annotations.
convertToWrite(Object) - Method in class com.opencsv.bean.ConverterEnum
 
convertToWrite(Object) - Method in class com.opencsv.bean.ConverterNumber
Formats the number in question according to the pattern that has been provided.
convertToWrite(Object) - Method in class com.opencsv.bean.ConverterPrimitiveTypes
This method takes the current value of the field in question in the bean passed in and converts it to a string.
convertToWrite(Object) - Method in interface com.opencsv.bean.CsvConverter
Method for converting from the data type of the destination field to a string.
convertToWrite(Object) - Method in class com.opencsv.bean.customconverter.ConverterLanguageToBoolean
This method takes the current value of the field in question in the bean passed in and converts it to a string.
ConvertWordNullToNull - Class in com.opencsv.bean.processor
StringProcessor that converts the string value "null" to a literal null string.
ConvertWordNullToNull() - Constructor for class com.opencsv.bean.processor.ConvertWordNullToNull
Default Constructor.
createBean() - Method in class com.opencsv.bean.AbstractMappingStrategy
Implementation will return a bean of the type of object being mapped.
CsvBadConverterException - Exception in com.opencsv.exceptions
This exception indicates that the converter did not behave as expected in some way.
CsvBadConverterException() - Constructor for exception com.opencsv.exceptions.CsvBadConverterException
Default constructor, in case no further information is necessary or available.
CsvBadConverterException(Class<?>) - Constructor for exception com.opencsv.exceptions.CsvBadConverterException
Constructor for specifying the class of the offending converter.
CsvBadConverterException(String) - Constructor for exception com.opencsv.exceptions.CsvBadConverterException
Constructor with a simple text.
CsvBadConverterException(Class<?>, String) - Constructor for exception com.opencsv.exceptions.CsvBadConverterException
Constructor for setting the class of the converter and an error message.
CsvBeanIntrospectionException - Exception in com.opencsv.exceptions
This exception is to be thrown when anything goes bad during introspection of beans given to opencsv.
CsvBeanIntrospectionException() - Constructor for exception com.opencsv.exceptions.CsvBeanIntrospectionException
Nullary constructor.
CsvBeanIntrospectionException(String) - Constructor for exception com.opencsv.exceptions.CsvBeanIntrospectionException
Constructor with a human-readable error message.
CsvBeanIntrospectionException(Object, Field) - Constructor for exception com.opencsv.exceptions.CsvBeanIntrospectionException
Constructor to specify the bean and field whose manipulation caused this exception.
CsvBeanIntrospectionException(Object, Field, String) - Constructor for exception com.opencsv.exceptions.CsvBeanIntrospectionException
Constructor to provide all information connected to the error raised.
CsvBindAndJoinByName - Annotation Type in com.opencsv.bean
Joins the values of multiple columns from the input into one bean field based on a pattern for the column names.
CsvBindAndJoinByNames - Annotation Type in com.opencsv.bean
This annotation is the container annotation for CsvBindAndJoinByName.
CsvBindAndJoinByPosition - Annotation Type in com.opencsv.bean
Joins the values of multiple columns from the input into one bean field based on a selection of column positions.
CsvBindAndJoinByPositions - Annotation Type in com.opencsv.bean
This annotation is the container annotation for CsvBindAndJoinByPosition.
CsvBindAndSplitByName - Annotation Type in com.opencsv.bean
This annotation interprets one field of the input as a collection that will be split up into its components and assigned to a collection-based bean field.
CsvBindAndSplitByNames - Annotation Type in com.opencsv.bean
This annotation is the container annotation for CsvBindAndSplitByName.
CsvBindAndSplitByPosition - Annotation Type in com.opencsv.bean
This annotation interprets one field of the input as a collection that will be split up into its components and assigned to a collection-based bean field.
CsvBindAndSplitByPositions - Annotation Type in com.opencsv.bean
This annotation is the container annotation for CsvBindAndSplitByPosition.
CsvBindByName - Annotation Type in com.opencsv.bean
Specifies a binding between a column name of the CSV input and a field in a bean.
CsvBindByNames - Annotation Type in com.opencsv.bean
This annotation is the container annotation for CsvBindByName.
CsvBindByPosition - Annotation Type in com.opencsv.bean
Specifies a binding between a column number of the CSV input and a field in a bean.
CsvBindByPositions - Annotation Type in com.opencsv.bean
This annotation is the container annotation for CsvBindByPosition.
CsvChainedException - Exception in com.opencsv.exceptions
An exception class for collecting multiple exceptions.
CsvChainedException(CsvFieldAssignmentException) - Constructor for exception com.opencsv.exceptions.CsvChainedException
Constructor.
CsvConstraintViolationException - Exception in com.opencsv.exceptions
This exception is thrown when logical connections between data fields would be violated by the imported data.
CsvConstraintViolationException() - Constructor for exception com.opencsv.exceptions.CsvConstraintViolationException
Default constructor, in case no further information is necessary or available.
CsvConstraintViolationException(Object) - Constructor for exception com.opencsv.exceptions.CsvConstraintViolationException
Constructor for setting the source object that triggered the constraint violation.
CsvConstraintViolationException(String) - Constructor for exception com.opencsv.exceptions.CsvConstraintViolationException
Constructor with a simple text.
CsvConstraintViolationException(Object, String) - Constructor for exception com.opencsv.exceptions.CsvConstraintViolationException
Constructor for setting the source object and an error message.
CsvConverter - Interface in com.opencsv.bean
Classes implementing this interface perform a conversion from String to some type on reading and some type to String on writing.
CsvCustomBindByName - Annotation Type in com.opencsv.bean
Allows us to specify a class that will perform the translation from source to destination.
CsvCustomBindByNames - Annotation Type in com.opencsv.bean
This annotation is the container annotation for CsvCustomBindByName.
CsvCustomBindByPosition - Annotation Type in com.opencsv.bean
Allows us to specify a class that will perform the translation from source to destination.
CsvCustomBindByPositions - Annotation Type in com.opencsv.bean
This annotation is the container annotation for CsvCustomBindByPosition.
CsvDataTypeMismatchException - Exception in com.opencsv.exceptions
This exception should be thrown when the provided string value for conversion cannot be converted to the required type of the destination field.
CsvDataTypeMismatchException() - Constructor for exception com.opencsv.exceptions.CsvDataTypeMismatchException
Default constructor, in case no further information is necessary or available.
CsvDataTypeMismatchException(Object, Class<?>) - Constructor for exception com.opencsv.exceptions.CsvDataTypeMismatchException
Constructor for setting the data and the class of the intended destination field.
CsvDataTypeMismatchException(String) - Constructor for exception com.opencsv.exceptions.CsvDataTypeMismatchException
Constructor with a simple text.
CsvDataTypeMismatchException(Object, Class<?>, String) - Constructor for exception com.opencsv.exceptions.CsvDataTypeMismatchException
Constructor for setting the data and the class of the intended destination field along with an error message.
CsvDate - Annotation Type in com.opencsv.bean
This annotation indicates that the destination field is an expression of time.
CsvDates - Annotation Type in com.opencsv.bean
This annotation is the container annotation for CsvDate.
CsvException - Exception in com.opencsv.exceptions
This is the base class for all exceptions for opencsv.
CsvException() - Constructor for exception com.opencsv.exceptions.CsvException
Default constructor, in case no parameters are required.
CsvException(String) - Constructor for exception com.opencsv.exceptions.CsvException
Constructor that allows a human-readable message.
CsvExceptionHandler - Interface in com.opencsv.bean.exceptionhandler
This interface defines a generic way of dealing with exceptions thrown during the creation of beans or their conversion to CSV output.
CsvFieldAssignmentException - Exception in com.opencsv.exceptions
Superclass for checked exceptions that can be thrown while trying to decode and assign a single field.
CsvFieldAssignmentException() - Constructor for exception com.opencsv.exceptions.CsvFieldAssignmentException
Nullary constructor.
CsvFieldAssignmentException(String) - Constructor for exception com.opencsv.exceptions.CsvFieldAssignmentException
Constructor for initializing an error message.
CsvIgnore - Annotation Type in com.opencsv.bean
Instructs opencsv to ignore a field and any annotations present.
CSVIterator - Class in com.opencsv
Provides an Iterator over the data found in opencsv.
CSVIterator(CSVReader) - Constructor for class com.opencsv.CSVIterator
 
CsvMalformedLineException - Exception in com.opencsv.exceptions
Exception that is thrown when the CSVReader cannot process a line.
CsvMalformedLineException() - Constructor for exception com.opencsv.exceptions.CsvMalformedLineException
Nullary constructor.
CsvMalformedLineException(String, long, String) - Constructor for exception com.opencsv.exceptions.CsvMalformedLineException
Constructor with a message.
CsvMultilineLimitBrokenException - Exception in com.opencsv.exceptions
Exception when you break the line limit of a multiline field.
CsvMultilineLimitBrokenException() - Constructor for exception com.opencsv.exceptions.CsvMultilineLimitBrokenException
Nullary constructor.
CsvMultilineLimitBrokenException(String, long, String, int) - Constructor for exception com.opencsv.exceptions.CsvMultilineLimitBrokenException
Constructor with a message.
CsvNumber - Annotation Type in com.opencsv.bean
This annotation indicates that the destination field is a number that is specially formatted.
CsvNumbers - Annotation Type in com.opencsv.bean
This annotation is the container annotation for CsvNumber.
CSVParser - Class in com.opencsv
A very simple CSV parser released under a commercial-friendly license.
CSVParser() - Constructor for class com.opencsv.CSVParser
Constructs CSVParser using default values for everything.
CSVParserBuilder - Class in com.opencsv
Builder for creating a CSVParser.
CSVParserBuilder() - Constructor for class com.opencsv.CSVParserBuilder
Default constructor.
CSVParserWriter - Class in com.opencsv
The CSVParserWriter is a replacement for the CSVWriter that allows you to pass in a ICSVParser to handle the task of converting a string array to a line of CSV data.
CSVParserWriter(Writer, ICSVParser, String) - Constructor for class com.opencsv.CSVParserWriter
Constructor for the CSVParserWriter.
csvReader - Variable in class com.opencsv.bean.concurrent.SingleLineReader
 
CSVReader - Class in com.opencsv
A very simple CSV reader released under a commercial-friendly license.
CSVReader(Reader) - Constructor for class com.opencsv.CSVReader
Constructs CSVReader using defaults for all parameters.
CSVReaderBaseBuilder<T> - Class in com.opencsv
Base class for the builders of various incarnations of CSVReaders.
CSVReaderBaseBuilder(Reader) - Constructor for class com.opencsv.CSVReaderBaseBuilder
Base Constructor
CSVReaderBuilder - Class in com.opencsv
Builder for creating a CSVReader.
CSVReaderBuilder(Reader) - Constructor for class com.opencsv.CSVReaderBuilder
Sets the reader to an underlying CSV source.
CSVReaderHeaderAware - Class in com.opencsv
Handy reader when there's insufficient motivation to use the bean binding but the header mapping is still desired.
CSVReaderHeaderAware(Reader) - Constructor for class com.opencsv.CSVReaderHeaderAware
Constructor with supplied reader.
CSVReaderHeaderAwareBuilder - Class in com.opencsv
CSVReaderHeaderAwareBuilder(Reader) - Constructor for class com.opencsv.CSVReaderHeaderAwareBuilder
Sets the reader to an underlying CSV source.
CSVReaderNullFieldIndicator - Enum in com.opencsv.enums
Enumeration used to tell the CSVParser what to consider null.
CsvRecurse - Annotation Type in com.opencsv.bean
Instructs a mapping strategy to look inside a member variable for further mapping annotations.
CsvRecursionException - Exception in com.opencsv.exceptions
This exception is thrown on initiation of field mapping if CsvRecurse has been improperly used.
CsvRecursionException(String, Class<?>) - Constructor for exception com.opencsv.exceptions.CsvRecursionException
Constructor for an error message and the type that caused a recursion problem.
CsvRequiredFieldEmptyException - Exception in com.opencsv.exceptions
This exception should be thrown when a field marked as required is empty in the CSV file.
CsvRequiredFieldEmptyException() - Constructor for exception com.opencsv.exceptions.CsvRequiredFieldEmptyException
Default constructor, in case no further information is necessary.
CsvRequiredFieldEmptyException(String) - Constructor for exception com.opencsv.exceptions.CsvRequiredFieldEmptyException
Constructor with a simple text.
CsvRequiredFieldEmptyException(Class<?>, Field) - Constructor for exception com.opencsv.exceptions.CsvRequiredFieldEmptyException
Constructor for setting the intended class and field of the target bean.
CsvRequiredFieldEmptyException(Class<?>, List<Field>) - Constructor for exception com.opencsv.exceptions.CsvRequiredFieldEmptyException
Constructor for setting the intended class and fields of the target bean.
CsvRequiredFieldEmptyException(Class<?>, String) - Constructor for exception com.opencsv.exceptions.CsvRequiredFieldEmptyException
Constructor for setting the intended class of the target bean and a human-readable error message.
CsvRequiredFieldEmptyException(Class<?>, Field, String) - Constructor for exception com.opencsv.exceptions.CsvRequiredFieldEmptyException
Constructor for setting the intended class and field of the target bean along with an error message.
CsvRequiredFieldEmptyException(Class<?>, List<Field>, String) - Constructor for exception com.opencsv.exceptions.CsvRequiredFieldEmptyException
Constructor for setting the intended class and fields of the target bean along with an error message.
CsvRuntimeException - Exception in com.opencsv.exceptions
The base class for all unchecked exceptions in opencsv.
CsvRuntimeException() - Constructor for exception com.opencsv.exceptions.CsvRuntimeException
Nullary constructor.
CsvRuntimeException(String) - Constructor for exception com.opencsv.exceptions.CsvRuntimeException
Constructor with a message.
CsvRuntimeException(String, Throwable) - Constructor for exception com.opencsv.exceptions.CsvRuntimeException
Constructor with a message and throwable
CsvToBean<T> - Class in com.opencsv.bean
Converts CSV data to objects.
CsvToBean() - Constructor for class com.opencsv.bean.CsvToBean
Default constructor.
CsvToBeanBuilder<T> - Class in com.opencsv.bean
This class makes it possible to bypass all the intermediate steps and classes in setting up to read from a CSV source to a list of beans.
CsvToBeanBuilder(Reader) - Constructor for class com.opencsv.bean.CsvToBeanBuilder
Constructor with the one parameter that is most definitely mandatory, and always will be.
CsvToBeanBuilder(CSVReader) - Constructor for class com.opencsv.bean.CsvToBeanBuilder
Constructor with the one parameter that is most definitely mandatory, and always will be.
CsvToBeanFilter - Interface in com.opencsv.bean
Filters allow lines of input to be ignored before a bean is created.
CsvValidationException - Exception in com.opencsv.exceptions
Exception thrown by a LineValidator or LineValidatorAggregator when a single line is invalid.
CsvValidationException() - Constructor for exception com.opencsv.exceptions.CsvValidationException
Default constructor.
CsvValidationException(String) - Constructor for exception com.opencsv.exceptions.CsvValidationException
Constructor that allows for a human readable message.
CSVWriter - Class in com.opencsv
A very simple CSV writer released under a commercial-friendly license.
CSVWriter(Writer) - Constructor for class com.opencsv.CSVWriter
Constructs CSVWriter using a comma for the separator.
CSVWriter(Writer, char, char, char, String) - Constructor for class com.opencsv.CSVWriter
Constructs CSVWriter with supplied separator, quote char, escape char and line ending.
CSVWriterBuilder - Class in com.opencsv
Builder for creating the CSVWriter.
CSVWriterBuilder(Writer) - Constructor for class com.opencsv.CSVWriterBuilder
Constructor taking a writer for the resulting CSV output.

D

dateFormat - Variable in class com.opencsv.ResultSetHelperService
 
dateTimeFormat - Variable in class com.opencsv.ResultSetHelperService
 
DEFAULT_BUNDLE_NAME - Static variable in interface com.opencsv.ICSVParser
The name of the resource bundle for translations of error messages in opencsv.
DEFAULT_ESCAPE_CHARACTER - Static variable in interface com.opencsv.ICSVParser
The default escape character to use if none is supplied to the constructor.
DEFAULT_ESCAPE_CHARACTER - Static variable in interface com.opencsv.ICSVWriter
The character used for escaping quotes.
DEFAULT_IGNORE_LEADING_WHITESPACE - Static variable in interface com.opencsv.ICSVParser
The default leading whitespace behavior to use if none is supplied to the constructor.
DEFAULT_IGNORE_QUOTATIONS - Static variable in interface com.opencsv.ICSVParser
If the quote character is set to null then there is no quote character.
DEFAULT_KEEP_CR - Static variable in class com.opencsv.CSVReader
 
DEFAULT_LINE_END - Static variable in interface com.opencsv.ICSVWriter
Default line terminator.
DEFAULT_MULTILINE_LIMIT - Static variable in class com.opencsv.CSVReader
The default limit for the number of lines in a multiline record.
DEFAULT_NULL_FIELD_INDICATOR - Static variable in interface com.opencsv.ICSVParser
Denotes what field contents will cause the parser to return null: EMPTY_SEPARATORS, EMPTY_QUOTES, BOTH, NEITHER (default).
DEFAULT_QUOTE_CHARACTER - Static variable in interface com.opencsv.ICSVParser
The default quote character to use if none is supplied to the constructor.
DEFAULT_QUOTE_CHARACTER - Static variable in interface com.opencsv.ICSVWriter
The default quote character to use if none is supplied to the constructor.
DEFAULT_SEPARATOR - Static variable in interface com.opencsv.ICSVParser
The default separator to use if none is supplied to the constructor.
DEFAULT_SEPARATOR - Static variable in interface com.opencsv.ICSVWriter
The default separator to use if none is supplied to the constructor.
DEFAULT_SKIP_LINES - Static variable in class com.opencsv.CSVReader
The default line to start reading.
DEFAULT_STRICT_QUOTES - Static variable in interface com.opencsv.ICSVParser
The default strict quote behavior to use if none is supplied to the constructor.
DEFAULT_VERIFY_READER - Static variable in class com.opencsv.CSVReader
 
determineConverter(Field, Class<?>, String, String, Class<? extends AbstractCsvConverter>) - Method in class com.opencsv.bean.AbstractMappingStrategy
Given the information provided, determines the appropriate built-in converter to be passed in to the BeanField being created.
determineMappingStrategy(Class<? extends T>, Locale, String) - Static method in class com.opencsv.bean.util.OpencsvUtils
Determines which mapping strategy is appropriate for this bean.
determineMissingRequiredHeaders(String[]) - Method in class com.opencsv.bean.FieldMapByName
Returns a list of required headers that were not present in the input.

E

EMPTY_STRINGBUILDER - Static variable in class com.opencsv.AbstractCSVParser
Empty StringBuilder
equals(Object) - Method in class com.opencsv.bean.FieldAccess
Determines equality between this object and another.
errorLocale - Variable in class com.opencsv.bean.AbstractBeanField
Locale for error messages.
errorLocale - Variable in class com.opencsv.bean.AbstractCsvConverter
The locale to be used for error messages.
errorLocale - Variable in class com.opencsv.bean.AbstractFieldMap
The locale for error messages.
errorLocale - Variable in class com.opencsv.bean.AbstractFieldMapEntry
The locale to be used for error messages.
errorLocale - Variable in class com.opencsv.bean.AbstractMappingStrategy
Locale for error messages.
errorLocale - Variable in class com.opencsv.CSVReader
 
errorLocale - Variable in class com.opencsv.CSVReaderBaseBuilder
 
escapechar - Variable in class com.opencsv.CSVWriter
 
exception - Variable in class com.opencsv.AbstractCSVWriter
 
ExceptionHandlerIgnore - Class in com.opencsv.bean.exceptionhandler
An exception handler that always ignores exceptions raised.
ExceptionHandlerIgnore() - Constructor for class com.opencsv.bean.exceptionhandler.ExceptionHandlerIgnore
Default Constructor.
ExceptionHandlerIgnoreThenThrowAfter - Class in com.opencsv.bean.exceptionhandler
An exception handler that ignores the first x exceptions, then throws any further exceptions.
ExceptionHandlerIgnoreThenThrowAfter(int) - Constructor for class com.opencsv.bean.exceptionhandler.ExceptionHandlerIgnoreThenThrowAfter
Creates an instance.
ExceptionHandlerQueue - Class in com.opencsv.bean.exceptionhandler
An exception handler that always queues exceptions raised.
ExceptionHandlerQueue() - Constructor for class com.opencsv.bean.exceptionhandler.ExceptionHandlerQueue
Default Constructor.
ExceptionHandlerQueueThenThrowAfter - Class in com.opencsv.bean.exceptionhandler
An exception handler that queues the first x exceptions, then throws any further exceptions.
ExceptionHandlerQueueThenThrowAfter(int) - Constructor for class com.opencsv.bean.exceptionhandler.ExceptionHandlerQueueThenThrowAfter
Creates an instance.
ExceptionHandlerThrow - Class in com.opencsv.bean.exceptionhandler
An exception handler that always throws exceptions raised.
ExceptionHandlerThrow() - Constructor for class com.opencsv.bean.exceptionhandler.ExceptionHandlerThrow
Default Constructor.

F

field - Variable in class com.opencsv.bean.AbstractBeanField
The field this class represents.
field - Variable in class com.opencsv.bean.AbstractFieldMapEntry
The BeanField that is the target of this mapping.
fieldAccess - Variable in class com.opencsv.bean.AbstractBeanField
An encapsulated way of accessing the member variable associated with this field.
FieldAccess<T> - Class in com.opencsv.bean
Encapsulates the logic for accessing member variables of classes.
FieldAccess(Field) - Constructor for class com.opencsv.bean.FieldAccess
Constructs this instance by determining what mode of access will work for this field.
FieldMap<I,K extends Comparable<K>,C extends ComplexFieldMapEntry<I,K,T>,T> - Interface in com.opencsv.bean
Defines the basic characteristics of a map between field identifiers and their associated BeanFields.
fieldMap - Variable in class com.opencsv.bean.HeaderNameBaseMappingStrategy
Given a header name, this map allows one to find the corresponding BeanField.
FieldMapByName<T> - Class in com.opencsv.bean
This class maintains a mapping from header names out of a CSV file to bean fields.
FieldMapByName(Locale) - Constructor for class com.opencsv.bean.FieldMapByName
Initializes this FieldMap.
FieldMapByNameEntry<T> - Class in com.opencsv.bean
Represents one entry in FieldMapByName.
FieldMapByNameEntry(String, BeanField<T, String>, boolean) - Constructor for class com.opencsv.bean.FieldMapByNameEntry
Initializes the entry.
FieldMapByPosition<T> - Class in com.opencsv.bean
This class maintains a mapping from column position out of a CSV file to bean fields.
FieldMapByPosition(Locale) - Constructor for class com.opencsv.bean.FieldMapByPosition
Initializes this FieldMap.
FieldMapByPositionEntry<T> - Class in com.opencsv.bean
Represents one entry in FieldMapByPosition.
FieldMapByPositionEntry(int, BeanField<T, Integer>) - Constructor for class com.opencsv.bean.FieldMapByPositionEntry
Initializes this entry.
filterIgnoredFields(Class<?>, Field[]) - Method in class com.opencsv.bean.AbstractMappingStrategy
Filters all fields that opencsv has been instructed to ignore and returns a list of the rest.
findField(int) - Method in class com.opencsv.bean.AbstractMappingStrategy
Gets the field for a given column position.
findField(int) - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
 
findField(int) - Method in class com.opencsv.bean.HeaderNameBaseMappingStrategy
 
findHeader(int) - Method in class com.opencsv.bean.AbstractMappingStrategy
Gets the name (or position number) of the header for the given column number.
findHeader(int) - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
Returns the column position for the given column number.
findHeader(int) - Method in class com.opencsv.bean.HeaderNameBaseMappingStrategy
 
findMaxIndex() - Method in class com.opencsv.bean.HeaderIndex
Finds and returns the highest index in this mapping.
floatingPointFormat - Variable in class com.opencsv.ResultSetHelperService
 
flush() - Method in class com.opencsv.AbstractCSVWriter
 
flushQuietly() - Method in interface com.opencsv.ICSVWriter
Flushes the writer without throwing any exceptions.
forceCorrectRecordLength - Variable in class com.opencsv.bean.HeaderNameBaseMappingStrategy
If set, every record will be shortened or lengthened to match the number of headers.
FuzzyMappingStrategy<T> - Class in com.opencsv.bean
A mapping strategy that tries to make the best match between header names and non-annotated member variables.
FuzzyMappingStrategy() - Constructor for class com.opencsv.bean.FuzzyMappingStrategy
Nullary constructor.
FuzzyMappingStrategy(boolean) - Constructor for class com.opencsv.bean.FuzzyMappingStrategy
Constructor to allow setting options for header name mapping.
FuzzyMappingStrategyBuilder<T> - Class in com.opencsv.bean
Builder for a FuzzyMappingStrategy.
FuzzyMappingStrategyBuilder() - Constructor for class com.opencsv.bean.FuzzyMappingStrategyBuilder
Default constructor.

G

generateHeader(T) - Method in class com.opencsv.bean.AbstractMappingStrategy
This method generates a header that can be used for writing beans of the type provided back to a file.
generateHeader(T) - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
This method returns an empty array.
generateHeader(T) - Method in interface com.opencsv.bean.FieldMap
This method generates a header that can be used for writing beans of the type provided back to a file.
generateHeader(T) - Method in class com.opencsv.bean.FieldMapByName
This method generates a header that can be used for writing beans of the type provided back to a file.
generateHeader(T) - Method in class com.opencsv.bean.FieldMapByPosition
This method generates a header that can be used for writing beans of the type provided back to a file.
generateHeader(T) - Method in interface com.opencsv.bean.MappingStrategy
Implementations of this method must return an array of column headers based on the contents of the mapping strategy.
get(K) - Method in class com.opencsv.bean.AbstractFieldMap
 
get(K) - Method in interface com.opencsv.bean.FieldMap
Gets the BeanField associated with this key.
getAllLocalizedFalseValues() - Method in class com.opencsv.bean.customconverter.ConverterLanguageToBoolean
This represents a list of all values accepted as "false".
getAllLocalizedFalseValues() - Method in class com.opencsv.bean.customconverter.ConvertFrenchToBoolean
 
getAllLocalizedFalseValues() - Method in class com.opencsv.bean.customconverter.ConvertGermanToBoolean
 
getAllLocalizedTrueValues() - Method in class com.opencsv.bean.customconverter.ConverterLanguageToBoolean
This represents a list of all values accepted as "true".
getAllLocalizedTrueValues() - Method in class com.opencsv.bean.customconverter.ConvertFrenchToBoolean
 
getAllLocalizedTrueValues() - Method in class com.opencsv.bean.customconverter.ConvertGermanToBoolean
 
getBean() - Method in exception com.opencsv.exceptions.CsvBeanIntrospectionException
Gets the bean that was to be introspected.
getBeanClass() - Method in exception com.opencsv.exceptions.CsvRequiredFieldEmptyException
Gets the class of the bean to which the value was to be assigned.
getBeanField() - Method in class com.opencsv.bean.AbstractFieldMapEntry
 
getBeanField() - Method in interface com.opencsv.bean.ComplexFieldMapEntry
 
getBindingAnnotations() - Method in class com.opencsv.bean.AbstractMappingStrategy
Returns a set of the annotations that are used for binding in this mapping strategy.
getBindingAnnotations() - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
Returns a set of the annotations that are used for binding in this mapping strategy.
getBindingAnnotations() - Method in class com.opencsv.bean.HeaderColumnNameMappingStrategy
Returns a set of the annotations that are used for binding in this mapping strategy.
getByName(String) - Method in class com.opencsv.bean.HeaderIndex
Retrieves the column position(s) associated with the given header name.
getByPosition(int) - Method in class com.opencsv.bean.HeaderIndex
Retrieves the header associated with the given column position.
getCapturedExceptions() - Method in class com.opencsv.bean.CsvToBean
Returns the list of all exceptions that would have been thrown during the import, but were queued by the exception handler.
getCapturedExceptions() - Method in class com.opencsv.bean.StatefulBeanToCsv
Any exceptions captured during writing of beans to a CSV destination can be retrieved through this method.
getColumnMapping() - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
Retrieves the column mappings.
getColumnMapping() - Method in class com.opencsv.bean.HeaderColumnNameTranslateMappingStrategy
Retrieves the column mappings of the strategy.
getColumnName(int) - Method in class com.opencsv.bean.AbstractMappingStrategy
Get the column name for a given column position.
getColumnName(int) - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
Gets a column name.
getColumnName(int) - Method in class com.opencsv.bean.HeaderColumnNameTranslateMappingStrategy
 
getColumnNames(ResultSet) - Method in class com.opencsv.ResultSetColumnNameHelperService
Returns the column names from the result set.
getColumnNames(ResultSet) - Method in interface com.opencsv.ResultSetHelper
Returns the column names from the ResultSet.
getColumnNames(ResultSet) - Method in class com.opencsv.ResultSetHelperService
 
getColumnValues(ResultSet) - Method in class com.opencsv.ResultSetColumnNameHelperService
Get all the column values from the result set.
getColumnValues(ResultSet, boolean) - Method in class com.opencsv.ResultSetColumnNameHelperService
Get all the column values from the result set.
getColumnValues(ResultSet, boolean, String, String) - Method in class com.opencsv.ResultSetColumnNameHelperService
Get all the column values from the result set.
getColumnValues(ResultSet) - Method in interface com.opencsv.ResultSetHelper
Returns the column values from the result set.
getColumnValues(ResultSet, boolean) - Method in interface com.opencsv.ResultSetHelper
Returns the column values from the result set with the values trimmed if desired.
getColumnValues(ResultSet, boolean, String, String) - Method in interface com.opencsv.ResultSetHelper
Returns the column values from the result set with the values trimmed if desired.
getColumnValues(ResultSet) - Method in class com.opencsv.ResultSetHelperService
 
getColumnValues(ResultSet, boolean) - Method in class com.opencsv.ResultSetHelperService
 
getColumnValues(ResultSet, boolean, String, String) - Method in class com.opencsv.ResultSetHelperService
 
getContext() - Method in exception com.opencsv.exceptions.CsvMalformedLineException
 
getContext() - Method in exception com.opencsv.exceptions.CsvMultilineLimitBrokenException
 
getConverterClass() - Method in exception com.opencsv.exceptions.CsvBadConverterException
 
getCsvParser() - Method in class com.opencsv.CSVReaderBaseBuilder
Used by unit tests.
getDestinationClass() - Method in exception com.opencsv.exceptions.CsvDataTypeMismatchException
Gets the type of the field to which the data were to be assigned.
getDestinationField() - Method in exception com.opencsv.exceptions.CsvRequiredFieldEmptyException
Gets the field from the Reflection API that was to be assigned.
getDestinationFields() - Method in exception com.opencsv.exceptions.CsvRequiredFieldEmptyException
Returns the complete list of all fields that were to be empty.
getElement() - Method in class com.opencsv.bean.util.OrderedObject
 
getErrorLocale() - Method in class com.opencsv.bean.AbstractBeanField
 
getErrorLocale() - Method in interface com.opencsv.bean.BeanField
Returns the error locale for the beans.
getErrorLocale() - Method in class com.opencsv.CSVReaderBaseBuilder
 
getEscape() - Method in class com.opencsv.CSVParser
 
getEscapeChar() - Method in class com.opencsv.CSVParserBuilder
 
getException() - Method in class com.opencsv.AbstractCSVWriter
 
getException() - Method in interface com.opencsv.ICSVWriter
Get latest exception.
getExceptionChain() - Method in exception com.opencsv.exceptions.CsvChainedException
 
getField() - Method in class com.opencsv.bean.AbstractBeanField
 
getField() - Method in interface com.opencsv.bean.BeanField
Gets the field to be processed.
getField(Object) - Method in class com.opencsv.bean.FieldAccess
Returns the value of the field in the given bean.
getField() - Method in class com.opencsv.bean.FieldMapByNameEntry
 
getField() - Method in class com.opencsv.bean.FieldMapByPositionEntry
 
getField() - Method in exception com.opencsv.exceptions.CsvBeanIntrospectionException
Gets the field from the Reflection API that was involved in the error.
getFieldMap() - Method in class com.opencsv.bean.AbstractMappingStrategy
Returns the FieldMap associated with this mapping strategy.
getFieldMap() - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
 
getFieldMap() - Method in class com.opencsv.bean.HeaderNameBaseMappingStrategy
 
getFieldValue(Object) - Method in class com.opencsv.bean.AbstractBeanField
 
getFieldValue(Object) - Method in interface com.opencsv.bean.BeanField
Gets the contents of the selected field of the given bean.
getFirstException() - Method in exception com.opencsv.exceptions.CsvChainedException
Convenience method to return the first exception from the exception chain.
getHeaderIndex() - Method in class com.opencsv.bean.HeaderIndex
 
getHeaderIndexLength() - Method in class com.opencsv.bean.HeaderIndex
 
getInitializer() - Method in interface com.opencsv.bean.ComplexFieldMapEntry
Returns the information used to initialize this entry.
getInitializer() - Method in class com.opencsv.bean.PositionToBeanField
 
getInitializer() - Method in class com.opencsv.bean.RegexToBeanField
 
getLine() - Method in class com.opencsv.bean.concurrent.SingleLineReader
Returns a copy of the last line read by SingleLineReader.readNextLine().
getLine() - Method in exception com.opencsv.exceptions.CsvException
 
getLineNumber() - Method in exception com.opencsv.exceptions.CsvException
 
getLineNumber() - Method in exception com.opencsv.exceptions.CsvMalformedLineException
 
getLineProcessed() - Method in class com.opencsv.bean.concurrent.CompleteFileReader
 
getLinesRead() - Method in class com.opencsv.bean.concurrent.SingleLineReader
 
getLinesRead() - Method in class com.opencsv.CSVReader
This method returns the number of lines that has been read from the reader passed into the CSVReader.
getLineValidatorAggregator() - Method in class com.opencsv.CSVReaderBaseBuilder
 
getLocalizedFalse() - Method in class com.opencsv.bean.customconverter.ConverterLanguageToBoolean
This is the string for "false" in the localized language.
getLocalizedFalse() - Method in class com.opencsv.bean.customconverter.ConvertFrenchToBoolean
 
getLocalizedFalse() - Method in class com.opencsv.bean.customconverter.ConvertGermanToBoolean
 
getLocalizedMessage() - Method in exception com.opencsv.exceptions.CsvBeanIntrospectionException
 
getLocalizedTrue() - Method in class com.opencsv.bean.customconverter.ConverterLanguageToBoolean
This is the string for "true" in the localized language.
getLocalizedTrue() - Method in class com.opencsv.bean.customconverter.ConvertFrenchToBoolean
 
getLocalizedTrue() - Method in class com.opencsv.bean.customconverter.ConvertGermanToBoolean
 
getMessage() - Method in exception com.opencsv.exceptions.CsvBeanIntrospectionException
Gets a human-readable error message.
getMultilineLimit() - Method in class com.opencsv.CSVReader
Only useful for tests.
getMultilineLimit() - Method in class com.opencsv.CSVReaderBaseBuilder
Used by unit tests.
getMultilineLimit() - Method in exception com.opencsv.exceptions.CsvMultilineLimitBrokenException
 
getName() - Method in class com.opencsv.bean.FieldMapByNameEntry
 
getNextLine() - Method in class com.opencsv.CSVReader
Reads the next line from the file.
getOffendingType() - Method in exception com.opencsv.exceptions.CsvRecursionException
 
getOrCreateCsvParser() - Method in class com.opencsv.CSVReaderBaseBuilder
Creates a new ICSVParser if the class doesn't already hold one.
getOrdinal() - Method in class com.opencsv.bean.util.OrderedObject
 
getParser() - Method in class com.opencsv.CSVReader
 
getPendingText() - Method in class com.opencsv.AbstractCSVParser
 
getPendingText() - Method in interface com.opencsv.ICSVParser
If a parser is in the middle of parsing a multiline field, this will return the text collected so far.
getPosition() - Method in class com.opencsv.bean.FieldMapByPositionEntry
 
getQuotechar() - Method in class com.opencsv.AbstractCSVParser
 
getQuoteChar() - Method in class com.opencsv.CSVParserBuilder
 
getQuotechar() - Method in interface com.opencsv.ICSVParser
 
getQuoteChar() - Method in class com.opencsv.RFC4180ParserBuilder
 
getQuotecharAsString() - Method in class com.opencsv.AbstractCSVParser
 
getReader() - Method in class com.opencsv.CSVReaderBaseBuilder
Used by unit tests.
getRecordsRead() - Method in class com.opencsv.CSVReader
Used for debugging purposes, this method returns the number of records that has been read from the CSVReader.
getRecursiveMembers() - Method in class com.opencsv.bean.AbstractMappingStrategy.RecursiveType
 
getRow() - Method in exception com.opencsv.exceptions.CsvMultilineLimitBrokenException
 
getRowValidatorAggregator() - Method in class com.opencsv.CSVReaderBaseBuilder
 
getSeparator() - Method in class com.opencsv.AbstractCSVParser
 
getSeparator() - Method in class com.opencsv.CSVParserBuilder
 
getSeparator() - Method in interface com.opencsv.ICSVParser
 
getSeparator() - Method in class com.opencsv.RFC4180ParserBuilder
 
getSeparatorAsString() - Method in class com.opencsv.AbstractCSVParser
 
getSkipLines() - Method in class com.opencsv.CSVReader
Returns the number of lines in the CSV file to skip before processing.
getSkipLines() - Method in class com.opencsv.CSVReaderBaseBuilder
Used by unit tests.
getSourceObject() - Method in exception com.opencsv.exceptions.CsvConstraintViolationException
Gets the object that would have caused a constraint violation.
getSourceObject() - Method in exception com.opencsv.exceptions.CsvDataTypeMismatchException
Gets the object that was to be assigned to a field of the wrong type.
getTerminalException() - Method in class com.opencsv.bean.concurrent.CompleteFileReader
 
getType() - Method in class com.opencsv.bean.AbstractBeanField
 
getType() - Method in class com.opencsv.bean.AbstractMappingStrategy
Get the class type that the strategy is mapping.
getType() - Method in class com.opencsv.bean.AbstractMappingStrategy.RecursiveType
 
getType() - Method in interface com.opencsv.bean.BeanField
Gets the type of the bean this field is attached to.

H

handleClob(ResultSet, int) - Method in class com.opencsv.ResultSetHelperService
retrieves the data out of a CLOB
handleDate(ResultSet, int, String) - Method in class com.opencsv.ResultSetHelperService
retrieves an date from a result set
handleException(CsvException) - Method in interface com.opencsv.bean.exceptionhandler.CsvExceptionHandler
Determines how opencsv will handle exceptions that crop up during bean creation or writing.
handleException(CsvException) - Method in class com.opencsv.bean.exceptionhandler.ExceptionHandlerIgnore
 
handleException(CsvException) - Method in class com.opencsv.bean.exceptionhandler.ExceptionHandlerIgnoreThenThrowAfter
 
handleException(CsvException) - Method in class com.opencsv.bean.exceptionhandler.ExceptionHandlerQueue
 
handleException(CsvException) - Method in class com.opencsv.bean.exceptionhandler.ExceptionHandlerQueueThenThrowAfter
 
handleException(CsvException) - Method in class com.opencsv.bean.exceptionhandler.ExceptionHandlerThrow
 
handleException(CsvException, long, CsvExceptionHandler, BlockingQueue<OrderedObject<CsvException>>) - Static method in class com.opencsv.bean.util.OpencsvUtils
A function to consolidate code common to handling exceptions thrown during reading or writing of CSV files.
handleNClob(ResultSet, int) - Method in class com.opencsv.ResultSetHelperService
retrieves the data out of a NCLOB
handleNVarChar(ResultSet, int, boolean) - Method in class com.opencsv.ResultSetHelperService
retrieves the data from an NVarChar in a result set
handleTimestamp(Timestamp, String) - Method in class com.opencsv.ResultSetHelperService
The formatted timestamp.
handleVarChar(ResultSet, int, boolean) - Method in class com.opencsv.ResultSetHelperService
retrieves the data from an VarChar in a result set
hashCode() - Method in class com.opencsv.bean.FieldAccess
Creates a hash code for this object.
hasNext() - Method in class com.opencsv.CSVIterator
Returns true if the iteration has more elements.
hasNext - Variable in class com.opencsv.CSVReader
 
hasOnlyOneException() - Method in exception com.opencsv.exceptions.CsvChainedException
Convenience method that checks if the chain only has a single exception.
HeaderColumnNameMappingStrategy<T> - Class in com.opencsv.bean
Maps data to objects using the column names in the first row of the CSV file as reference.
HeaderColumnNameMappingStrategy() - Constructor for class com.opencsv.bean.HeaderColumnNameMappingStrategy
Default constructor.
HeaderColumnNameMappingStrategy(boolean) - Constructor for class com.opencsv.bean.HeaderColumnNameMappingStrategy
Constructor to allow setting options for header name mapping.
HeaderColumnNameMappingStrategyBuilder<T> - Class in com.opencsv.bean
HeaderColumnNameMappingStrategyBuilder() - Constructor for class com.opencsv.bean.HeaderColumnNameMappingStrategyBuilder
Default constructor.
HeaderColumnNameTranslateMappingStrategy<T> - Class in com.opencsv.bean
Expands on HeaderColumnNameMappingStrategy by allowing the user to pass in a map of column names to bean names.
HeaderColumnNameTranslateMappingStrategy() - Constructor for class com.opencsv.bean.HeaderColumnNameTranslateMappingStrategy
Default constructor.
HeaderColumnNameTranslateMappingStrategy(boolean) - Constructor for class com.opencsv.bean.HeaderColumnNameTranslateMappingStrategy
Constructor to allow setting options for header name mapping.
HeaderColumnNameTranslateMappingStrategyBuilder<T> - Class in com.opencsv.bean
HeaderColumnNameTranslateMappingStrategyBuilder() - Constructor for class com.opencsv.bean.HeaderColumnNameTranslateMappingStrategyBuilder
Default constructor.
headerIndex - Variable in class com.opencsv.bean.AbstractMappingStrategy
Maintains a bi-directional mapping between column position(s) and header name.
HeaderIndex - Class in com.opencsv.bean
A bi-directional mapping between column positions and header names.
HeaderIndex() - Constructor for class com.opencsv.bean.HeaderIndex
Useless but explicit nullary constructor to make the style checker happy.
HeaderNameBaseMappingStrategy<T> - Class in com.opencsv.bean
This class serves as a location to collect code common to a mapping strategy that maps header names to member variables.
HeaderNameBaseMappingStrategy() - Constructor for class com.opencsv.bean.HeaderNameBaseMappingStrategy
Nullary constructor for compatibility.
HeaderNameBaseMappingStrategy(boolean) - Constructor for class com.opencsv.bean.HeaderNameBaseMappingStrategy
Constructor to allow setting options for header name mapping.

I

icsvParser - Variable in class com.opencsv.CSVReaderBaseBuilder
 
ICSVParser - Interface in com.opencsv
This interface defines all of the behavior CSVReader needs from a parser to tokenize an input line for further processing.
ICSVWriter - Interface in com.opencsv
This interface defines all the behavior of a csv writer class.
ignoreEmptyLines - Variable in class com.opencsv.bean.concurrent.SingleLineReader
 
ignoreFields(MultiValuedMap<Class<?>, Field>) - Method in class com.opencsv.bean.AbstractMappingStrategy
 
ignoreFields(MultiValuedMap<Class<?>, Field>) - Method in interface com.opencsv.bean.MappingStrategy
When processing a bean for reading or writing, ignore the given fields from the given classes completely, including all annotations and requirements.
indexAndSplitMultivaluedField(Object, I) - Method in class com.opencsv.bean.AbstractBeanField
 
indexAndSplitMultivaluedField(Object, I) - Method in interface com.opencsv.bean.BeanField
Given the value of a bean field and an index into that value, determine what values need to be written.
indexAndSplitMultivaluedField(Object, I) - Method in class com.opencsv.bean.BeanFieldJoin
 
indexBean(T) - Method in class com.opencsv.bean.AbstractMappingStrategy
Creates an index of necessary types according to the mapping strategy and existing instances of (subordinate) beans.
INITIAL_READ_SIZE - Static variable in interface com.opencsv.ICSVParser
The average size of a line read by opencsv (used for setting the size of StringBuilders).
INITIAL_STRING_SIZE - Static variable in interface com.opencsv.ICSVWriter
Default buffer sizes
initializeFieldMap() - Method in class com.opencsv.bean.AbstractMappingStrategy
Creates an empty binding-type-specific field map that can be filled in later steps.
initializeFieldMap() - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
 
initializeFieldMap() - Method in class com.opencsv.bean.HeaderNameBaseMappingStrategy
 
initializeHeaderIndex(String[]) - Method in class com.opencsv.bean.HeaderIndex
Initializes the index with a list of header names in proper encounter order.
instantiateCustomConverter(Class<? extends AbstractBeanField<T, K>>) - Method in class com.opencsv.bean.AbstractMappingStrategy
Attempts to instantiate the class of the custom converter specified.
integerFormat - Variable in class com.opencsv.ResultSetHelperService
 
invoke(T) - Method in interface com.opencsv.bean.function.AccessorInvoker
Invoke the code to retrieve a value from a field.
invoke(T, U) - Method in interface com.opencsv.bean.function.AssignmentInvoker
Invoke the code to assign a value to a field.
isAnnotationDriven() - Method in interface com.opencsv.bean.MappingStrategy
Deprecated.
This is simply no longer necessary.
isClosed() - Method in class com.opencsv.CSVReader
Checks to see if the file is closed.
isEmpty() - Method in class com.opencsv.bean.HeaderIndex
 
isFieldEmptyForWrite(Object) - Method in class com.opencsv.bean.AbstractBeanField
Whether or not this implementation of BeanField considers the value passed in as empty for the purposes of determining whether or not a required field is empty.
isFieldEmptyForWrite(Object) - Method in class com.opencsv.bean.BeanFieldJoin
Checks that value is not null and not empty.
isFieldEmptyForWrite(Object) - Method in class com.opencsv.bean.BeanFieldSplit
Checks that value is not null and not an empty Collection.
isForbiddenClassForRecursion(Class<?>) - Method in class com.opencsv.bean.AbstractMappingStrategy
 
isIgnoreLeadingWhiteSpace() - Method in class com.opencsv.CSVParser
 
isIgnoreLeadingWhiteSpace() - Method in class com.opencsv.CSVParserBuilder
 
isIgnoreQuotations() - Method in class com.opencsv.CSVParser
 
isIgnoreQuotations() - Method in class com.opencsv.CSVParserBuilder
 
isNextCharacterEscapable(String, boolean, int) - Method in class com.opencsv.CSVParser
Checks to see if the character after the current index in a String is an escapable character.
isPending() - Method in class com.opencsv.AbstractCSVParser
 
isPending() - Method in interface com.opencsv.ICSVParser
 
isRegexPattern() - Method in class com.opencsv.bean.FieldMapByNameEntry
 
isRequired() - Method in class com.opencsv.bean.AbstractBeanField
 
isRequired() - Method in interface com.opencsv.bean.BeanField
Answers the query, whether this field is required or not.
isStrictQuotes() - Method in class com.opencsv.CSVParser
 
isStrictQuotes() - Method in class com.opencsv.CSVParserBuilder
 
isSurroundWithQuotes(String, boolean) - Method in class com.opencsv.AbstractCSVParser
Used by reverse parsing to determine if a value should be surrounded by quote characters.
isThrowExceptions() - Method in class com.opencsv.bean.StatefulBeanToCsv
Deprecated.
There is simply no need for this method.
isValid(String) - Method in class com.opencsv.bean.validators.MustMatchRegexExpression
 
isValid(String) - Method in interface com.opencsv.bean.validators.StringValidator
Performs the validation check on the string and returns the result.
isValid(String) - Method in interface com.opencsv.validators.LineValidator
Performs the validation check on the string and returns the result.
isValid(String) - Method in class com.opencsv.validators.LineValidatorAggregator
Runs all LineValidators' LineValidator.isValid(String) method against the line.
isValid(String[]) - Method in class com.opencsv.validators.RowFunctionValidator
 
isValid(String[]) - Method in class com.opencsv.validators.RowMustHaveSameNumberOfColumnsAsFirstRowValidator
 
isValid(String[]) - Method in interface com.opencsv.validators.RowValidator
Performs the validation check on the string and returns the result.
isValid(String[]) - Method in class com.opencsv.validators.RowValidatorAggregator
Runs all RowValidators' isValid(String[]) method against the line.
isVerifyReader() - Method in class com.opencsv.CSVReaderBaseBuilder
 
iterator() - Method in class com.opencsv.bean.CsvToBean
The iterator returned by this method takes one line of input at a time and returns one bean at a time.
iterator() - Method in class com.opencsv.bean.FieldMapByPosition
 
iterator() - Method in class com.opencsv.bean.PositionToBeanField
 
iterator() - Method in class com.opencsv.CSVReader
Creates an Iterator for processing the CSV data.

K

keepCarriageReturn() - Method in class com.opencsv.CSVReaderBaseBuilder
Returns if the reader built will keep or discard carriage returns.
keepCarriageReturns() - Method in class com.opencsv.CSVReader
Returns if the reader will keep carriage returns found in data or remove them.
keepCR - Variable in class com.opencsv.CSVReader
 
keepCR - Variable in class com.opencsv.CSVReaderBaseBuilder
 

L

line - Variable in class com.opencsv.bean.concurrent.SingleLineReader
Stores the result of parsing a line of input.
lineEnd - Variable in class com.opencsv.AbstractCSVWriter
 
LineExecutor<T> - Class in com.opencsv.bean.concurrent
A specific derivative of IntolerantThreadPoolExecutor intended for submitting lines of input to be converted to beans.
LineExecutor(boolean, Locale, CompleteFileReader<T>) - Constructor for class com.opencsv.bean.concurrent.LineExecutor
The only constructor available for this class.
lineReader - Variable in class com.opencsv.CSVReader
 
LineReader - Class in com.opencsv.stream.reader
This class was created for issue #106 where carriage returns were being removed.
LineReader(BufferedReader, boolean) - Constructor for class com.opencsv.stream.reader.LineReader
LineReader constructor.
linesRead - Variable in class com.opencsv.CSVReader
 
linesSkipped - Variable in class com.opencsv.CSVReader
 
LineValidator - Interface in com.opencsv.validators
This is the interface for validators for a String read by the Reader in the CSVReader before it is processed.
lineValidatorAggregator - Variable in class com.opencsv.CSVReaderBaseBuilder
 
LineValidatorAggregator - Class in com.opencsv.validators
The aggregator's purpose is to collect multiple LineValidators and run them against a single line.
LineValidatorAggregator() - Constructor for class com.opencsv.validators.LineValidatorAggregator
Default constructor.
LiteralComparator<T extends Comparable<T>> - Class in com.opencsv.bean.comparator
Deprecated.
This exact behavior can be had using comparators from Apache Commons Collections, which opencsv includes as a dependency. The following code gives the same result: List<T> predefinedList = Arrays.<T>asList(predefinedOrder); FixedOrderComparator<T> fixedComparator = new FixedOrderComparator<>(predefinedList); fixedComparator.setUnknownObjectBehavior(FixedOrderComparator.UnknownObjectBehavior.AFTER); Comparator<T> c = new ComparatorChain<>(Arrays.<Comparator<T>>asList( fixedComparator, new NullComparator<>(false), new ComparableComparator<>()));
LiteralComparator(T[]) - Constructor for class com.opencsv.bean.comparator.LiteralComparator
Deprecated.
Constructor.
loadAnnotatedFieldMap(ListValuedMap<Class<?>, Field>) - Method in class com.opencsv.bean.AbstractMappingStrategy
Creates a map of annotated fields in the bean to be processed.
loadAnnotatedFieldMap(ListValuedMap<Class<?>, Field>) - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
Creates a map of annotated fields in the bean to be processed.
loadAnnotatedFieldMap(ListValuedMap<Class<?>, Field>) - Method in class com.opencsv.bean.HeaderColumnNameMappingStrategy
Creates a map of annotated fields in the bean to be processed.
loadFieldMap() - Method in class com.opencsv.bean.AbstractMappingStrategy
Builds a map of columns from the input to fields of the bean type.
loadRecursiveClasses(Class<?>, Set<Class<?>>) - Method in class com.opencsv.bean.AbstractMappingStrategy
Creates a tree of beans embedded in each other.
loadUnadornedFieldMap(ListValuedMap<Class<?>, Field>) - Method in class com.opencsv.bean.AbstractMappingStrategy
Creates a map of fields in the bean to be processed that have no annotations.
loadUnadornedFieldMap(ListValuedMap<Class<?>, Field>) - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
 
loadUnadornedFieldMap(ListValuedMap<Class<?>, Field>) - Method in class com.opencsv.bean.FuzzyMappingStrategy
This implementation intentionally does nothing in order to allow fuzzy matching in case there are no annotations at all in the class in question.
loadUnadornedFieldMap(ListValuedMap<Class<?>, Field>) - Method in class com.opencsv.bean.HeaderNameBaseMappingStrategy
Creates a map of fields in the bean to be processed that have no binding annotations.
locale - Variable in class com.opencsv.bean.AbstractCsvConverter
The locale to be used when converting for reading, if a locale is relevant.

M

MappingStrategy<T> - Interface in com.opencsv.bean
The interface for the classes that handle translating between the columns in the CSV file to an actual object.
MAX_SIZE_FOR_EMPTY_FIELD - Static variable in interface com.opencsv.ICSVParser
When creating builders this should be the smallest size to account for quotes and any possible escape characters.
multilineLimit - Variable in class com.opencsv.CSVReader
 
multilineLimit - Variable in class com.opencsv.CSVReaderBaseBuilder
 
MustMatchRegexExpression - Class in com.opencsv.bean.validators
This is a validator that, due to the addition of the parameter, allows the validation of multiple different types of input.
MustMatchRegexExpression() - Constructor for class com.opencsv.bean.validators.MustMatchRegexExpression
Default constructor.

N

NEWLINE - Static variable in interface com.opencsv.ICSVParser
Default newline character for the parser.
next() - Method in class com.opencsv.CSVIterator
Returns the next element in the iterator.
NO_ESCAPE_CHARACTER - Static variable in interface com.opencsv.ICSVWriter
The escape constant to use when you wish to suppress all escaping.
NO_QUOTE_CHARACTER - Static variable in interface com.opencsv.ICSVWriter
The quote constant to use when you wish to suppress all quoting.
NULL_CHARACTER - Static variable in interface com.opencsv.ICSVParser
This is the "null" character - if a value is set to this then it is ignored.
nullFieldIndicator - Variable in class com.opencsv.AbstractCSVParser
Determines the handling of null fields.
nullFieldIndicator() - Method in class com.opencsv.AbstractCSVParser
 
nullFieldIndicator() - Method in class com.opencsv.CSVParserBuilder
 
nullFieldIndicator - Variable in class com.opencsv.CSVReaderBaseBuilder
 
nullFieldIndicator() - Method in interface com.opencsv.ICSVParser
 
nullFieldIndicator() - Method in class com.opencsv.RFC4180ParserBuilder
 

O

OpencsvUtils - Class in com.opencsv.bean.util
This class is meant to be a collection of general purpose static methods useful in internal processing for opencsv.
OrderedObject<E> - Class in com.opencsv.bean.util
A simple class for ordering objects.
OrderedObject(long, E) - Constructor for class com.opencsv.bean.util.OrderedObject
Creates an object with an order.

P

parse() - Method in class com.opencsv.bean.CsvToBean
Parses the input based on parameters already set through other methods.
parseLine(String) - Method in class com.opencsv.AbstractCSVParser
 
parseLine(String, boolean) - Method in class com.opencsv.AbstractCSVParser
Parses an incoming String and returns an array of elements.
parseLine(String, boolean) - Method in class com.opencsv.CSVParser
 
parseLine(String) - Method in interface com.opencsv.ICSVParser
Parses an incoming String and returns an array of elements.
parseLine(String, boolean) - Method in class com.opencsv.RFC4180Parser
Parses an incoming String and returns an array of elements.
parseLineMulti(String) - Method in class com.opencsv.AbstractCSVParser
 
parseLineMulti(String) - Method in interface com.opencsv.ICSVParser
Parses an incoming String and returns an array of elements.
parser - Variable in class com.opencsv.CSVParserWriter
 
parser - Variable in class com.opencsv.CSVReader
 
parseToLine(String[], boolean) - Method in class com.opencsv.AbstractCSVParser
 
parseToLine(String[], boolean, Appendable) - Method in class com.opencsv.AbstractCSVParser
 
parseToLine(String[], boolean) - Method in interface com.opencsv.ICSVParser
Essentially a "Reverse parse" where an array of values are concatenating to a csv delimited string.
parseToLine(String[], boolean, Appendable) - Method in interface com.opencsv.ICSVParser
Essentially a "Reverse parse" where an array of values are concatenating to a csv delimited string.
partitionFields() - Method in class com.opencsv.bean.AbstractMappingStrategy
Partitions all non-synthetic fields of the bean type being processed into annotated and non-annotated fields according to AbstractMappingStrategy.getBindingAnnotations().
PASSTHROUGH_EXCEPTIONS - Static variable in class com.opencsv.CSVReader
 
peek() - Method in class com.opencsv.CSVReader
Returns the next line from the input without removing it from the CSVReader and not running any validators.
peekedLine - Variable in class com.opencsv.CSVReader
 
peekedLines - Variable in class com.opencsv.CSVReader
 
pending - Variable in class com.opencsv.AbstractCSVParser
Value to be appended to string to process.
populateNewBean(String[]) - Method in class com.opencsv.bean.AbstractMappingStrategy
 
populateNewBean(String[]) - Method in interface com.opencsv.bean.MappingStrategy
Takes a line of input from a CSV file and creates a bean out of it.
PositionToBeanField<T> - Class in com.opencsv.bean
Maps any column position matching a range definition to a BeanField.
PositionToBeanField(String, int, BeanField<T, Integer>, Locale) - Constructor for class com.opencsv.bean.PositionToBeanField
Initializes this mapping with a list of ranges and the associated BeanField.
PreAssignmentProcessor - Annotation Type in com.opencsv.bean.processor
Specifies the binding of a processor to a field in a bean.
PreAssignmentValidator - Annotation Type in com.opencsv.bean.validators
Specifies the binding of a validator to a field in a bean.
prepare() - Method in class com.opencsv.bean.concurrent.LineExecutor
 
processCharacter(Appendable, char) - Method in class com.opencsv.CSVWriter
Appends the character to the StringBuilder adding the escape character if needed.
processColumnItem(String) - Method in interface com.opencsv.processor.RowProcessor
Method that contains the code that will transform a single column/element.
ProcessCsvBean<T> - Class in com.opencsv.bean.concurrent
A class for converting one bean into its string representation for writing to an output.
ProcessCsvBean(long, MappingStrategy<T>, T, BlockingQueue<OrderedObject<String[]>>, BlockingQueue<OrderedObject<CsvException>>, SortedSet<Long>, CsvExceptionHandler) - Constructor for class com.opencsv.bean.concurrent.ProcessCsvBean
The only constructor for creating a line of CSV output out of a bean.
ProcessCsvLine<T> - Class in com.opencsv.bean.concurrent
A class that encapsulates the job of creating a bean from a line of CSV input and making it possible to run those jobs in parallel.
ProcessCsvLine(long, MappingStrategy<? extends T>, CsvToBeanFilter, List<BeanVerifier<T>>, String[], BlockingQueue<OrderedObject<T>>, BlockingQueue<OrderedObject<CsvException>>, SortedSet<Long>, CsvExceptionHandler) - Constructor for class com.opencsv.bean.concurrent.ProcessCsvLine
The only constructor for creating a bean out of a line of input.
processLine(String, Appendable) - Method in class com.opencsv.CSVWriter
Processes all the characters in a line.
processRow(String[]) - Method in interface com.opencsv.processor.RowProcessor
Method that will process the entire row.
processString(String) - Method in class com.opencsv.bean.processor.ConvertEmptyOrBlankStringsToDefault
 
processString(String) - Method in class com.opencsv.bean.processor.ConvertEmptyOrBlankStringsToNull
 
processString(String) - Method in class com.opencsv.bean.processor.ConvertWordNullToNull
 
processString(String) - Method in interface com.opencsv.bean.processor.StringProcessor
Method that contains the code that will transform a string into the value that will be validated and converted into the bean field.
profile - Variable in class com.opencsv.bean.AbstractMappingStrategy
The profile for configuring bean fields.
put(K, BeanField<T, K>) - Method in class com.opencsv.bean.AbstractFieldMap
 
put(K, BeanField<T, K>) - Method in interface com.opencsv.bean.FieldMap
Associates the given BeanField with the given key.
put(int, String) - Method in class com.opencsv.bean.HeaderIndex
Adds a new mapping between a column position and a header.
putComplex(I, BeanField<T, K>) - Method in interface com.opencsv.bean.FieldMap
Adds a BeanField to this map indexed by the data in initializer.
putComplex(String, BeanField<T, String>) - Method in class com.opencsv.bean.FieldMapByName
 
putComplex(String, BeanField<T, Integer>) - Method in class com.opencsv.bean.FieldMapByPosition
 
putNewValue(MultiValuedMap<I, Object>, String, Object) - Method in class com.opencsv.bean.BeanFieldJoin
Puts the value given in newValue into map using index.
putNewValue(MultiValuedMap<Integer, Object>, String, Object) - Method in class com.opencsv.bean.BeanFieldJoinIntegerIndex
 
putNewValue(MultiValuedMap<String, Object>, String, Object) - Method in class com.opencsv.bean.BeanFieldJoinStringIndex
 

Q

queueRefuseToAcceptDefeat(BlockingQueue<E>, E) - Static method in class com.opencsv.bean.util.OpencsvUtils
I find it annoying that when I want to queue something in a blocking queue, the thread might be interrupted and I have to try again; this method fixes that.
quotechar - Variable in class com.opencsv.AbstractCSVParser
This is the character that the CSVParser will treat as the quotation character.
quotechar - Variable in class com.opencsv.CSVWriter
 
quotecharAsString - Variable in class com.opencsv.AbstractCSVParser
This is the quotechar in String form to reduce the number of calls to toString.
quoteDoubledAsString - Variable in class com.opencsv.AbstractCSVParser
This is quotecharAsString+quotecharAsString - used in replaceAll to reduce the number of strings being created.
quoteMatcherPattern - Variable in class com.opencsv.AbstractCSVParser
pattern created to match quotechars - optimizaion of the String.replaceAll.

R

READ_AHEAD_LIMIT - Static variable in class com.opencsv.CSVReader
 
READ_BUFFER_SIZE - Static variable in interface com.opencsv.ICSVParser
In most cases we know the size of the line we want to read.
readAll() - Method in class com.opencsv.CSVReader
Reads the entire file into a List with each element being a String[] of tokens.
readConverter - Variable in class com.opencsv.bean.ConverterPrimitiveTypes
The formatter for all inputs to wrapped and unwrapped primitive types when a specific locale is not required.
reader - Variable in class com.opencsv.CSVReaderBaseBuilder
 
readLine() - Method in class com.opencsv.stream.reader.LineReader
Reads the next line from the Reader.
readLocaleConverter - Variable in class com.opencsv.bean.ConverterPrimitiveTypes
The formatter for all inputs to wrapped and unwrapped primitive types when a specific locale is required.
readMap() - Method in class com.opencsv.CSVReaderHeaderAware
Reads the next line and returns a map of header values and data values.
readNext() - Method in class com.opencsv.CSVReader
Reads the next line from the buffer and converts to a string array.
readNext(String...) - Method in class com.opencsv.CSVReaderHeaderAware
Retrieves a specific data element from a line based on the value of the header.
readNextLine() - Method in class com.opencsv.bean.concurrent.SingleLineReader
Reads from the CSVReader provided on instantiation until a usable line of input is found.
readNextSilently() - Method in class com.opencsv.CSVReader
Reads the next line from the buffer and converts to a string array without running the custom defined validators.
recordsRead - Variable in class com.opencsv.CSVReader
 
RecursiveType(Class<?>) - Constructor for class com.opencsv.bean.AbstractMappingStrategy.RecursiveType
Constructs a AbstractMappingStrategy.RecursiveType with the specified type.
recursiveTypeTree - Variable in class com.opencsv.bean.AbstractMappingStrategy
A tree of the types encountered during recursion through the root bean type.
RegexToBeanField<T> - Class in com.opencsv.bean
Maps any header name matching a regular expression to a BeanField.
RegexToBeanField(String, BeanField<T, String>, Locale) - Constructor for class com.opencsv.bean.RegexToBeanField
Initializes this mapping with the regular expression used to map header names and the BeanField they should be mapped to.
remove() - Method in class com.opencsv.CSVIterator
This method is not supported by opencsv and will throw an UnsupportedOperationException if called.
required - Variable in class com.opencsv.bean.AbstractBeanField
Whether or not this field is required.
resetError() - Method in class com.opencsv.AbstractCSVWriter
 
resetError() - Method in interface com.opencsv.ICSVWriter
Set the error back to null to be able to check for the next error using ICSVWriter.checkError().
resultService - Variable in class com.opencsv.AbstractCSVWriter
 
resultService() - Method in class com.opencsv.AbstractCSVWriter
Lazy resultSetHelper creation.
ResultSetColumnNameHelperService - Class in com.opencsv
Helper class for processing JDBC ResultSet objects allowing the user to process a subset of columns and set custom header names.
ResultSetColumnNameHelperService() - Constructor for class com.opencsv.ResultSetColumnNameHelperService
Nullary constructor.
ResultSetHelper - Interface in com.opencsv
Interface for the ResultSetHelperService.
ResultSetHelperService - Class in com.opencsv
Helper class for processing JDBC ResultSet objects.
ResultSetHelperService() - Constructor for class com.opencsv.ResultSetHelperService
Default constructor.
RFC4180_LINE_END - Static variable in interface com.opencsv.ICSVWriter
RFC 4180 compliant line terminator.
RFC4180Parser - Class in com.opencsv
This Parser is meant to parse according to the RFC4180 specification.
RFC4180Parser() - Constructor for class com.opencsv.RFC4180Parser
Default constructor for the RFC4180Parser.
RFC4180ParserBuilder - Class in com.opencsv
Builder for creating a RFC4180Parser.
RFC4180ParserBuilder() - Constructor for class com.opencsv.RFC4180ParserBuilder
Default constructor.
RowFunctionValidator - Class in com.opencsv.validators
This validator is best used to validate a specific property of the row - either about a specific element or information about the array itself.
RowFunctionValidator(Function<String[], Boolean>, String) - Constructor for class com.opencsv.validators.RowFunctionValidator
Default Constructor.
RowMustHaveSameNumberOfColumnsAsFirstRowValidator - Class in com.opencsv.validators
This validator is used when the number of columns is not neccessarily known but must be consistent.
RowMustHaveSameNumberOfColumnsAsFirstRowValidator() - Constructor for class com.opencsv.validators.RowMustHaveSameNumberOfColumnsAsFirstRowValidator
Default constructor.
rowProcessor - Variable in class com.opencsv.CSVReaderBaseBuilder
 
RowProcessor - Interface in com.opencsv.processor
This is the interface for processors for an array of Strings read by the CSVReader before they are validated.
RowValidator - Interface in com.opencsv.validators
This is the interface for validators for an array of Strings read by the CSVReader after it is processed.
rowValidatorAggregator - Variable in class com.opencsv.CSVReaderBaseBuilder
 
RowValidatorAggregator - Class in com.opencsv.validators
The aggregator's purpose is to collect multiple RowValidators and run them against a single array of strings.
RowValidatorAggregator() - Constructor for class com.opencsv.validators.RowValidatorAggregator
Default constructor.
run() - Method in class com.opencsv.bean.concurrent.CompleteFileReader
Runs a nice, tight loop to simply read input and submit for conversion.
run() - Method in class com.opencsv.bean.concurrent.ProcessCsvBean
 
run() - Method in class com.opencsv.bean.concurrent.ProcessCsvLine
 

S

selectAnnotationForProfile(A[], Function<A, String[]>) - Method in class com.opencsv.bean.AbstractMappingStrategy
Determines which one of a list of annotations applies to the currently selected profile.
separator - Variable in class com.opencsv.AbstractCSVParser
This is the character that the CSVParser will treat as the separator.
separator - Variable in class com.opencsv.CSVWriter
 
separatorAsString - Variable in class com.opencsv.AbstractCSVParser
This is the separator in Stirng form to reduce the number of calls to toString.
setColumnMapping(String...) - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
Setter for the column mapping.
setColumnMapping(Map<String, String>) - Method in class com.opencsv.bean.HeaderColumnNameTranslateMappingStrategy
Sets the column mapping to those passed in.
setColumnNames(String[], String[]) - Method in class com.opencsv.ResultSetColumnNameHelperService
Set the JDBC column names to use, and the header text for the CSV file
setColumnOrderOnWrite(Comparator<Integer>) - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
Sets the Comparator to be used to sort columns when writing beans to a CSV file.
setColumnOrderOnWrite(Comparator<String>) - Method in class com.opencsv.bean.FieldMapByName
Sets the Comparator to be used to sort columns when writing beans to a CSV file.
setColumnOrderOnWrite(Comparator<Integer>) - Method in class com.opencsv.bean.FieldMapByPosition
Sets the Comparator to be used to sort columns when writing beans to a CSV file.
setColumnOrderOnWrite(Comparator<String>) - Method in class com.opencsv.bean.HeaderNameBaseMappingStrategy
Sets the Comparator to be used to sort columns when writing beans to a CSV file.
setCsvReader(CSVReader) - Method in class com.opencsv.bean.CsvToBean
Sets the reader to be used to read in the information from the CSV input.
setDateFormat(String) - Method in class com.opencsv.ResultSetHelperService
Set a default date format pattern that will be used by the service.
setDateTimeFormat(String) - Method in class com.opencsv.ResultSetHelperService
Set a default date time format pattern that will be used by the service.
setErrorLocale(Locale) - Method in class com.opencsv.bean.AbstractBeanField
 
setErrorLocale(Locale) - Method in class com.opencsv.bean.AbstractCsvConverter
 
setErrorLocale(Locale) - Method in class com.opencsv.bean.AbstractFieldMap
 
setErrorLocale(Locale) - Method in class com.opencsv.bean.AbstractFieldMapEntry
 
setErrorLocale(Locale) - Method in class com.opencsv.bean.AbstractMappingStrategy
 
setErrorLocale(Locale) - Method in interface com.opencsv.bean.BeanField
Sets the locale for all error messages.
setErrorLocale(Locale) - Method in interface com.opencsv.bean.ComplexFieldMapEntry
Sets the locale to be used for error messages.
setErrorLocale(Locale) - Method in interface com.opencsv.bean.CsvConverter
Sets the locale for all error messages.
setErrorLocale(Locale) - Method in class com.opencsv.bean.CsvToBean
Sets the locale for error messages.
setErrorLocale(Locale) - Method in interface com.opencsv.bean.FieldMap
Sets the locale to be used for error messages.
setErrorLocale(Locale) - Method in interface com.opencsv.bean.MappingStrategy
Sets the locale for all error messages.
setErrorLocale(Locale) - Method in class com.opencsv.bean.StatefulBeanToCsv
Sets the locale for all error messages.
setErrorLocale(Locale) - Method in class com.opencsv.CSVIterator
Sets the locale for error messages.
setErrorLocale(Locale) - Method in class com.opencsv.CSVParser
 
setErrorLocale(Locale) - Method in class com.opencsv.CSVReader
Sets the locale for all error messages.
setErrorLocale(Locale) - Method in interface com.opencsv.ICSVParser
Sets the locale for all error messages.
setErrorLocale(Locale) - Method in class com.opencsv.ResultSetColumnNameHelperService
Sets the locale for error messages.
setErrorLocale(Locale) - Method in class com.opencsv.RFC4180Parser
 
setExceptionHandler(CsvExceptionHandler) - Method in class com.opencsv.bean.CsvToBean
Sets the handler for recoverable exceptions raised during processing of records.
setExecutor(LineExecutor<T>) - Method in class com.opencsv.bean.concurrent.CompleteFileReader
Sets the executor that will convert text input to bean output.
setField(Field) - Method in class com.opencsv.bean.AbstractBeanField
 
setField(Field) - Method in interface com.opencsv.bean.BeanField
Sets the field to be processed.
setField(Object, T) - Method in class com.opencsv.bean.FieldAccess
Sets the value of the field in the given bean.
setFieldValue(Object, String, String) - Method in class com.opencsv.bean.AbstractBeanField
 
setFieldValue(Map<Class<?>, Object>, String, int) - Method in class com.opencsv.bean.AbstractMappingStrategy
Populates the field corresponding to the column position indicated of the bean passed in according to the rules of the mapping strategy.
setFieldValue(Object, String, String) - Method in interface com.opencsv.bean.BeanField
Populates the selected field of the bean.
setFilter(CsvToBeanFilter) - Method in class com.opencsv.bean.CsvToBean
Sets a filter to selectively remove some lines of input before they become beans.
setFloatingPointFormat(NumberFormat) - Method in class com.opencsv.ResultSetHelperService
Set a default number formatter for integer numbers that will be used by the service.
setIgnoreEmptyLines(boolean) - Method in class com.opencsv.bean.CsvToBean
Ignores any blank lines in the data that are not part of a field.
setIntegerFormat(NumberFormat) - Method in class com.opencsv.ResultSetHelperService
Set a default number formatter for floating point numbers that will be used by the service.
setLine(String[]) - Method in exception com.opencsv.exceptions.CsvChainedException
Sets the line for all exceptions collected.
setLine(String[]) - Method in exception com.opencsv.exceptions.CsvException
 
setLineNumber(long) - Method in exception com.opencsv.exceptions.CsvChainedException
Sets the line number for all exceptions collected.
setLineNumber(long) - Method in exception com.opencsv.exceptions.CsvException
 
setLocale(String) - Method in class com.opencsv.bean.AbstractCsvConverter
 
setLocale(String) - Method in interface com.opencsv.bean.CsvConverter
If not null or empty, specifies the locale used for converting locale-specific data types for reading.
setMappingStrategy(MappingStrategy<? extends T>) - Method in class com.opencsv.bean.CsvToBean
Sets the mapping strategy to be used by this bean.
setMaxIndex(int) - Method in class com.opencsv.bean.FieldMapByPosition
Sets the maximum index for all ranges specified in the entire field map.
setOrderedResults(boolean) - Method in class com.opencsv.bean.CsvToBean
Sets whether or not results must be returned in the same order in which they appear in the input.
setOrderedResults(boolean) - Method in class com.opencsv.bean.StatefulBeanToCsv
Sets whether or not results must be written in the same order in which they appear in the list of beans provided as input.
setParameterString(String) - Method in class com.opencsv.bean.processor.ConvertEmptyOrBlankStringsToDefault
 
setParameterString(String) - Method in class com.opencsv.bean.processor.ConvertEmptyOrBlankStringsToNull
This method is unused in this implementation as we are converting to null.
setParameterString(String) - Method in class com.opencsv.bean.processor.ConvertWordNullToNull
This method is unused in this implementation as we are converting to null.
setParameterString(String) - Method in interface com.opencsv.bean.processor.StringProcessor
This allows the validator extending StringProcessor to be used by multiple fields by allowing you to pass in data for the processor to be used.
setParameterString(String) - Method in class com.opencsv.bean.validators.MustMatchRegexExpression
 
setParameterString(String) - Method in interface com.opencsv.bean.validators.StringValidator
This allows the validator extending StringValidator to be used by multiple fields by allowing you to pass in data for the validator to be used.
setProfile(String) - Method in class com.opencsv.bean.AbstractMappingStrategy
Sets the profile this mapping strategy will use when configuring bean fields.
setProfile(String) - Method in interface com.opencsv.bean.MappingStrategy
Sets the profile this mapping strategy will use when configuring bean fields.
setRequired(boolean) - Method in class com.opencsv.bean.AbstractBeanField
 
setRequired(boolean) - Method in interface com.opencsv.bean.BeanField
Determines whether or not a field is required.
setResultService(ResultSetHelper) - Method in class com.opencsv.AbstractCSVWriter
 
setResultService(ResultSetHelper) - Method in interface com.opencsv.ICSVWriter
Sets the result service.
setThrowExceptions(boolean) - Method in class com.opencsv.bean.CsvToBean
Determines whether errors during import should be thrown or kept in a list for later retrieval via CsvToBean.getCapturedExceptions().
setType(Class<?>) - Method in class com.opencsv.bean.AbstractBeanField
 
setType(Class<?>) - Method in class com.opencsv.bean.AbstractCsvConverter
 
setType(Class<? extends T>) - Method in class com.opencsv.bean.AbstractMappingStrategy
Sets the class type that is being mapped.
setType(Class<?>) - Method in interface com.opencsv.bean.BeanField
Sets the type of the bean this field is attached to.
setType(Class<?>) - Method in interface com.opencsv.bean.CsvConverter
Sets the class of the type of the data being processed.
setType(Class<? extends T>) - Method in interface com.opencsv.bean.MappingStrategy
Sets the class type that is being mapped.
setVerifiers(List<BeanVerifier<T>>) - Method in class com.opencsv.bean.CsvToBean
Sets the list of verifiers to be run on all beans after creation.
setWriteLocale(String) - Method in class com.opencsv.bean.AbstractCsvConverter
 
setWriteLocale(String) - Method in interface com.opencsv.bean.CsvConverter
If not null or empty, specifies the locale used for converting locale-specific data types for writing.
simpleMap - Variable in class com.opencsv.bean.AbstractFieldMap
A map for all simple, that is one-to-one, mappings represented in this FieldMap.
SingleLineReader - Class in com.opencsv.bean.concurrent
This class exists to isolate the logic for reading a single line of input that is common to CsvToBean.iterator() and CompleteFileReader.
SingleLineReader(CSVReader, boolean) - Constructor for class com.opencsv.bean.concurrent.SingleLineReader
The only constructor.
skip(int) - Method in class com.opencsv.CSVReader
Skip a given number of lines.
skipLines - Variable in class com.opencsv.CSVReader
 
skipLines - Variable in class com.opencsv.CSVReaderBaseBuilder
 
SPECIAL_REGEX_CHARS - Static variable in class com.opencsv.AbstractCSVParser
This is needed by the split command in case the separator character is a regex special character.
StatefulBeanToCsv<T> - Class in com.opencsv.bean
This class writes beans out in CSV format to a Writer, keeping state information and making an intelligent guess at the mapping strategy to be applied.
StatefulBeanToCsv(MappingStrategy<T>, CsvExceptionHandler, boolean, ICSVWriter, MultiValuedMap<Class<?>, Field>, String) - Constructor for class com.opencsv.bean.StatefulBeanToCsv
Constructor used to allow building of a StatefulBeanToCsv with a user-supplied ICSVWriter class.
StatefulBeanToCsvBuilder<T> - Class in com.opencsv.bean
This is a builder for StatefulBeanToCsv, allowing one to set all parameters necessary for writing a CSV file.
StatefulBeanToCsvBuilder(Writer) - Constructor for class com.opencsv.bean.StatefulBeanToCsvBuilder
Default constructor - Being stateful the writer is required by the builder at the start and not added in later.
StatefulBeanToCsvBuilder(ICSVWriter) - Constructor for class com.opencsv.bean.StatefulBeanToCsvBuilder
Being stateful the writer is required by the builder at the start and not added in later.
stream() - Method in class com.opencsv.bean.CsvToBean
Parses the input based on parameters already set through other methods.
stringContainsSpecialCharacters(String) - Method in class com.opencsv.CSVWriter
Checks to see if the line contains special characters.
StringProcessor - Interface in com.opencsv.bean.processor
This is the interface for validators for a single String value.
StringValidator - Interface in com.opencsv.bean.validators
This is the interface for validators for a single String value.
submitBean(long, MappingStrategy<T>, T, CsvExceptionHandler) - Method in class com.opencsv.bean.concurrent.BeanExecutor
Submit one bean for conversion.
submitLine(long, MappingStrategy<? extends T>, CsvToBeanFilter, List<BeanVerifier<T>>, String[], CsvExceptionHandler) - Method in class com.opencsv.bean.concurrent.LineExecutor
Submit one record for conversion to a bean.

T

toString() - Method in class com.opencsv.bean.FieldAccess
Returns a string representation of this object.
transmuteBean(T) - Method in class com.opencsv.bean.AbstractMappingStrategy
 
transmuteBean(T) - Method in interface com.opencsv.bean.MappingStrategy
Transmutes a bean instance into an array of Strings to be written to a CSV file.
type - Variable in class com.opencsv.bean.AbstractBeanField
The type the field is located in.
type - Variable in class com.opencsv.bean.AbstractCsvConverter
The type to which (on reading) or from which (on writing) conversion is being performed.
type - Variable in class com.opencsv.bean.AbstractMappingStrategy
This is the class of the bean to be manipulated.

V

validate(String, BeanField) - Method in class com.opencsv.bean.validators.MustMatchRegexExpression
 
validate(String, BeanField) - Method in interface com.opencsv.bean.validators.StringValidator
Performs the validation check on the string and throws an exception if invalid.
validate(String) - Method in interface com.opencsv.validators.LineValidator
Performs the validation check on the string and throws an exception if invalid.
validate(String) - Method in class com.opencsv.validators.LineValidatorAggregator
Runs all LineValidators validate commands and if the string is invalid then it combines all the validation error messages in a single CsvValidationException.
validate(String[]) - Method in class com.opencsv.validators.RowFunctionValidator
 
validate(String[]) - Method in class com.opencsv.validators.RowMustHaveSameNumberOfColumnsAsFirstRowValidator
 
validate(String[]) - Method in interface com.opencsv.validators.RowValidator
Performs the validation check on the row (an array of Strings) and throws an exception if invalid.
validate(String[]) - Method in class com.opencsv.validators.RowValidatorAggregator
Runs all RowValidators' validate(String[]) methods and if the string array is invalid, then it combines all the validation error messages in a single CsvValidationException.
validateResult(String[], long) - Method in class com.opencsv.CSVReader
Increments the number of records read if the result passed in is not null.
valueOf(String) - Static method in enum com.opencsv.enums.CSVReaderNullFieldIndicator
Returns the enum constant of this type with the specified name.
values() - Method in class com.opencsv.bean.AbstractFieldMap
 
values() - Method in interface com.opencsv.bean.FieldMap
Provides all values currently in the map.
values() - Static method in enum com.opencsv.enums.CSVReaderNullFieldIndicator
Returns an array containing the constants of this enum type, in the order they are declared.
verifyBean(T) - Method in interface com.opencsv.bean.BeanVerifier
Verifies and optionally filters the bean that has been created.
verifyFormatString(String, Class<?>, Locale) - Static method in class com.opencsv.bean.util.OpencsvUtils
Verifies that the given format string works with one string parameter.
verifyLineLength(int) - Method in class com.opencsv.bean.AbstractMappingStrategy
Must be called once the length of input for a line/record is known to verify that the line was complete.
verifyLineLength(int) - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
 
verifyLineLength(int) - Method in class com.opencsv.bean.HeaderNameBaseMappingStrategy
 
verifyReader - Variable in class com.opencsv.CSVReader
 
verifyReader() - Method in class com.opencsv.CSVReader
Returns if the CSVReader will verify the reader before each read.
verifyReader - Variable in class com.opencsv.CSVReaderBaseBuilder
 

W

withApplyQuotesToAll(boolean) - Method in class com.opencsv.bean.StatefulBeanToCsvBuilder
Sets whether all outputs should be put in quotes.
withCSVParser(ICSVParser) - Method in class com.opencsv.CSVReaderBuilder
Sets the parser to use to parse the input.
withCSVParser(ICSVParser) - Method in class com.opencsv.CSVReaderHeaderAwareBuilder
Sets the parser to use to parse the input.
withErrorLocale(Locale) - Method in class com.opencsv.bean.CsvToBeanBuilder
Sets the locale for all error messages.
withErrorLocale(Locale) - Method in class com.opencsv.bean.StatefulBeanToCsvBuilder
Sets the locale to be used for all error messages.
withErrorLocale(Locale) - Method in class com.opencsv.CSVParserBuilder
Sets the locale for all error messages.
withErrorLocale(Locale) - Method in class com.opencsv.CSVReaderBuilder
Sets the locale for all error messages.
withErrorLocale(Locale) - Method in class com.opencsv.CSVReaderHeaderAwareBuilder
Sets the locale for all error messages.
withEscapeChar(char) - Method in class com.opencsv.bean.CsvToBeanBuilder
 
withEscapechar(char) - Method in class com.opencsv.bean.StatefulBeanToCsvBuilder
 
withEscapeChar(char) - Method in class com.opencsv.CSVParserBuilder
Sets the character to use for escaping a separator or quote.
withEscapeChar(char) - Method in class com.opencsv.CSVWriterBuilder
Sets the escape character that the ICSVWriter will be using.
withExceptionHandler(CsvExceptionHandler) - Method in class com.opencsv.bean.CsvToBeanBuilder
Sets the handler for recoverable exceptions raised during processing of records.
withExceptionHandler(CsvExceptionHandler) - Method in class com.opencsv.bean.StatefulBeanToCsvBuilder
Sets the handler for recoverable exceptions raised during processing of records.
withFieldAsNull(CSVReaderNullFieldIndicator) - Method in class com.opencsv.bean.CsvToBeanBuilder
 
withFieldAsNull(CSVReaderNullFieldIndicator) - Method in class com.opencsv.CSVParserBuilder
Sets the NullFieldIndicator.
withFieldAsNull(CSVReaderNullFieldIndicator) - Method in class com.opencsv.CSVReaderBuilder
Checks to see if it should treat a field with two separators, two quotes, or both as a null field.
withFieldAsNull(CSVReaderNullFieldIndicator) - Method in class com.opencsv.CSVReaderHeaderAwareBuilder
Checks to see if it should treat a field with two separators, two quotes, or both as a null field.
withFieldAsNull(CSVReaderNullFieldIndicator) - Method in class com.opencsv.RFC4180ParserBuilder
Sets the NullFieldIndicator.
withFilter(CsvToBeanFilter) - Method in class com.opencsv.bean.CsvToBeanBuilder
 
withForceCorrectRecordLength(boolean) - Method in class com.opencsv.bean.FuzzyMappingStrategyBuilder
Insists that every record will be considered to be of the correct length (that is, the same number of columns as the header).
withForceCorrectRecordLength(boolean) - Method in class com.opencsv.bean.HeaderColumnNameMappingStrategyBuilder
Insists that every record will be considered to be of the correct length (that is, the same number of columns as the header).
withForceCorrectRecordLength(boolean) - Method in class com.opencsv.bean.HeaderColumnNameTranslateMappingStrategyBuilder
Insists that every record will be considered to be of the correct length (that is, the same number of columns as the header).
withIgnoreEmptyLine(boolean) - Method in class com.opencsv.bean.CsvToBeanBuilder
 
withIgnoreField(Class<?>, Field) - Method in class com.opencsv.bean.CsvToBeanBuilder
Adds a Field to the list of fields opencsv should ignore completely.
withIgnoreField(Class<?>, Field) - Method in class com.opencsv.bean.StatefulBeanToCsvBuilder
Adds a Field to the list of fields opencsv should ignore completely.
withIgnoreLeadingWhiteSpace(boolean) - Method in class com.opencsv.bean.CsvToBeanBuilder
 
withIgnoreLeadingWhiteSpace(boolean) - Method in class com.opencsv.CSVParserBuilder
Sets the ignore leading whitespace setting - if true, white space in front of a quote in a field is ignored.
withIgnoreQuotations(boolean) - Method in class com.opencsv.bean.CsvToBeanBuilder
 
withIgnoreQuotations(boolean) - Method in class com.opencsv.CSVParserBuilder
Sets the ignore quotations mode - if true, quotations are ignored.
withKeepCarriageReturn(boolean) - Method in class com.opencsv.bean.CsvToBeanBuilder
 
withKeepCarriageReturn(boolean) - Method in class com.opencsv.CSVReaderBuilder
Sets if the reader will keep or discard carriage returns.
withKeepCarriageReturn(boolean) - Method in class com.opencsv.CSVReaderHeaderAwareBuilder
Sets if the reader will keep or discard carriage returns.
withLineEnd(String) - Method in class com.opencsv.bean.StatefulBeanToCsvBuilder
 
withLineEnd(String) - Method in class com.opencsv.CSVWriterBuilder
Sets the newline character that the ICSVWriter will use.
withLineValidator(LineValidator) - Method in class com.opencsv.CSVReaderBuilder
Adds a LineValidator to the CSVReader.
withLineValidator(LineValidator) - Method in class com.opencsv.CSVReaderHeaderAwareBuilder
withMappingStrategy(MappingStrategy<? extends T>) - Method in class com.opencsv.bean.CsvToBeanBuilder
 
withMappingStrategy(MappingStrategy<T>) - Method in class com.opencsv.bean.StatefulBeanToCsvBuilder
Sets the mapping strategy for writing beans to a CSV destination.
withMultilineLimit(int) - Method in class com.opencsv.bean.CsvToBeanBuilder
Sets the maximum number of lines allowed in a multiline record.
withMultilineLimit(int) - Method in class com.opencsv.CSVReaderBuilder
Sets the maximum number of lines allowed in a multiline record.
withMultilineLimit(int) - Method in class com.opencsv.CSVReaderHeaderAwareBuilder
Sets the maximum number of lines allowed in a multiline record.
withOrderedResults(boolean) - Method in class com.opencsv.bean.CsvToBeanBuilder
Sets whether the resulting beans must be ordered as in the input.
withOrderedResults(boolean) - Method in class com.opencsv.bean.StatefulBeanToCsvBuilder
Sets whether or not results must be written in the same order in which they appear in the list of beans provided as input.
withParser(ICSVParser) - Method in class com.opencsv.CSVWriterBuilder
Sets the parser that the ICSVWriter will be using.
withProfile(String) - Method in class com.opencsv.bean.CsvToBeanBuilder
Selects a profile for deciding which configurations to use for the bean fields.
withProfile(String) - Method in class com.opencsv.bean.StatefulBeanToCsvBuilder
Selects a profile for deciding which configurations to use for the bean fields.
withQuoteChar(char) - Method in class com.opencsv.bean.CsvToBeanBuilder
 
withQuotechar(char) - Method in class com.opencsv.bean.StatefulBeanToCsvBuilder
 
withQuoteChar(char) - Method in class com.opencsv.CSVParserBuilder
Sets the character to use for quoted elements.
withQuoteChar(char) - Method in class com.opencsv.CSVWriterBuilder
Sets the quote character that the ICSVWriter will be using.
withQuoteChar(char) - Method in class com.opencsv.RFC4180ParserBuilder
Sets the character to use for quoted elements.
withResultSetHelper(ResultSetHelper) - Method in class com.opencsv.CSVWriterBuilder
Sets the ResultSetHelper that the ICSVWriter will use.
withRowProcessor(RowProcessor) - Method in class com.opencsv.CSVReaderBuilder
Adds a RowProcessor to the CSVReader.
withRowProcessor(RowProcessor) - Method in class com.opencsv.CSVReaderHeaderAwareBuilder
withRowValidator(RowValidator) - Method in class com.opencsv.CSVReaderBuilder
Adds a RowValidator to the CSVReader.
withRowValidator(RowValidator) - Method in class com.opencsv.CSVReaderHeaderAwareBuilder
withSeparator(char) - Method in class com.opencsv.bean.CsvToBeanBuilder
 
withSeparator(char) - Method in class com.opencsv.bean.StatefulBeanToCsvBuilder
 
withSeparator(char) - Method in class com.opencsv.CSVParserBuilder
Sets the delimiter to use for separating entries.
withSeparator(char) - Method in class com.opencsv.CSVWriterBuilder
Sets the separator that the ICSVWriter will be using.
withSeparator(char) - Method in class com.opencsv.RFC4180ParserBuilder
Sets the delimiter to use for separating entries.
withSkipLines(int) - Method in class com.opencsv.bean.CsvToBeanBuilder
 
withSkipLines(int) - Method in class com.opencsv.CSVReaderBuilder
Sets the number of lines to skip before reading.
withSkipLines(int) - Method in class com.opencsv.CSVReaderHeaderAwareBuilder
Sets the number of lines to skip before reading.
withStrictQuotes(boolean) - Method in class com.opencsv.bean.CsvToBeanBuilder
 
withStrictQuotes(boolean) - Method in class com.opencsv.CSVParserBuilder
Sets the strict quotes setting - if true, characters outside the quotes are ignored.
withThrowExceptions(boolean) - Method in class com.opencsv.bean.CsvToBeanBuilder
Sets how the CsvToBean will act when an exception occurs.
withThrowExceptions(boolean) - Method in class com.opencsv.bean.StatefulBeanToCsvBuilder
Sets the handler for recoverable exceptions that arise during the processing of records.
withType(Class<? extends T>) - Method in class com.opencsv.bean.CsvToBeanBuilder
Sets the type of the bean to be populated.
withVerifier(BeanVerifier<T>) - Method in class com.opencsv.bean.CsvToBeanBuilder
Adds a BeanVerifier to the list of verifiers to run on all beans created.
withVerifyReader(boolean) - Method in class com.opencsv.bean.CsvToBeanBuilder
 
withVerifyReader(boolean) - Method in class com.opencsv.CSVReaderBuilder
Checks to see if the CSVReader should verify the reader state before reads or not.
withVerifyReader(boolean) - Method in class com.opencsv.CSVReaderHeaderAwareBuilder
Checks to see if the CSVReaderHeaderAware should verify the reader state before reads or not.
write(Object, I) - Method in class com.opencsv.bean.AbstractBeanField
This method takes the current value of the field in question in the bean passed in and converts it to a string.
write(Object, I) - Method in interface com.opencsv.bean.BeanField
This method takes the current value of the field in question in the bean passed in and converts it to one or more strings.
write(T) - Method in class com.opencsv.bean.StatefulBeanToCsv
Writes a bean out to the Writer provided to the constructor.
write(List<T>) - Method in class com.opencsv.bean.StatefulBeanToCsv
Writes a list of beans out to the Writer provided to the constructor.
write(Iterator<T>) - Method in class com.opencsv.bean.StatefulBeanToCsv
Writes an iterator of beans out to the Writer provided to the constructor.
write(Stream<T>) - Method in class com.opencsv.bean.StatefulBeanToCsv
Writes a stream of beans out to the Writer provided to the constructor.
writeAll(Iterable<String[]>, boolean) - Method in class com.opencsv.AbstractCSVWriter
 
writeAll(ResultSet, boolean, boolean, boolean) - Method in class com.opencsv.AbstractCSVWriter
 
writeAll(Iterable<String[]>, boolean) - Method in interface com.opencsv.ICSVWriter
Writes iterable to a CSV file.
writeAll(List<String[]>, boolean) - Method in interface com.opencsv.ICSVWriter
Writes the entire list to a CSV file.
writeAll(Iterable<String[]>) - Method in interface com.opencsv.ICSVWriter
Writes iterable to a CSV file.
writeAll(List<String[]>) - Method in interface com.opencsv.ICSVWriter
Writes the entire list to a CSV file.
writeAll(ResultSet, boolean) - Method in interface com.opencsv.ICSVWriter
Writes the entire ResultSet to a CSV file.
writeAll(ResultSet, boolean, boolean) - Method in interface com.opencsv.ICSVWriter
Writes the entire ResultSet to a CSV file.
writeAll(ResultSet, boolean, boolean, boolean) - Method in interface com.opencsv.ICSVWriter
Writes the entire ResultSet to a CSV file.
writeColumnNames(ResultSet, boolean) - Method in class com.opencsv.AbstractCSVWriter
Writes the column names.
writeConverter - Variable in class com.opencsv.bean.ConverterPrimitiveTypes
The formatter for all inputs from wrapped and unwrapped primitive types when a specific locale is not required.
writeFormat - Variable in class com.opencsv.bean.BeanFieldSingleValue
The format string used for packaging values to be written.
writeLocale - Variable in class com.opencsv.bean.AbstractCsvConverter
The locale to be used when converting for writing, if a locale is relevant.
writeLocaleConverter - Variable in class com.opencsv.bean.ConverterPrimitiveTypes
The formatter for all inputs from wrapped and unwrapped primitive types when a specific locale is required.
writeNext(String[], boolean) - Method in class com.opencsv.AbstractCSVWriter
 
writeNext(String[], boolean, Appendable) - Method in class com.opencsv.AbstractCSVWriter
Writes the next line to the file.
writeNext(String[], boolean, Appendable) - Method in class com.opencsv.CSVParserWriter
 
writeNext(String[], boolean, Appendable) - Method in class com.opencsv.CSVWriter
 
writeNext(String[], boolean) - Method in interface com.opencsv.ICSVWriter
Writes the next line to the file.
writeNext(String[]) - Method in interface com.opencsv.ICSVWriter
Writes the next line to the file.
writeOrder - Variable in class com.opencsv.bean.HeaderNameBaseMappingStrategy
Holds a Comparator to sort columns on writing.
writer - Variable in class com.opencsv.AbstractCSVWriter
 
A B C D E F G H I K L M N O P Q R S T V W 
Skip navigation links

Copyright © 2005–2023. All rights reserved.