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

A

AbstractBeanField<T> - 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 the one below.
AbstractBeanField(Field) - Constructor for class com.opencsv.bean.AbstractBeanField
Constructor for an optional field.
AbstractBeanField(Field, boolean) - Constructor for class com.opencsv.bean.AbstractBeanField
 
AbstractBeanField(Field, boolean, Locale) - Constructor for class com.opencsv.bean.AbstractBeanField
 
AbstractCSVToBean - Class in com.opencsv.bean
Converts CSV data to objects.
AbstractCSVToBean() - Constructor for class com.opencsv.bean.AbstractCSVToBean
 
AccumulateCsvResults<T> - Class in com.opencsv.bean.concurrent
The accumulator takes two queues of results of transforming input into beans (beans an exceptions) and orders them for later consumption.
AccumulateCsvResults(BlockingQueue<OrderedObject<T>>, BlockingQueue<OrderedObject<CsvException>>, ConcurrentMap<Long, T>, ConcurrentMap<Long, CsvException>) - Constructor for class com.opencsv.bean.concurrent.AccumulateCsvResults
The only accepted constructor for the accumulator.
afterExecute(Runnable, Throwable) - Method in class com.opencsv.bean.concurrent.IntolerantThreadPoolExecutor
Shuts the Executor down if the thread ended in an exception.
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.
annotationDriven - Variable in class com.opencsv.bean.HeaderColumnNameMappingStrategy
Whether or not annotations were found and should be used for determining the binding between columns in a CSV source or destination and fields in a bean.

B

BeanField<T> - Interface in com.opencsv.bean
Used to extend the Field class to include functionality that opencsv requires.
BeanFieldDate<T> - Class in com.opencsv.bean
This class converts an input to a date type.
BeanFieldDate(Field, boolean, String, String, Locale) - Constructor for class com.opencsv.bean.BeanFieldDate
 
BeanFieldPrimitiveTypes<T> - 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.
BeanFieldPrimitiveTypes(Field, boolean, String, Locale) - Constructor for class com.opencsv.bean.BeanFieldPrimitiveTypes
 
br - Variable in class com.opencsv.CSVReader
 
build() - Method in class com.opencsv.bean.CsvToBeanBuilder
Builds the CsvToBean out of the provided information.
build() - Method in class com.opencsv.bean.IterableCSVToBeanBuilder
Deprecated.
Creates the IterableCSVToBean.
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.CSVReaderBuilder
Creates the CSVReader.
build() - Method in class com.opencsv.RFC4180ParserBuilder
Constructs RFC4180Parser.

C

captureHeader(CSVReader) - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
Captures the header from the reader - required by the MappingStrategy interface and is a do nothing method for the ColumnPositionMappingStrategy.
captureHeader(CSVReader) - Method in class com.opencsv.bean.HeaderColumnNameMappingStrategy
 
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.CSVWriter
Flushes the buffer and checks to see if the there has been an error in the printstream.
checkForTrim(String, PropertyDescriptor) - Method in class com.opencsv.bean.AbstractCSVToBean
Returns the trimmed value of the string only if the property the string is describing should be trimmed to be converted to that type.
CLOBBUFFERSIZE - Static variable in class com.opencsv.ResultSetHelperService
 
close() - Method in class com.opencsv.CSVReader
Closes the underlying reader.
close() - Method in class com.opencsv.CSVWriter
Close the underlying stream writer flushing any buffered content.
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.
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.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.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.stream.reader - package com.opencsv.stream.reader
Collection of classes for customizing reading lines.
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).
compareTo(Object) - Method in class com.opencsv.bean.concurrent.OrderedObject
 
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.BeanFieldDate
 
convert(String) - Method in class com.opencsv.bean.BeanFieldPrimitiveTypes
 
