A B C D E F G H I K L M N 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 with one Field parameter.
AbstractBeanField(Field) - 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
 
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
 

B

BeanField<T> - Interface in com.opencsv.bean
Used to extend the Field class to add a required flag.
BeanFieldDate - Class in com.opencsv.bean
This class converts an input to a date type.
BeanFieldDate(Field, boolean, String, String) - 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) - Constructor for class com.opencsv.bean.BeanFieldPrimitiveTypes
 
BeanToCsv<T> - Class in com.opencsv.bean
Allows exporting content from Java beans to a new CSV spreadsheet file.
BeanToCsv() - Constructor for class com.opencsv.bean.BeanToCsv
Default constructor.
br - Variable in class com.opencsv.CSVReader
 
build() - Method in class com.opencsv.bean.IterableCSVToBeanBuilder
Creates the IterableCSVToBean.
build() - Method in class com.opencsv.CSVParserBuilder
Constructs CSVParser.
build() - Method in class com.opencsv.CSVReaderBuilder
Creates the CSVReader.

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
 
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.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).
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.ConvertGermanToBooleanRequired
 
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 - 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
 
ConvertGermanToBooleanRequired - Class in com.opencsv.bean.customconverter
This is the same as ConvertGermanToBoolean, except that it throws CsvRequiredFieldEmptyException if the input is empty.
ConvertGermanToBooleanRequired() - Constructor for class com.opencsv.bean.customconverter.ConvertGermanToBooleanRequired
 
ConvertSplitOnWhitespace - 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
 
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.
CsvBind - Annotation Type in com.opencsv.bean
Deprecated.
This annotation was replaced in version 3.8 by the more flexible CsvBindByName, CsvBindByPosition, CsvCustomBindByName, and CsvCustomBindByPosition.
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 a comma for the separator.
CSVParser(char) - Constructor for class com.opencsv.CSVParser
Constructs CSVParser with supplied separator.
CSVParser(char, char) - Constructor for class com.opencsv.CSVParser
Constructs CSVParser with supplied separator and quote char.
CSVParser(char, char, char) - Constructor for class com.opencsv.CSVParser
Constructs CSVParser with supplied separator and quote char.
CSVParser(char, char, char, boolean) - Constructor for class com.opencsv.CSVParser
Constructs CSVParser with supplied separator and quote char.
CSVParser(char, char, char, boolean, boolean) - Constructor for class com.opencsv.CSVParser
Constructs CSVParser with supplied separator and quote char.
CSVParser(char, char, char, boolean, boolean, boolean) - Constructor for class com.opencsv.CSVParser
Constructs CSVParser with supplied separator and quote char.
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 a comma for the separator.
CSVReader(Reader, char) - Constructor for class com.opencsv.CSVReader
Constructs CSVReader with supplied separator.
CSVReader(Reader, char, char) - Constructor for class com.opencsv.CSVReader
Constructs CSVReader with supplied separator and quote char.
CSVReader(Reader, char, char, boolean) - Constructor for class com.opencsv.CSVReader
Constructs CSVReader with supplied separator, quote char, and quote handling behavior.
CSVReader(Reader, char, char, char) - Constructor for class com.opencsv.CSVReader
Constructs CSVReader.
CSVReader(Reader, char, char, int) - Constructor for class com.opencsv.CSVReader
Constructs CSVReader.
CSVReader(Reader, char, char, char, int) - Constructor for class com.opencsv.CSVReader
Constructs CSVReader.
CSVReader(Reader, char, char, char, int, boolean) - Constructor for class com.opencsv.CSVReader
Constructs CSVReader.
CSVReader(Reader, char, char, char, int, boolean, boolean) - Constructor for class com.opencsv.CSVReader
Constructs CSVReader with all data entered.
CSVReader(Reader, char, char, char, int, boolean, boolean, boolean) - Constructor for class com.opencsv.CSVReader
Constructs CSVReader with all data entered.
CSVReader(Reader, int, CSVParser) - Constructor for class com.opencsv.CSVReader
Constructs CSVReader with supplied CSVParser.
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, 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.
CsvToBean<T> - Class in com.opencsv.bean
Converts CSV data to objects.
CsvToBean() - Constructor for class com.opencsv.bean.CsvToBean
Default constructor.
CsvToBeanFilter - Interface in com.opencsv.bean
Here's an example showing how to use CsvToBean with a column name mapping and line filtering.
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
Constructs CSVWriter with supplied separator.
CSVWriter(Writer, char, char) - Constructor for class com.opencsv.CSVWriter
Constructs CSVWriter with supplied separator and quote char.
CSVWriter(Writer, char, char, char) - Constructor for class com.opencsv.CSVWriter
Constructs CSVWriter with supplied separator and quote char.
CSVWriter(Writer, char, char, String) - Constructor for class com.opencsv.CSVWriter
Constructs CSVWriter with supplied separator and quote char.
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.CSVParser
The default escape character to use if none is supplied to the constructor.
DEFAULT_ESCAPE_CHARACTER - Static variable in class com.opencsv.CSVWriter
The character used for escaping quotes.
DEFAULT_IGNORE_LEADING_WHITESPACE - Static variable in class com.opencsv.CSVParser
The default leading whitespace behavior to use if none is supplied to the constructor.
DEFAULT_IGNORE_QUOTATIONS - Static variable in class com.opencsv.CSVParser
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_NULL_FIELD_INDICATOR - Static variable in class com.opencsv.CSVParser
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.CSVParser
The default quote character to use if none is supplied to the constructor.
DEFAULT_QUOTE_CHARACTER - Static variable in class com.opencsv.CSVWriter
The default quote character to use if none is supplied to the constructor.
DEFAULT_SEPARATOR - Static variable in class com.opencsv.CSVParser
The default separator 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_SKIP_LINES - Static variable in class com.opencsv.CSVReader
The default line to start reading.
DEFAULT_STRICT_QUOTES - Static variable in class com.opencsv.CSVParser
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
 