convert(String) - Method in class com.opencsv.bean.customconverter.ConvertGermanToBoolean
Converts German text into a Boolean.
convert(String) - Method in class com.opencsv.bean.customconverter.ConvertSplitOnWhitespace
Takes a string that is a list of substrings separated by whitespace and returns a list of the substrings.
ConvertGermanToBoolean<T> - 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.
ConvertSplitOnWhitespace<T> - Class in com.opencsv.bean.customconverter
This class takes a string and splits it on whitespace into a list of strings.
ConvertSplitOnWhitespace() - Constructor for class com.opencsv.bean.customconverter.ConvertSplitOnWhitespace
Silence code style checker by adding a useless constructor.
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) and should be overridden in derived classes.
convertToWrite(Object) - Method in class com.opencsv.bean.BeanFieldDate
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.BeanFieldPrimitiveTypes
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 class com.opencsv.bean.customconverter.ConvertGermanToBoolean
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 class com.opencsv.bean.customconverter.ConvertSplitOnWhitespace
This method takes the current value of the field in question in the bean passed in and converts it to a string.
convertValue(String, PropertyDescriptor) - Method in class com.opencsv.bean.AbstractCSVToBean
Convert a string value to its Object value.
createBean() - Method in class com.opencsv.bean.HeaderColumnNameMappingStrategy
 
createBean() - Method in interface com.opencsv.bean.MappingStrategy
Implementation will return a bean of the type of object you are mapping.
createIndexLookup(String[]) - Method in class com.opencsv.bean.HeaderColumnNameMappingStrategy
Creates an index map of column names to column position.
CsvBadConverterException - Exception in com.opencsv.exceptions
This exception indicates that the custom converter provided 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.
CsvBindByName - Annotation Type in com.opencsv.bean
Specifies a binding between a column name of the CSV input and a field in a bean.
CsvBindByPosition - Annotation Type in com.opencsv.bean
Specifies a binding between a column number of the CSV input and a field in a bean.
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.
CsvCustomBindByName - Annotation Type in com.opencsv.bean
Allows us to specify a class that will perform the translation from source to destination.
CsvCustomBindByPosition - Annotation Type in com.opencsv.bean
Allows us to specify a class that will perform the translation from source to destination.
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.
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.
CSVIterator - Class in com.opencsv
Provides an Iterator over the data found in opencsv.
CSVIterator(CSVReader) - Constructor for class com.opencsv.CSVIterator
 
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.
CSVParser(char) - Constructor for class com.opencsv.CSVParser
Deprecated.
Please use CSVParserBuilder instead.
CSVParser(char, char) - Constructor for class com.opencsv.CSVParser
Deprecated.
Please use CSVParserBuilder instead.
CSVParser(char, char, char) - Constructor for class com.opencsv.CSVParser
Deprecated.
Please use CSVParserBuilder instead.
CSVParser(char, char, char, boolean) - Constructor for class com.opencsv.CSVParser
Deprecated.
Please use CSVParserBuilder instead.
CSVParser(char, char, char, boolean, boolean) - Constructor for class com.opencsv.CSVParser
Deprecated.
Please use CSVParserBuilder instead.
CSVParser(char, char, char, boolean, boolean, boolean) - Constructor for class com.opencsv.CSVParser
Deprecated.
Please use CSVParserBuilder instead.
CSVParserBuilder - Class in com.opencsv
Builder for creating a CSVParser.
CSVParserBuilder() - Constructor for class com.opencsv.CSVParserBuilder
Default constructor.
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.
CSVReader(Reader, char) - Constructor for class com.opencsv.CSVReader
Deprecated.
Please use CSVReaderBuilder instead.
CSVReader(Reader, char, char) - Constructor for class com.opencsv.CSVReader
Deprecated.
Please use CSVReaderBuilder instead.
CSVReader(Reader, char, char, boolean) - Constructor for class com.opencsv.CSVReader
Deprecated.
Please use CSVReaderBuilder instead.
CSVReader(Reader, char, char, char) - Constructor for class com.opencsv.CSVReader
Deprecated.
Please use CSVReaderBuilder instead.
CSVReader(Reader, char, char, int) - Constructor for class com.opencsv.CSVReader
Deprecated.
Please use CSVReaderBuilder instead.
CSVReader(Reader, char, char, char, int) - Constructor for class com.opencsv.CSVReader
Deprecated.
Please use CSVReaderBuilder instead.
CSVReader(Reader, char, char, char, int, boolean) - Constructor for class com.opencsv.CSVReader
Deprecated.
Please use CSVReaderBuilder instead.
CSVReader(Reader, char, char, char, int, boolean, boolean) - Constructor for class com.opencsv.CSVReader
Deprecated.
Please use CSVReaderBuilder instead.
CSVReader(Reader, char, char, char, int, boolean, boolean, boolean) - Constructor for class com.opencsv.CSVReader
Deprecated.
Please use CSVReaderBuilder instead.
CSVReader(Reader, int, ICSVParser) - Constructor for class com.opencsv.CSVReader
Deprecated.
Please use CSVReaderBuilder instead.
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.
CSVReaderNullFieldIndicator - Enum in com.opencsv.enums
Enumeration used to tell the CSVParser what to consider null.
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, 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.
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.
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.
CsvToBeanFilter - Interface in com.opencsv.bean
Filters allow lines of input to be ignored before a bean is created.
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) - Constructor for class com.opencsv.CSVWriter
CSVWriter(Writer, char, char) - Constructor for class com.opencsv.CSVWriter
CSVWriter(Writer, char, char, char) - Constructor for class com.opencsv.CSVWriter
CSVWriter(Writer, char, char, String) - Constructor for class com.opencsv.CSVWriter
CSVWriter(Writer, char, char, char, String) - Constructor for class com.opencsv.CSVWriter
Constructs CSVWriter with supplied separator, quote char, escape char and line ending.

D

DEFAULT_ESCAPE_CHARACTER - Static variable in class com.opencsv.CSVWriter
The character used for escaping quotes.
DEFAULT_ESCAPE_CHARACTER - Static variable in interface com.opencsv.ICSVParser
The default escape character to use if none is supplied to the constructor.
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 class com.opencsv.CSVWriter
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 class com.opencsv.CSVWriter
The default quote character to use if none is supplied to the constructor.
DEFAULT_QUOTE_CHARACTER - Static variable in interface com.opencsv.ICSVParser
The default quote character to use if none is supplied to the constructor.
DEFAULT_SEPARATOR - Static variable in class com.opencsv.CSVWriter
The default separator 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_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
 
descriptorMap - Variable in class com.opencsv.bean.HeaderColumnNameMappingStrategy
Given a header name, this map allows one to find the corresponding property descriptor.
determineMappingStrategy(Class, Locale) - Static method in class com.opencsv.bean.opencsvUtils
Determines which mapping strategy is appropriate for this bean.

E

errorLocale - Variable in class com.opencsv.bean.AbstractBeanField
Locale for error messages.
errorLocale - Variable in class com.opencsv.bean.HeaderColumnNameMappingStrategy
Locale for error messages.
errorLocale - Variable in class com.opencsv.CSVReader
 
escapechar - Variable in class com.opencsv.CSVWriter
 
exception - Variable in class com.opencsv.CSVWriter
 

F

FALSCH - Static variable in class com.opencsv.bean.customconverter.ConvertGermanToBoolean
 
field - Variable in class com.opencsv.bean.AbstractBeanField
The field this class represents.
fieldMap - Variable in class com.opencsv.bean.HeaderColumnNameMappingStrategy
Given a header name, this map allows one to find the corresponding BeanField.
findDescriptor(int) - Method in class com.opencsv.bean.HeaderColumnNameMappingStrategy
Deprecated.
findDescriptor(String) - Method in class com.opencsv.bean.HeaderColumnNameMappingStrategy
Deprecated.
Introspection will be replaced with reflection in version 5.0
findDescriptor(int) - Method in interface com.opencsv.bean.MappingStrategy
Deprecated.
Introspection will be replaced with reflection in version 5.0
findField(int) - Method in class com.opencsv.bean.HeaderColumnNameMappingStrategy
 