E

escapechar - Variable in class com.opencsv.CSVWriter
 
exception - Variable in class com.opencsv.CSVWriter
 

F

field - Variable in class com.opencsv.bean.AbstractBeanField
 
fieldMap - Variable in class com.opencsv.bean.HeaderColumnNameMappingStrategy
 
findDescriptor(int) - Method in class com.opencsv.bean.HeaderColumnNameMappingStrategy
 
findDescriptor(String) - Method in class com.opencsv.bean.HeaderColumnNameMappingStrategy
Find the property descriptor for a given column.
findDescriptor(int) - Method in interface com.opencsv.bean.MappingStrategy
Gets the property descriptor for a given column position.
findField(int) - Method in class com.opencsv.bean.HeaderColumnNameMappingStrategy
 
findField(String) - Method in class com.opencsv.bean.HeaderColumnNameMappingStrategy
Find the field for a given column.
findField(int) - Method in interface com.opencsv.bean.MappingStrategy
Gets the field for a given column position.
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

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
 
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
Retrieves the CSVReader.
getCsvReader() - Method in class com.opencsv.bean.IterableCSVToBeanBuilder
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.
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.
getFilter() - Method in class com.opencsv.bean.IterableCSVToBean
Retrieves the CsvToBeanFilter
getFilter() - Method in class com.opencsv.bean.IterableCSVToBeanBuilder
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.
getNextLine() - Method in class com.opencsv.CSVReader
Reads the next line from the file.
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.CsvToBean
 
getPropertyEditor(PropertyDescriptor) - Method in class com.opencsv.bean.IterableCSVToBean
 
getQuotechar() - Method in class com.opencsv.CSVParser
 
getQuoteChar() - Method in class com.opencsv.CSVParserBuilder
 
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
 
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
Retrieves the MappingStrategy.
getStrategy() - Method in class com.opencsv.bean.IterableCSVToBeanBuilder
Used by unit tests.
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
 
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

indexLookup - Variable in class com.opencsv.bean.HeaderColumnNameMappingStrategy
 
INITIAL_READ_SIZE - Static variable in class com.opencsv.CSVParser
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
 
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
 
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
 
isRequired() - Method in class com.opencsv.bean.BeanFieldPrimitiveTypes
 
isStrictQuotes() - Method in class com.opencsv.CSVParser
 
isStrictQuotes() - Method in class com.opencsv.CSVParserBuilder
 
IterableCSVToBean<T> - Class in com.opencsv.bean
Converts CSV strings to objects.
IterableCSVToBean(CSVReader, MappingStrategy<T>, CsvToBeanFilter) - Constructor for class com.opencsv.bean.IterableCSVToBean
IterableCSVToBean constructor
IterableCSVToBeanBuilder<T> - Class in com.opencsv.bean
Builder for creating an IterableCSVToBean.
IterableCSVToBeanBuilder() - Constructor for class com.opencsv.bean.IterableCSVToBeanBuilder
Default constructor.
iterator() - Method in class com.opencsv.bean.IterableCSVToBean
 
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
Builds a map of property descriptors for the bean.
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.
matches(String, PropertyDescriptor) - Method in class com.opencsv.bean.HeaderColumnNameMappingStrategy
Determines if the name of a property descriptor matches the column name.

N

next() - Method in class com.opencsv.CSVIterator
Returns the next element in the iterator.
nextLine() - Method in class com.opencsv.bean.IterableCSVToBean
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_MAPPING_STRATEGY_DEFINED - Static variable in class com.opencsv.bean.IterableCSVToBeanBuilder
 
NO_QUOTE_CHARACTER - Static variable in class com.opencsv.CSVWriter
The quote constant to use when you wish to suppress all quoting.
NO_READER_DEFINED - Static variable in class com.opencsv.bean.IterableCSVToBeanBuilder
 