findField(int) - Method in interface com.opencsv.bean.MappingStrategy
Gets the field for a given column position.
findMaxFieldIndex() - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
 
findMaxFieldIndex() - Method in class com.opencsv.bean.HeaderColumnNameMappingStrategy
 
findMaxFieldIndex() - Method in interface com.opencsv.bean.MappingStrategy
Finds and returns the highest index in this mapping.
flush() - Method in class com.opencsv.CSVWriter
Flush underlying stream to writer.
flushQuietly() - Method in class com.opencsv.CSVWriter
Flushes the writer without throwing any exceptions.

G

generateHeader() - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
This method returns an empty array.
generateHeader() - Method in class com.opencsv.bean.HeaderColumnNameMappingStrategy
This method generates a header that can be used for writing beans of the type provided back to a file.
generateHeader() - 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.
getBean() - Method in exception com.opencsv.exceptions.CsvBeanIntrospectionException
 
getBeanClass() - Method in exception com.opencsv.exceptions.CsvRequiredFieldEmptyException
Gets the class of the bean to which the value was to be assigned.
getCapturedExceptions() - Method in class com.opencsv.bean.CsvToBean
Returns the list of all exceptions that would have been thrown during the import, but were suppressed by setting CsvToBean.throwExceptions to false.
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.
getColumnIndex(String) - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
 
getColumnIndex(String) - Method in class com.opencsv.bean.HeaderColumnNameMappingStrategy
 
getColumnIndex(String) - Method in interface com.opencsv.bean.MappingStrategy
Gets the column index that corresponds to a specific column name.
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.ColumnPositionMappingStrategy
Gets a column name.
getColumnName(int) - Method in class com.opencsv.bean.HeaderColumnNameMappingStrategy
Get the column name for a given column position.
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
 
getConverterClass() - Method in exception com.opencsv.exceptions.CsvBadConverterException
 
getCsvParser() - Method in class com.opencsv.CSVReaderBuilder
Used by unit tests.
getCSVReader() - Method in class com.opencsv.bean.IterableCSVToBean
Deprecated.
Retrieves the CSVReader.
getCsvReader() - Method in class com.opencsv.bean.IterableCSVToBeanBuilder
Deprecated.
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.
getElement() - Method in class com.opencsv.bean.concurrent.OrderedObject
 
getEscape() - Method in class com.opencsv.CSVParser
 
getEscapeChar() - Method in class com.opencsv.CSVParserBuilder
 
getField() - Method in class com.opencsv.bean.AbstractBeanField
 
getField() - Method in interface com.opencsv.bean.BeanField
Gets the field to be processed.
getField() - Method in exception com.opencsv.exceptions.CsvBeanIntrospectionException
 
getFilter() - Method in class com.opencsv.bean.IterableCSVToBean
Deprecated.
Retrieves the CsvToBeanFilter
getFilter() - Method in class com.opencsv.bean.IterableCSVToBeanBuilder
Deprecated.
Used by unit tests.
getLineNumber() - Method in exception com.opencsv.exceptions.CsvException
 
getLinesRead() - Method in class com.opencsv.CSVReader
Used for debugging purposes, this method returns the number of lines that has been read from the reader passed into the CSVReader.
getLocalizedMessage() - Method in exception com.opencsv.exceptions.CsvBeanIntrospectionException
 
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.CSVReaderBuilder
Used by unit tests.
getNextLine() - Method in class com.opencsv.CSVReader
Reads the next line from the file.
getOrdinal() - Method in class com.opencsv.bean.concurrent.OrderedObject
 
getParser() - Method in class com.opencsv.CSVReader
 
getPropertyEditor(PropertyDescriptor) - Method in class com.opencsv.bean.AbstractCSVToBean
Attempt to find custom property editor on descriptor first, else try the propery editor manager.
getPropertyEditor(PropertyDescriptor) - Method in class com.opencsv.bean.concurrent.ProcessCsvLine
 
getPropertyEditor(PropertyDescriptor) - Method in class com.opencsv.bean.IterableCSVToBean
Deprecated.
 
getPropertyEditorValue(Class<?>) - Method in class com.opencsv.bean.AbstractCSVToBean
Returns the PropertyEditor for the given class.
getQuotechar() - Method in class com.opencsv.CSVParser
 
getQuoteChar() - Method in class com.opencsv.CSVParserBuilder
 
getQuotechar() - Method in interface com.opencsv.ICSVParser
 
getQuotechar() - Method in class com.opencsv.RFC4180Parser
 
getQuoteChar() - Method in class com.opencsv.RFC4180ParserBuilder
 
getReader() - Method in class com.opencsv.CSVReaderBuilder
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.
getSeparator() - Method in class com.opencsv.CSVParser
 
getSeparator() - Method in class com.opencsv.CSVParserBuilder
 
getSeparator() - Method in interface com.opencsv.ICSVParser
 
getSeparator() - Method in class com.opencsv.RFC4180Parser
 
getSeparator() - Method in class com.opencsv.RFC4180ParserBuilder
 
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.CSVReaderBuilder
Used by unit tests.
getSourceObject() - Method in exception com.opencsv.exceptions.CsvConstraintViolationException
 
getSourceObject() - Method in exception com.opencsv.exceptions.CsvDataTypeMismatchException
Gets the object that was to be assigned to a field of the wrong type.
getStrategy() - Method in class com.opencsv.bean.IterableCSVToBean
Deprecated.
Retrieves the MappingStrategy.
getStrategy() - Method in class com.opencsv.bean.IterableCSVToBeanBuilder
Deprecated.
Used by unit tests.
getTerminalException() - Method in class com.opencsv.bean.concurrent.IntolerantThreadPoolExecutor
If an unrecoverable exception was thrown during processing, it can be retrieved here.
getType() - Method in class com.opencsv.bean.HeaderColumnNameMappingStrategy
Get the class type that the Strategy is mapping.

H

handleTimestamp(Timestamp, String) - Method in class com.opencsv.ResultSetHelperService
The formatted timestamp.
hasNext() - Method in class com.opencsv.CSVIterator
Returns true if the iteration has more elements.
hasNext - Variable in class com.opencsv.CSVReader
 
header - Variable in class com.opencsv.bean.HeaderColumnNameMappingStrategy
An ordered array of the headers for the columns of a CSV input.
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.
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.

I

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.
indexLookup - Variable in class com.opencsv.bean.HeaderColumnNameMappingStrategy
This map makes finding the column index of a header name easy.
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 class com.opencsv.CSVWriter
 
instantiateCustomConverter(Class<? extends AbstractBeanField>) - Method in class com.opencsv.bean.HeaderColumnNameMappingStrategy
Attempts to instantiate the class of the custom converter specified.
IntolerantThreadPoolExecutor - Class in com.opencsv.bean.concurrent
This ThreadPoolExecutor automatically shuts down on any failed thread.
IntolerantThreadPoolExecutor() - Constructor for class com.opencsv.bean.concurrent.IntolerantThreadPoolExecutor
Constructor for a thread pool executor that stops by itself as soon as any thread throws an exception.
isAnnotationDriven() - Method in class com.opencsv.bean.HeaderColumnNameMappingStrategy
Determines whether the mapping strategy is driven by annotations.
isAnnotationDriven() - Method in interface com.opencsv.bean.MappingStrategy
Determines whether the mapping strategy is driven by annotations.
isClosed() - Method in class com.opencsv.CSVReader
Checks to see if the file is closed.
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
 
isMustStop() - Method in class com.opencsv.bean.concurrent.AccumulateCsvResults
Checks whether the accumulator should shut itself down.
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.CSVParser
 