NULL_CHARACTER - Static variable in class com.opencsv.CSVParser
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
 

P

parse(MappingStrategy<T>, Reader) - Method in class com.opencsv.bean.CsvToBean
Parse the values from a CSVReader constructed from the Reader passed in.
parse(MappingStrategy<T>, Reader, boolean) - Method in class com.opencsv.bean.CsvToBean
Parse the values from a CSVReader constructed from the Reader passed in.
parse(MappingStrategy<T>, Reader, CsvToBeanFilter) - Method in class com.opencsv.bean.CsvToBean
Parse the values from a CSVReader constructed from the Reader passed in.
parse(MappingStrategy<T>, Reader, CsvToBeanFilter, boolean) - Method in class com.opencsv.bean.CsvToBean
Parse the values from a CSVReader constructed from the Reader passed in.
parse(MappingStrategy<T>, CSVReader) - Method in class com.opencsv.bean.CsvToBean
Parse the values from the CSVReader.
parse(MappingStrategy<T>, CSVReader, boolean) - Method in class com.opencsv.bean.CsvToBean
Parse the values from the CSVReader.
parse(MappingStrategy<T>, CSVReader, CsvToBeanFilter) - Method in class com.opencsv.bean.CsvToBean
Parse the values from the CSVReader.
parse(MappingStrategy<T>, CSVReader, CsvToBeanFilter, boolean) - Method in class com.opencsv.bean.CsvToBean
Parse the values from the CSVReader.
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.
parseLineMulti(String) - Method in class com.opencsv.CSVParser
Parses an incoming String and returns an array of elements.
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.
processHeader(MappingStrategy<T>) - Method in class com.opencsv.bean.BeanToCsv
Processes the header for the bean.
processLine(MappingStrategy<T>, String[]) - Method in class com.opencsv.bean.CsvToBean
Creates a single object from a line from the CSV file.
processLine(String, Appendable) - Method in class com.opencsv.CSVWriter
Processes all the characters in a line.
processObject(List<Method>, Object) - Method in class com.opencsv.bean.BeanToCsv
Retrieve all the information out of an object.

Q

quotechar - Variable in class com.opencsv.CSVWriter
 

R

READ_AHEAD_LIMIT - Static variable in class com.opencsv.CSVReader
 
READ_BUFFER_SIZE - Static variable in class com.opencsv.CSVParser
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.
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
 
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.

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
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.
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.
setLineNumber(long) - Method in exception com.opencsv.exceptions.CsvException
 
setResultService(ResultSetHelper) - Method in class com.opencsv.CSVWriter
Sets the result service.
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.
skipLines - Variable in class com.opencsv.CSVReader
 
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
 

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.
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

withCSVParser(CSVParser) - Method in class com.opencsv.CSVReaderBuilder
Sets the parser to use to parse the input.
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.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.
withFilter(CsvToBeanFilter) - Method in class com.opencsv.bean.IterableCSVToBeanBuilder
Sets the filter used to remove unwanted data from the CSV file.
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.CSVParserBuilder
Sets the ignore quotations mode - if true, quotations are ignored.
withKeepCarriageReturn(boolean) - Method in class com.opencsv.CSVReaderBuilder
Sets if the reader will keep or discard carriage returns.
withMapper(MappingStrategy<T>) - Method in class com.opencsv.bean.IterableCSVToBeanBuilder
Sets the MappingStrategy to be used by the builder.
withQuoteChar(char) - Method in class com.opencsv.CSVParserBuilder
Sets the character to use for quoted elements.
withReader(CSVReader) - Method in class com.opencsv.bean.IterableCSVToBeanBuilder
Sets the reader to be used by the builder.
withSeparator(char) - Method in class com.opencsv.CSVParserBuilder
Sets the delimiter to use for separating entries.
withSkipLines(int) - Method in class com.opencsv.CSVReaderBuilder
Sets the number of lines to skip before reading.
withStrictQuotes(boolean) - Method in class com.opencsv.CSVParserBuilder
Sets the strict quotes setting - if true, characters outside the quotes are ignored.
withVerifyReader(boolean) - Method in class com.opencsv.CSVReaderBuilder
Checks to see if the CSVReader should verify the reader state before reads or not.
write(MappingStrategy<T>, Writer, List<?>) - Method in class com.opencsv.bean.BeanToCsv
Writes all the objects, one at a time, to a created CSVWriter using the passed in Strategy.
write(MappingStrategy<T>, CSVWriter, List<?>) - Method in class com.opencsv.bean.BeanToCsv
Writes all the objects, one at a time, to the CSVWriter using the passed in Strategy.
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.
writeColumnNames(ResultSet) - 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 P Q R S T V W 

Copyright © 2016. All rights reserved.