isPending() - Method in interface com.opencsv.ICSVParser
 
isPending() - Method in class com.opencsv.RFC4180Parser
 
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
 
isThrowExceptions() - Method in class com.opencsv.bean.StatefulBeanToCsv
 
IterableCSVToBean<T> - Class in com.opencsv.bean
Deprecated.
IterableCSVToBean(CSVReader, MappingStrategy<T>, CsvToBeanFilter) - Constructor for class com.opencsv.bean.IterableCSVToBean
Deprecated.
IterableCSVToBean constructor
IterableCSVToBeanBuilder<T> - Class in com.opencsv.bean
Deprecated.
Use CsvToBeanBuilder instead, then call CsvToBean.iterator() on the result
IterableCSVToBeanBuilder() - Constructor for class com.opencsv.bean.IterableCSVToBeanBuilder
Deprecated.
Default constructor.
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.IterableCSVToBean
Deprecated.
 
iterator() - Method in class com.opencsv.CSVReader
Creates an Iterator for processing the CSV data.

K

keepCarriageReturn() - Method in class com.opencsv.CSVReaderBuilder
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
 

L

lineEnd - Variable in class com.opencsv.CSVWriter
 
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
 
linesSkiped - Variable in class com.opencsv.CSVReader
 
loadDescriptorMap() - Method in class com.opencsv.bean.HeaderColumnNameMappingStrategy
Deprecated.
Introspection will be replaced with reflection in version 5.0
loadFieldMap() - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
 
loadFieldMap() - Method in class com.opencsv.bean.HeaderColumnNameMappingStrategy
Builds a map of fields for the bean.

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.
multilineLimit - Variable in class com.opencsv.CSVReader
 

N

next() - Method in class com.opencsv.CSVIterator
Returns the next element in the iterator.
nextLine() - Method in class com.opencsv.bean.IterableCSVToBean
Deprecated.
Reads and processes a single line.
NO_ESCAPE_CHARACTER - Static variable in class com.opencsv.CSVWriter
The escape constant to use when you wish to suppress all escaping.
NO_QUOTE_CHARACTER - Static variable in class com.opencsv.CSVWriter
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() - Method in class com.opencsv.CSVParser
 
nullFieldIndicator() - Method in class com.opencsv.CSVParserBuilder
 
nullFieldIndicator() - Method in interface com.opencsv.ICSVParser
 
nullFieldIndicator() - Method in class com.opencsv.RFC4180Parser
 
nullFieldIndicator() - Method in class com.opencsv.RFC4180ParserBuilder
 

O

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

P

parse(MappingStrategy<T>, Reader) - Method in class com.opencsv.bean.CsvToBean
Deprecated.
Please use CsvToBeanBuilder instead.
parse(MappingStrategy<T>, Reader, boolean) - Method in class com.opencsv.bean.CsvToBean
Deprecated.
Please use CsvToBeanBuilder instead.
parse(MappingStrategy<T>, Reader, CsvToBeanFilter) - Method in class com.opencsv.bean.CsvToBean
Deprecated.
Please use CsvToBeanBuilder instead.
parse(MappingStrategy<T>, Reader, CsvToBeanFilter, boolean) - Method in class com.opencsv.bean.CsvToBean
Deprecated.
Please use CsvToBeanBuilder instead.
parse(MappingStrategy<T>, CSVReader) - Method in class com.opencsv.bean.CsvToBean
Deprecated.
Please use CsvToBeanBuilder instead.
parse(MappingStrategy<T>, CSVReader, boolean) - Method in class com.opencsv.bean.CsvToBean
Deprecated.
Please use CsvToBeanBuilder instead.
parse(MappingStrategy<T>, CSVReader, CsvToBeanFilter) - Method in class com.opencsv.bean.CsvToBean
Deprecated.
Please use CsvToBeanBuilder instead.
parse(MappingStrategy<T>, CSVReader, CsvToBeanFilter, boolean) - Method in class com.opencsv.bean.CsvToBean
Deprecated.
Please use CsvToBeanBuilder instead.
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.CSVParser
Parses an incoming String and returns an array of elements.
parseLine(String, boolean) - Method in class com.opencsv.CSVParser
Parses an incoming String and returns an array of elements.
parseLine(String) - Method in interface com.opencsv.ICSVParser
Parses an incoming String and returns an array of elements.
parseLine(String) - Method in class com.opencsv.RFC4180Parser
 
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.CSVParser
Parses an incoming String and returns an array of elements.
parseLineMulti(String) - Method in interface com.opencsv.ICSVParser
Parses an incoming String and returns an array of elements.
parseLineMulti(String) - Method in class com.opencsv.RFC4180Parser
 
parser - Variable in class com.opencsv.CSVReader
 
processCharacter(Appendable, char) - Method in class com.opencsv.CSVWriter
Appends the character to the StringBuilder adding the escape character if needed.
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>>, boolean, Locale) - 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<T>, CsvToBeanFilter, String[], BlockingQueue<OrderedObject<T>>, BlockingQueue<OrderedObject<CsvException>>, boolean) - 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.

Q

queueRefuseToAcceptDefeat(BlockingQueue<E>, E) - Static method in class com.opencsv.bean.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.CSVWriter
 

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.
readLine() - Method in class com.opencsv.stream.reader.LineReader
Reads the next line from the Reader.
readNext() - Method in class com.opencsv.CSVReader
Reads the next line from the buffer and converts to a string array.
recordsRead - Variable in class com.opencsv.CSVReader
 
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.
resetIndexMap() - Method in class com.opencsv.bean.HeaderColumnNameMappingStrategy
Resets index map of column names to column position.
resultService - Variable in class com.opencsv.CSVWriter
 
resultService() - Method in class com.opencsv.CSVWriter
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 class com.opencsv.CSVWriter
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.
run() - Method in class com.opencsv.bean.concurrent.AccumulateCsvResults
 
run() - Method in class com.opencsv.bean.concurrent.ProcessCsvBean
 
run() - Method in class com.opencsv.bean.concurrent.ProcessCsvLine
 

S

separator - Variable in class com.opencsv.CSVWriter
 
setColumnMapping(String...) - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
Setter for the ColumnMappings.
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
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 interface com.opencsv.bean.BeanField
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 class com.opencsv.bean.HeaderColumnNameMappingStrategy
 
setErrorLocale(Locale) - Method in class com.opencsv.bean.IterableCSVToBean
Deprecated.
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.ResultSetColumnNameHelperService
Sets the locale for error messages.
setField(Field) - Method in class com.opencsv.bean.AbstractBeanField
 
setField(Field) - Method in interface com.opencsv.bean.BeanField
Sets the field to be processed.
setFieldValue(T, String) - Method in class com.opencsv.bean.AbstractBeanField
 
setFieldValue(T, 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.
setLineNumber(long) - Method in exception com.opencsv.exceptions.CsvException
 
setMappingStrategy(MappingStrategy<T>) - Method in class com.opencsv.bean.CsvToBean
Sets the mapping strategy to be used by this bean.
setMultilineLimit(int) - Method in class com.opencsv.CSVReader
Deprecated.
setMustStop(boolean) - Method in class com.opencsv.bean.concurrent.AccumulateCsvResults
Tells the accumulator whether it should stop.
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.
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.CSVWriter
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<? extends T>) - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
Sets the class type that is being mapped.
setType(Class<? extends T>) - Method in class com.opencsv.bean.HeaderColumnNameMappingStrategy
Sets the class type that is being mapped.
setType(Class<? extends T>) - Method in interface com.opencsv.bean.MappingStrategy
Sets the class type that is being mapped.
skipLines - Variable in class com.opencsv.CSVReader
 
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(char, String, MappingStrategy<T>, char, char, boolean, Writer) - Constructor for class com.opencsv.bean.StatefulBeanToCsv
The only constructor that should be used.
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.
stringContainsSpecialCharacters(String) - Method in class com.opencsv.CSVWriter
Checks to see if the line contains special characters.

T

type - Variable in class com.opencsv.bean.HeaderColumnNameMappingStrategy
This is the class of the bean to be manipulated.

V

validateResult(String[]) - 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() - Static method in enum com.opencsv.enums.CSVReaderNullFieldIndicator
Returns an array containing the constants of this enum type, in the order they are declared.
verifyLineLength(int) - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
 
verifyLineLength(int) - Method in class com.opencsv.bean.HeaderColumnNameMappingStrategy
 
verifyLineLength(int) - Method in interface com.opencsv.bean.MappingStrategy
Must be called once the length of input for a line/record is known to verify that the line was complete.
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.

W

WAHR - Static variable in class com.opencsv.bean.customconverter.ConvertGermanToBoolean
 
withCSVParser(ICSVParser) - Method in class com.opencsv.CSVReaderBuilder
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.IterableCSVToBeanBuilder
Deprecated.
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.
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.
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.RFC4180ParserBuilder
Sets the NullFieldIndicator.
withFilter(CsvToBeanFilter) - Method in class com.opencsv.bean.CsvToBeanBuilder
 
withFilter(CsvToBeanFilter) - Method in class com.opencsv.bean.IterableCSVToBeanBuilder
Deprecated.
Sets the filter used to remove unwanted data from the CSV file.
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.
withLineEnd(String) - Method in class com.opencsv.bean.StatefulBeanToCsvBuilder
 
withMapper(MappingStrategy<T>) - Method in class com.opencsv.bean.IterableCSVToBeanBuilder
Deprecated.
Sets the MappingStrategy to be used by the builder.
withMappingStrategy(MappingStrategy<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.
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.
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.RFC4180ParserBuilder
Sets the character to use for quoted elements.
withReader(CSVReader) - Method in class com.opencsv.bean.IterableCSVToBeanBuilder
Deprecated.
Sets the reader to be used by the builder.
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.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.
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
 
withThrowExceptions(boolean) - Method in class com.opencsv.bean.StatefulBeanToCsvBuilder
 
withType(Class<? extends T>) - Method in class com.opencsv.bean.CsvToBeanBuilder
Sets the type of the bean to be populated.
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.
write(T) - 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(T) - 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 a string.
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.
writeAll(Iterable<String[]>, boolean) - Method in class com.opencsv.CSVWriter
Writes iterable to a CSV file.
writeAll(List<String[]>, boolean) - Method in class com.opencsv.CSVWriter
Writes the entire list to a CSV file.
writeAll(Iterable<String[]>) - Method in class com.opencsv.CSVWriter
Writes iterable to a CSV file.
writeAll(List<String[]>) - Method in class com.opencsv.CSVWriter
Writes the entire list to a CSV file.
writeAll(ResultSet, boolean) - Method in class com.opencsv.CSVWriter
Writes the entire ResultSet to a CSV file.
writeAll(ResultSet, boolean, boolean) - Method in class com.opencsv.CSVWriter
Writes the entire ResultSet to a CSV file.
writeAll(ResultSet, boolean, boolean, boolean) - Method in class com.opencsv.CSVWriter
Writes the entire ResultSet to a CSV file.
writeColumnNames(ResultSet, boolean) - Method in class com.opencsv.CSVWriter
Writes the column names.
writeNext(String[], boolean) - Method in class com.opencsv.CSVWriter
Writes the next line to the file.
writeNext(String[], boolean, Appendable) - Method in class com.opencsv.CSVWriter
Writes the next line to the file.
writeNext(String[]) - Method in class com.opencsv.CSVWriter
Writes the next line to the file.
writer - Variable in class com.opencsv.CSVWriter
 
A B C D E F G H I K L M N O P Q R S T V W 

Copyright © 2017. All rights reserved.