- capture - Variable in class com.opencsv.bean.BeanFieldSingleValue
-
The regular expression to be used for capturing part of the input for
processing.
- captureHeader(CSVReader) - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
-
There is no header per se for this mapping strategy, but this method
checks the first line to determine how many fields are present and
adjusts its field map accordingly.
- captureHeader(CSVReader) - Method in class com.opencsv.bean.FuzzyMappingStrategy
-
- captureHeader(CSVReader) - Method in class com.opencsv.bean.HeaderNameBaseMappingStrategy
-
- captureHeader(CSVReader) - Method in interface com.opencsv.bean.MappingStrategy
-
Implementation of this method can grab the header line before parsing
begins to use to map columns to bean properties.
- checkCharactersToEscape(char) - Method in class com.opencsv.CSVWriter
-
Checks whether the next character that is to be written out is a special
character that must be quoted.
- checkError() - Method in class com.opencsv.AbstractCSVWriter
-
- checkError() - Method in interface com.opencsv.ICSVWriter
-
Flushes the buffer and checks to see if the there has been an error in the printstream.
- checkExceptions() - Method in class com.opencsv.bean.concurrent.LineExecutor
-
- chooseMultivaluedFieldIndexFromHeaderIndex(int) - Method in class com.opencsv.bean.AbstractMappingStrategy
-
- chooseMultivaluedFieldIndexFromHeaderIndex(int) - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
-
- chooseMultivaluedFieldIndexFromHeaderIndex(int) - Method in class com.opencsv.bean.HeaderNameBaseMappingStrategy
-
- clear() - Method in class com.opencsv.bean.HeaderIndex
-
Empties the entire mapping.
- CLOBBUFFERSIZE - Static variable in class com.opencsv.ResultSetHelperService
-
- close() - Method in class com.opencsv.AbstractCSVWriter
-
- close() - Method in class com.opencsv.CSVReader
-
Closes the underlying reader.
- ColumnPositionMappingStrategy<T> - Class in com.opencsv.bean
-
Allows for the mapping of columns with their positions.
- ColumnPositionMappingStrategy() - Constructor for class com.opencsv.bean.ColumnPositionMappingStrategy
-
Default constructor.
- ColumnPositionMappingStrategyBuilder<T> - Class in com.opencsv.bean
-
- ColumnPositionMappingStrategyBuilder() - Constructor for class com.opencsv.bean.ColumnPositionMappingStrategyBuilder
-
Default constructor.
- com.opencsv - package com.opencsv
-
A very simple CSV parser for Java released under a commercial-friendly license.
- com.opencsv.bean - package com.opencsv.bean
-
A bean binding interface for use with opencsv.
- com.opencsv.bean.comparator - package com.opencsv.bean.comparator
-
This package is a collection of
Comparator
s that could be
useful to anyone using opencsv.
- com.opencsv.bean.concurrent - package com.opencsv.bean.concurrent
-
This package collects all classes necessary for the parallel processing of
beans.
- com.opencsv.bean.customconverter - package com.opencsv.bean.customconverter
-
Custom converters that are generally useful are collected here.
- com.opencsv.bean.exceptionhandler - package com.opencsv.bean.exceptionhandler
-
This package contains the interface and standard implementations for
exception handling logic during bean creation and bean writing.
- com.opencsv.bean.function - package com.opencsv.bean.function
-
This package collections function definitions that are used in opencsv.
- com.opencsv.bean.processor - package com.opencsv.bean.processor
-
- com.opencsv.bean.util - package com.opencsv.bean.util
-
This is a package of utility classes for internal use.
- com.opencsv.bean.validators - package com.opencsv.bean.validators
-
- com.opencsv.enums - package com.opencsv.enums
-
Enumerations relevant to opencsv's internal operations.
- com.opencsv.exceptions - package com.opencsv.exceptions
-
This package contains all of the exceptions specific to opencsv.
- com.opencsv.processor - package com.opencsv.processor
-
- com.opencsv.stream.reader - package com.opencsv.stream.reader
-
Collection of classes for customizing reading lines.
- com.opencsv.validators - package com.opencsv.validators
-
- combineResultsFromMultipleReads(String[], String[]) - Method in class com.opencsv.CSVReader
-
For multi-line records this method combines the current result with the result from previous read(s).
- compare(T, T) - Method in class com.opencsv.bean.comparator.LiteralComparator
-
Deprecated.
- compilePattern(String, int, Class<?>, Locale) - Static method in class com.opencsv.bean.util.OpencsvUtils
-
Compiles a regular expression into a
Pattern
,
throwing an exception that is proper in the context of opencsv if the
regular expression is not valid.
- compilePatternAtLeastOneGroup(String, int, Class<?>, Locale) - Static method in class com.opencsv.bean.util.OpencsvUtils
-
Compiles a regular expression into a
Pattern
,
throwing an exception that is proper in the context of opencsv if the
regular expression is not valid, or if it does not have at least one
capturing group.
- CompleteFileReader<T> - Class in com.opencsv.bean.concurrent
-
Implements a separate thread for reading input and siphoning it to a
LineExecutor
.
- CompleteFileReader(CSVReader, CsvToBeanFilter, boolean, MappingStrategy<? extends T>, CsvExceptionHandler, List<BeanVerifier<T>>) - Constructor for class com.opencsv.bean.concurrent.CompleteFileReader
-
- ComplexFieldMapEntry<I,K extends Comparable<K>,T> - Interface in com.opencsv.bean
-
Defines the basic functionality necessary for using a many-to-one mapping
between columns of a CSV file and bean fields.
- complexMapList - Variable in class com.opencsv.bean.AbstractFieldMap
-
A list of entries representing all complex, that is many-to-one, mappings
represented in this
FieldMap
.
- contains(K) - Method in interface com.opencsv.bean.ComplexFieldMapEntry
-
Determines whether or not the given key is contained in this entry.
- contains(Integer) - Method in class com.opencsv.bean.PositionToBeanField
-
- contains(String) - Method in class com.opencsv.bean.RegexToBeanField
-
- convert(String) - Method in class com.opencsv.bean.AbstractBeanField
-
Method for converting from a string to the proper datatype of the
destination field.
- convert(String) - Method in class com.opencsv.bean.BeanFieldSingleValue
-
Passes the string to be converted to the converter.
- convert(String) - Method in class com.opencsv.bean.BeanFieldSplit
-
This method manages the collection being created as well as splitting the
data.
- convert(String) - Method in class com.opencsv.bean.customconverter.ConverterLanguageToBoolean
-
Converts localized text into a
Boolean
.
- ConvertEmptyOrBlankStringsToDefault - Class in com.opencsv.bean.processor
-
StringProcessor that converts the empty or blank strings to a desired value string.
- ConvertEmptyOrBlankStringsToDefault() - Constructor for class com.opencsv.bean.processor.ConvertEmptyOrBlankStringsToDefault
-
Default constructor
- ConvertEmptyOrBlankStringsToNull - Class in com.opencsv.bean.processor
-
StringProcessor that converts the empty or blank strings to a literal null string.
- ConvertEmptyOrBlankStringsToNull() - Constructor for class com.opencsv.bean.processor.ConvertEmptyOrBlankStringsToNull
-
Default Constructor.
- converter - Variable in class com.opencsv.bean.AbstractBeanField
-
A class that converts from a string to the destination type on reading
and vice versa on writing.
- ConverterCurrency - Class in com.opencsv.bean
-
This class converts an input ISO 4217 currency code to a
Currency
instance.
- ConverterCurrency(Locale) - Constructor for class com.opencsv.bean.ConverterCurrency
-
Initializes the class.
- ConverterDate - Class in com.opencsv.bean
-
This class converts an input to a date type.
- ConverterDate(Class<?>, String, String, Locale, String, String, String, String) - Constructor for class com.opencsv.bean.ConverterDate
-
Initializes the class.
- ConverterEnum - Class in com.opencsv.bean
-
This class converts an input to an enumeration type and vice versa.
- ConverterEnum(Class<?>, String, String, Locale) - Constructor for class com.opencsv.bean.ConverterEnum
-
- ConverterLanguageToBoolean<T,I> - Class in com.opencsv.bean.customconverter
-
A base class for any converter to and from booleans when the string
values have been or should be localized to a specific language.
- ConverterLanguageToBoolean() - Constructor for class com.opencsv.bean.customconverter.ConverterLanguageToBoolean
-
- ConverterNumber - Class in com.opencsv.bean
-
This converter class is used in combination with
CsvNumber
, that is,
when number inputs and outputs should be formatted.
- ConverterNumber(Class<?>, String, String, Locale, String, String, RoundingMode) - Constructor for class com.opencsv.bean.ConverterNumber
-
- ConverterPrimitiveTypes - Class in com.opencsv.bean
-
This class wraps fields from the reflection API in order to handle
translation of primitive types and to add a "required" flag.
- ConverterPrimitiveTypes(Class<?>, String, String, Locale) - Constructor for class com.opencsv.bean.ConverterPrimitiveTypes
-
- ConverterUUID - Class in com.opencsv.bean
-
This class converts an String to a
UUID
instance.
- ConverterUUID(Locale) - Constructor for class com.opencsv.bean.ConverterUUID
-
Initializes the class.
- ConvertFrenchToBoolean<T,I> - Class in com.opencsv.bean.customconverter
-
This class converts common French representations of boolean values into a
Boolean
.
- ConvertFrenchToBoolean() - Constructor for class com.opencsv.bean.customconverter.ConvertFrenchToBoolean
-
Silence code style checker by adding a useless constructor.
- ConvertGermanToBoolean<T,I> - Class in com.opencsv.bean.customconverter
-
This class converts common German representations of boolean values into a
Boolean
.
- ConvertGermanToBoolean() - Constructor for class com.opencsv.bean.customconverter.ConvertGermanToBoolean
-
Silence code style checker by adding a useless constructor.
- convertToCsvValue(String, boolean) - Method in class com.opencsv.AbstractCSVParser
-
Used when reverse parsing an array of strings to a single string.
- convertToCsvValue(String, boolean, Appendable) - Method in class com.opencsv.AbstractCSVParser
-
Used when reverse parsing an array of strings to a single string.
- convertToCsvValue(String, boolean) - Method in class com.opencsv.CSVParser
-
- convertToCsvValue(String, boolean) - Method in class com.opencsv.RFC4180Parser
-
- convertToRead(String) - Method in class com.opencsv.bean.ConverterCurrency
-
- convertToRead(String) - Method in class com.opencsv.bean.ConverterDate
-
- convertToRead(String) - Method in class com.opencsv.bean.ConverterEnum
-
- convertToRead(String) - Method in class com.opencsv.bean.ConverterNumber
-
- convertToRead(String) - Method in class com.opencsv.bean.ConverterPrimitiveTypes
-
- convertToRead(String) - Method in class com.opencsv.bean.ConverterUUID
-
- convertToRead(String) - Method in interface com.opencsv.bean.CsvConverter
-
Method for converting from a string to the proper data type of the
destination field.
- convertToWrite(Object) - Method in class com.opencsv.bean.AbstractBeanField
-
- convertToWrite(Object) - Method in class com.opencsv.bean.AbstractCsvConverter
-
This implementation simply calls toString()
on value
.
- convertToWrite(Object) - Method in class com.opencsv.bean.BeanFieldSingleValue
-
Passes the object to be converted to the converter.
- convertToWrite(Object) - Method in class com.opencsv.bean.BeanFieldSplit
-
Manages converting a collection of values into a single string.
- convertToWrite(Object) - Method in class com.opencsv.bean.ConverterCurrency
-
- convertToWrite(Object) - Method in class com.opencsv.bean.ConverterDate
-
This method converts the encapsulated date type to a string, respecting
any locales and conversion patterns that have been set through opencsv
annotations.
- convertToWrite(Object) - Method in class com.opencsv.bean.ConverterEnum
-
- convertToWrite(Object) - Method in class com.opencsv.bean.ConverterNumber
-
Formats the number in question according to the pattern that has been
provided.
- convertToWrite(Object) - Method in class com.opencsv.bean.ConverterPrimitiveTypes
-
This method takes the current value of the field in question in the bean
passed in and converts it to a string.
- convertToWrite(Object) - Method in interface com.opencsv.bean.CsvConverter
-
Method for converting from the data type of the destination field to a
string.
- convertToWrite(Object) - Method in class com.opencsv.bean.customconverter.ConverterLanguageToBoolean
-
This method takes the current value of the field in question in the bean
passed in and converts it to a string.
- ConvertWordNullToNull - Class in com.opencsv.bean.processor
-
StringProcessor that converts the string value "null" to a literal null string.
- ConvertWordNullToNull() - Constructor for class com.opencsv.bean.processor.ConvertWordNullToNull
-
Default Constructor.
- createBean() - Method in class com.opencsv.bean.AbstractMappingStrategy
-
Implementation will return a bean of the type of object being mapped.
- CsvBadConverterException - Exception in com.opencsv.exceptions
-
This exception indicates that the converter did not behave as expected in
some way.
- CsvBadConverterException() - Constructor for exception com.opencsv.exceptions.CsvBadConverterException
-
Default constructor, in case no further information is necessary or
available.
- CsvBadConverterException(Class<?>) - Constructor for exception com.opencsv.exceptions.CsvBadConverterException
-
Constructor for specifying the class of the offending converter.
- CsvBadConverterException(String) - Constructor for exception com.opencsv.exceptions.CsvBadConverterException
-
Constructor with a simple text.
- CsvBadConverterException(Class<?>, String) - Constructor for exception com.opencsv.exceptions.CsvBadConverterException
-
Constructor for setting the class of the converter and an error message.
- CsvBeanIntrospectionException - Exception in com.opencsv.exceptions
-
This exception is to be thrown when anything goes bad during introspection of
beans given to opencsv.
- CsvBeanIntrospectionException() - Constructor for exception com.opencsv.exceptions.CsvBeanIntrospectionException
-
Nullary constructor.
- CsvBeanIntrospectionException(String) - Constructor for exception com.opencsv.exceptions.CsvBeanIntrospectionException
-
Constructor with a human-readable error message.
- CsvBeanIntrospectionException(Object, Field) - Constructor for exception com.opencsv.exceptions.CsvBeanIntrospectionException
-
Constructor to specify the bean and field whose manipulation caused this
exception.
- CsvBeanIntrospectionException(Object, Field, String) - Constructor for exception com.opencsv.exceptions.CsvBeanIntrospectionException
-
Constructor to provide all information connected to the error raised.
- CsvBindAndJoinByName - Annotation Type in com.opencsv.bean
-
Joins the values of multiple columns from the input into one bean field based
on a pattern for the column names.
- CsvBindAndJoinByNames - Annotation Type in com.opencsv.bean
-
- CsvBindAndJoinByPosition - Annotation Type in com.opencsv.bean
-
Joins the values of multiple columns from the input into one bean field based
on a selection of column positions.
- CsvBindAndJoinByPositions - Annotation Type in com.opencsv.bean
-
- CsvBindAndSplitByName - Annotation Type in com.opencsv.bean
-
This annotation interprets one field of the input as a collection that will
be split up into its components and assigned to a collection-based bean field.
- CsvBindAndSplitByNames - Annotation Type in com.opencsv.bean
-
- CsvBindAndSplitByPosition - Annotation Type in com.opencsv.bean
-
This annotation interprets one field of the input as a collection that will
be split up into its components and assigned to a collection-based bean field.
- CsvBindAndSplitByPositions - Annotation Type in com.opencsv.bean
-
- CsvBindByName - Annotation Type in com.opencsv.bean
-
Specifies a binding between a column name of the CSV input and a field in a
bean.
- CsvBindByNames - Annotation Type in com.opencsv.bean
-
- CsvBindByPosition - Annotation Type in com.opencsv.bean
-
Specifies a binding between a column number of the CSV input and a field in
a bean.
- CsvBindByPositions - Annotation Type in com.opencsv.bean
-
- CsvChainedException - Exception in com.opencsv.exceptions
-
An exception class for collecting multiple exceptions.
- CsvChainedException(CsvFieldAssignmentException) - Constructor for exception com.opencsv.exceptions.CsvChainedException
-
Constructor.
- CsvConstraintViolationException - Exception in com.opencsv.exceptions
-
This exception is thrown when logical connections between data fields would
be violated by the imported data.
- CsvConstraintViolationException() - Constructor for exception com.opencsv.exceptions.CsvConstraintViolationException
-
Default constructor, in case no further information is necessary or
available.
- CsvConstraintViolationException(Object) - Constructor for exception com.opencsv.exceptions.CsvConstraintViolationException
-
Constructor for setting the source object that triggered the constraint
violation.
- CsvConstraintViolationException(String) - Constructor for exception com.opencsv.exceptions.CsvConstraintViolationException
-
Constructor with a simple text.
- CsvConstraintViolationException(Object, String) - Constructor for exception com.opencsv.exceptions.CsvConstraintViolationException
-
Constructor for setting the source object and an error message.
- CsvConverter - Interface in com.opencsv.bean
-
Classes implementing this interface perform a conversion from String to
some type on reading and some type to String on writing.
- CsvCustomBindByName - Annotation Type in com.opencsv.bean
-
Allows us to specify a class that will perform the translation from source
to destination.
- CsvCustomBindByNames - Annotation Type in com.opencsv.bean
-
- CsvCustomBindByPosition - Annotation Type in com.opencsv.bean
-
Allows us to specify a class that will perform the translation from source
to destination.
- CsvCustomBindByPositions - Annotation Type in com.opencsv.bean
-
- CsvDataTypeMismatchException - Exception in com.opencsv.exceptions
-
This exception should be thrown when the provided string value for conversion
cannot be converted to the required type of the destination field.
- CsvDataTypeMismatchException() - Constructor for exception com.opencsv.exceptions.CsvDataTypeMismatchException
-
Default constructor, in case no further information is necessary or
available.
- CsvDataTypeMismatchException(Object, Class<?>) - Constructor for exception com.opencsv.exceptions.CsvDataTypeMismatchException
-
Constructor for setting the data and the class of the intended
destination field.
- CsvDataTypeMismatchException(String) - Constructor for exception com.opencsv.exceptions.CsvDataTypeMismatchException
-
Constructor with a simple text.
- CsvDataTypeMismatchException(Object, Class<?>, String) - Constructor for exception com.opencsv.exceptions.CsvDataTypeMismatchException
-
Constructor for setting the data and the class of the intended
destination field along with an error message.
- CsvDate - Annotation Type in com.opencsv.bean
-
This annotation indicates that the destination field is an expression of time.
- CsvDates - Annotation Type in com.opencsv.bean
-
This annotation is the container annotation for
CsvDate
.
- CsvException - Exception in com.opencsv.exceptions
-
This is the base class for all exceptions for opencsv.
- CsvException() - Constructor for exception com.opencsv.exceptions.CsvException
-
Default constructor, in case no parameters are required.
- CsvException(String) - Constructor for exception com.opencsv.exceptions.CsvException
-
Constructor that allows a human-readable message.
- CsvExceptionHandler - Interface in com.opencsv.bean.exceptionhandler
-
This interface defines a generic way of dealing with exceptions thrown
during the creation of beans or their conversion to CSV output.
- CsvFieldAssignmentException - Exception in com.opencsv.exceptions
-
Superclass for checked exceptions that can be thrown while trying to decode
and assign a single field.
- CsvFieldAssignmentException() - Constructor for exception com.opencsv.exceptions.CsvFieldAssignmentException
-
Nullary constructor.
- CsvFieldAssignmentException(String) - Constructor for exception com.opencsv.exceptions.CsvFieldAssignmentException
-
Constructor for initializing an error message.
- CsvIgnore - Annotation Type in com.opencsv.bean
-
Instructs opencsv to ignore a field and any annotations present.
- CSVIterator - Class in com.opencsv
-
Provides an Iterator over the data found in opencsv.
- CSVIterator(CSVReader) - Constructor for class com.opencsv.CSVIterator
-
- CsvMalformedLineException - Exception in com.opencsv.exceptions
-
Exception that is thrown when the
CSVReader
cannot process a line.
- CsvMalformedLineException() - Constructor for exception com.opencsv.exceptions.CsvMalformedLineException
-
Nullary constructor.
- CsvMalformedLineException(String, long, String) - Constructor for exception com.opencsv.exceptions.CsvMalformedLineException
-
Constructor with a message.
- CsvMultilineLimitBrokenException - Exception in com.opencsv.exceptions
-
Exception when you break the line limit of a multiline field.
- CsvMultilineLimitBrokenException() - Constructor for exception com.opencsv.exceptions.CsvMultilineLimitBrokenException
-
Nullary constructor.
- CsvMultilineLimitBrokenException(String, long, String, int) - Constructor for exception com.opencsv.exceptions.CsvMultilineLimitBrokenException
-
Constructor with a message.
- CsvNumber - Annotation Type in com.opencsv.bean
-
This annotation indicates that the destination field is a number that is
specially formatted.
- CsvNumbers - Annotation Type in com.opencsv.bean
-
This annotation is the container annotation for
CsvNumber
.
- CSVParser - Class in com.opencsv
-
A very simple CSV parser released under a commercial-friendly license.
- CSVParser() - Constructor for class com.opencsv.CSVParser
-
Constructs CSVParser using default values for everything.
- CSVParserBuilder - Class in com.opencsv
-
Builder for creating a CSVParser.
- CSVParserBuilder() - Constructor for class com.opencsv.CSVParserBuilder
-
Default constructor.
- CSVParserWriter - Class in com.opencsv
-
The CSVParserWriter is a replacement for the CSVWriter that allows you to pass in a ICSVParser
to handle the task of converting a string array to a line of CSV data.
- CSVParserWriter(Writer, ICSVParser, String) - Constructor for class com.opencsv.CSVParserWriter
-
Constructor for the CSVParserWriter.
- csvReader - Variable in class com.opencsv.bean.concurrent.SingleLineReader
-
- CSVReader - Class in com.opencsv
-
A very simple CSV reader released under a commercial-friendly license.
- CSVReader(Reader) - Constructor for class com.opencsv.CSVReader
-
Constructs CSVReader using defaults for all parameters.
- CSVReaderBaseBuilder<T> - Class in com.opencsv
-
Base class for the builders of various incarnations of CSVReaders.
- CSVReaderBaseBuilder(Reader) - Constructor for class com.opencsv.CSVReaderBaseBuilder
-
Base Constructor
- CSVReaderBuilder - Class in com.opencsv
-
- CSVReaderBuilder(Reader) - Constructor for class com.opencsv.CSVReaderBuilder
-
Sets the reader to an underlying CSV source.
- CSVReaderHeaderAware - Class in com.opencsv
-
Handy reader when there's insufficient motivation to use the bean binding but
the header mapping is still desired.
- CSVReaderHeaderAware(Reader) - Constructor for class com.opencsv.CSVReaderHeaderAware
-
Constructor with supplied reader.
- CSVReaderHeaderAwareBuilder - Class in com.opencsv
-
- CSVReaderHeaderAwareBuilder(Reader) - Constructor for class com.opencsv.CSVReaderHeaderAwareBuilder
-
Sets the reader to an underlying CSV source.
- CSVReaderNullFieldIndicator - Enum in com.opencsv.enums
-
Enumeration used to tell the CSVParser what to consider null.
- CsvRecurse - Annotation Type in com.opencsv.bean
-
Instructs a mapping strategy to look inside a member variable for further
mapping annotations.
- CsvRecursionException - Exception in com.opencsv.exceptions
-
This exception is thrown on initiation of field mapping if
CsvRecurse
has been improperly used.
- CsvRecursionException(String, Class<?>) - Constructor for exception com.opencsv.exceptions.CsvRecursionException
-
Constructor for an error message and the type that caused a recursion
problem.
- CsvRequiredFieldEmptyException - Exception in com.opencsv.exceptions
-
This exception should be thrown when a field marked as required is empty in
the CSV file.
- CsvRequiredFieldEmptyException() - Constructor for exception com.opencsv.exceptions.CsvRequiredFieldEmptyException
-
Default constructor, in case no further information is necessary.
- CsvRequiredFieldEmptyException(String) - Constructor for exception com.opencsv.exceptions.CsvRequiredFieldEmptyException
-
Constructor with a simple text.
- CsvRequiredFieldEmptyException(Class<?>, Field) - Constructor for exception com.opencsv.exceptions.CsvRequiredFieldEmptyException
-
Constructor for setting the intended class and field of the target bean.
- CsvRequiredFieldEmptyException(Class<?>, List<Field>) - Constructor for exception com.opencsv.exceptions.CsvRequiredFieldEmptyException
-
Constructor for setting the intended class and fields of the target bean.
- CsvRequiredFieldEmptyException(Class<?>, String) - Constructor for exception com.opencsv.exceptions.CsvRequiredFieldEmptyException
-
Constructor for setting the intended class of the target bean and a
human-readable error message.
- CsvRequiredFieldEmptyException(Class<?>, Field, String) - Constructor for exception com.opencsv.exceptions.CsvRequiredFieldEmptyException
-
Constructor for setting the intended class and field of the target bean
along with an error message.
- CsvRequiredFieldEmptyException(Class<?>, List<Field>, String) - Constructor for exception com.opencsv.exceptions.CsvRequiredFieldEmptyException
-
Constructor for setting the intended class and fields of the target bean
along with an error message.
- CsvRuntimeException - Exception in com.opencsv.exceptions
-
The base class for all unchecked exceptions in opencsv.
- CsvRuntimeException() - Constructor for exception com.opencsv.exceptions.CsvRuntimeException
-
Nullary constructor.
- CsvRuntimeException(String) - Constructor for exception com.opencsv.exceptions.CsvRuntimeException
-
Constructor with a message.
- CsvRuntimeException(String, Throwable) - Constructor for exception com.opencsv.exceptions.CsvRuntimeException
-
Constructor with a message and throwable
- CsvToBean<T> - Class in com.opencsv.bean
-
Converts CSV data to objects.
- CsvToBean() - Constructor for class com.opencsv.bean.CsvToBean
-
Default constructor.
- CsvToBeanBuilder<T> - Class in com.opencsv.bean
-
This class makes it possible to bypass all the intermediate steps and classes
in setting up to read from a CSV source to a list of beans.
- CsvToBeanBuilder(Reader) - Constructor for class com.opencsv.bean.CsvToBeanBuilder
-
Constructor with the one parameter that is most definitely mandatory, and
always will be.
- CsvToBeanBuilder(CSVReader) - Constructor for class com.opencsv.bean.CsvToBeanBuilder
-
Constructor with the one parameter that is most definitely mandatory, and
always will be.
- CsvToBeanFilter - Interface in com.opencsv.bean
-
Filters allow lines of input to be ignored before a bean is created.
- CsvValidationException - Exception in com.opencsv.exceptions
-
- CsvValidationException() - Constructor for exception com.opencsv.exceptions.CsvValidationException
-
Default constructor.
- CsvValidationException(String) - Constructor for exception com.opencsv.exceptions.CsvValidationException
-
Constructor that allows for a human readable message.
- CSVWriter - Class in com.opencsv
-
A very simple CSV writer released under a commercial-friendly license.
- CSVWriter(Writer) - Constructor for class com.opencsv.CSVWriter
-
Constructs CSVWriter using a comma for the separator.
- CSVWriter(Writer, char, char, char, String) - Constructor for class com.opencsv.CSVWriter
-
Constructs CSVWriter with supplied separator, quote char, escape char and line ending.
- CSVWriterBuilder - Class in com.opencsv
-
Builder for creating the CSVWriter.
- CSVWriterBuilder(Writer) - Constructor for class com.opencsv.CSVWriterBuilder
-
Constructor taking a writer for the resulting CSV output.
- generateHeader(T) - Method in class com.opencsv.bean.AbstractMappingStrategy
-
This method generates a header that can be used for writing beans of the
type provided back to a file.
- generateHeader(T) - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
-
This method returns an empty array.
- generateHeader(T) - Method in interface com.opencsv.bean.FieldMap
-
This method generates a header that can be used for writing beans of the
type provided back to a file.
- generateHeader(T) - Method in class com.opencsv.bean.FieldMapByName
-
This method generates a header that can be used for writing beans of the
type provided back to a file.
- generateHeader(T) - Method in class com.opencsv.bean.FieldMapByPosition
-
This method generates a header that can be used for writing beans of the
type provided back to a file.
- generateHeader(T) - Method in interface com.opencsv.bean.MappingStrategy
-
Implementations of this method must return an array of column headers
based on the contents of the mapping strategy.
- get(K) - Method in class com.opencsv.bean.AbstractFieldMap
-
- get(K) - Method in interface com.opencsv.bean.FieldMap
-
- getAllLocalizedFalseValues() - Method in class com.opencsv.bean.customconverter.ConverterLanguageToBoolean
-
This represents a list of all values accepted as "false".
- getAllLocalizedFalseValues() - Method in class com.opencsv.bean.customconverter.ConvertFrenchToBoolean
-
- getAllLocalizedFalseValues() - Method in class com.opencsv.bean.customconverter.ConvertGermanToBoolean
-
- getAllLocalizedTrueValues() - Method in class com.opencsv.bean.customconverter.ConverterLanguageToBoolean
-
This represents a list of all values accepted as "true".
- getAllLocalizedTrueValues() - Method in class com.opencsv.bean.customconverter.ConvertFrenchToBoolean
-
- getAllLocalizedTrueValues() - Method in class com.opencsv.bean.customconverter.ConvertGermanToBoolean
-
- getBean() - Method in exception com.opencsv.exceptions.CsvBeanIntrospectionException
-
Gets the bean that was to be introspected.
- getBeanClass() - Method in exception com.opencsv.exceptions.CsvRequiredFieldEmptyException
-
Gets the class of the bean to which the value was to be assigned.
- getBeanField() - Method in class com.opencsv.bean.AbstractFieldMapEntry
-
- getBeanField() - Method in interface com.opencsv.bean.ComplexFieldMapEntry
-
- getBindingAnnotations() - Method in class com.opencsv.bean.AbstractMappingStrategy
-
Returns a set of the annotations that are used for binding in this
mapping strategy.
- getBindingAnnotations() - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
-
Returns a set of the annotations that are used for binding in this
mapping strategy.
- getBindingAnnotations() - Method in class com.opencsv.bean.HeaderColumnNameMappingStrategy
-
Returns a set of the annotations that are used for binding in this
mapping strategy.
- getByName(String) - Method in class com.opencsv.bean.HeaderIndex
-
Retrieves the column position(s) associated with the given header name.
- getByPosition(int) - Method in class com.opencsv.bean.HeaderIndex
-
Retrieves the header associated with the given column position.
- getCapturedExceptions() - Method in class com.opencsv.bean.CsvToBean
-
Returns the list of all exceptions that would have been thrown during the
import, but were queued by the exception handler.
- getCapturedExceptions() - Method in class com.opencsv.bean.StatefulBeanToCsv
-
Any exceptions captured during writing of beans to a CSV destination can
be retrieved through this method.
- getColumnMapping() - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
-
Retrieves the column mappings.
- getColumnMapping() - Method in class com.opencsv.bean.HeaderColumnNameTranslateMappingStrategy
-
Retrieves the column mappings of the strategy.
- getColumnName(int) - Method in class com.opencsv.bean.AbstractMappingStrategy
-
Get the column name for a given column position.
- getColumnName(int) - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
-
Gets a column name.
- getColumnName(int) - Method in class com.opencsv.bean.HeaderColumnNameTranslateMappingStrategy
-
- getColumnNames(ResultSet) - Method in class com.opencsv.ResultSetColumnNameHelperService
-
Returns the column names from the result set.
- getColumnNames(ResultSet) - Method in interface com.opencsv.ResultSetHelper
-
Returns the column names from the ResultSet.
- getColumnNames(ResultSet) - Method in class com.opencsv.ResultSetHelperService
-
- getColumnValues(ResultSet) - Method in class com.opencsv.ResultSetColumnNameHelperService
-
Get all the column values from the result set.
- getColumnValues(ResultSet, boolean) - Method in class com.opencsv.ResultSetColumnNameHelperService
-
Get all the column values from the result set.
- getColumnValues(ResultSet, boolean, String, String) - Method in class com.opencsv.ResultSetColumnNameHelperService
-
Get all the column values from the result set.
- getColumnValues(ResultSet) - Method in interface com.opencsv.ResultSetHelper
-
Returns the column values from the result set.
- getColumnValues(ResultSet, boolean) - Method in interface com.opencsv.ResultSetHelper
-
Returns the column values from the result set with the values trimmed if desired.
- getColumnValues(ResultSet, boolean, String, String) - Method in interface com.opencsv.ResultSetHelper
-
Returns the column values from the result set with the values trimmed if desired.
- getColumnValues(ResultSet) - Method in class com.opencsv.ResultSetHelperService
-
- getColumnValues(ResultSet, boolean) - Method in class com.opencsv.ResultSetHelperService
-
- getColumnValues(ResultSet, boolean, String, String) - Method in class com.opencsv.ResultSetHelperService
-
- getContext() - Method in exception com.opencsv.exceptions.CsvMalformedLineException
-
- getContext() - Method in exception com.opencsv.exceptions.CsvMultilineLimitBrokenException
-
- getConverterClass() - Method in exception com.opencsv.exceptions.CsvBadConverterException
-
- getCsvParser() - Method in class com.opencsv.CSVReaderBaseBuilder
-
Used by unit tests.
- getDestinationClass() - Method in exception com.opencsv.exceptions.CsvDataTypeMismatchException
-
Gets the type of the field to which the data were to be assigned.
- getDestinationField() - Method in exception com.opencsv.exceptions.CsvRequiredFieldEmptyException
-
Gets the field from the Reflection API that was to be assigned.
- getDestinationFields() - Method in exception com.opencsv.exceptions.CsvRequiredFieldEmptyException
-
Returns the complete list of all fields that were to be empty.
- getElement() - Method in class com.opencsv.bean.util.OrderedObject
-
- getErrorLocale() - Method in class com.opencsv.bean.AbstractBeanField
-
- getErrorLocale() - Method in interface com.opencsv.bean.BeanField
-
Returns the error locale for the beans.
- getErrorLocale() - Method in class com.opencsv.CSVReaderBaseBuilder
-
- getEscape() - Method in class com.opencsv.CSVParser
-
- getEscapeChar() - Method in class com.opencsv.CSVParserBuilder
-
- getException() - Method in class com.opencsv.AbstractCSVWriter
-
- getException() - Method in interface com.opencsv.ICSVWriter
-
Get latest exception.
- getExceptionChain() - Method in exception com.opencsv.exceptions.CsvChainedException
-
- getField() - Method in class com.opencsv.bean.AbstractBeanField
-
- getField() - Method in interface com.opencsv.bean.BeanField
-
Gets the field to be processed.
- getField(Object) - Method in class com.opencsv.bean.FieldAccess
-
Returns the value of the field in the given bean.
- getField() - Method in class com.opencsv.bean.FieldMapByNameEntry
-
- getField() - Method in class com.opencsv.bean.FieldMapByPositionEntry
-
- getField() - Method in exception com.opencsv.exceptions.CsvBeanIntrospectionException
-
Gets the field from the Reflection API that was involved in the error.
- getFieldMap() - Method in class com.opencsv.bean.AbstractMappingStrategy
-
Returns the
FieldMap
associated with this mapping strategy.
- getFieldMap() - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
-
- getFieldMap() - Method in class com.opencsv.bean.HeaderNameBaseMappingStrategy
-
- getFieldValue(Object) - Method in class com.opencsv.bean.AbstractBeanField
-
- getFieldValue(Object) - Method in interface com.opencsv.bean.BeanField
-
Gets the contents of the selected field of the given bean.
- getFirstException() - Method in exception com.opencsv.exceptions.CsvChainedException
-
Convenience method to return the first exception from the exception chain.
- getHeaderIndex() - Method in class com.opencsv.bean.HeaderIndex
-
- getHeaderIndexLength() - Method in class com.opencsv.bean.HeaderIndex
-
- getInitializer() - Method in interface com.opencsv.bean.ComplexFieldMapEntry
-
Returns the information used to initialize this entry.
- getInitializer() - Method in class com.opencsv.bean.PositionToBeanField
-
- getInitializer() - Method in class com.opencsv.bean.RegexToBeanField
-
- getLine() - Method in class com.opencsv.bean.concurrent.SingleLineReader
-
- getLine() - Method in exception com.opencsv.exceptions.CsvException
-
- getLineNumber() - Method in exception com.opencsv.exceptions.CsvException
-
- getLineNumber() - Method in exception com.opencsv.exceptions.CsvMalformedLineException
-
- getLineProcessed() - Method in class com.opencsv.bean.concurrent.CompleteFileReader
-
- getLinesRead() - Method in class com.opencsv.bean.concurrent.SingleLineReader
-
- getLinesRead() - Method in class com.opencsv.CSVReader
-
This method returns the number of lines that
has been read from the reader passed into the CSVReader.
- getLineValidatorAggregator() - Method in class com.opencsv.CSVReaderBaseBuilder
-
- getLocalizedFalse() - Method in class com.opencsv.bean.customconverter.ConverterLanguageToBoolean
-
This is the string for "false" in the localized language.
- getLocalizedFalse() - Method in class com.opencsv.bean.customconverter.ConvertFrenchToBoolean
-
- getLocalizedFalse() - Method in class com.opencsv.bean.customconverter.ConvertGermanToBoolean
-
- getLocalizedMessage() - Method in exception com.opencsv.exceptions.CsvBeanIntrospectionException
-
- getLocalizedTrue() - Method in class com.opencsv.bean.customconverter.ConverterLanguageToBoolean
-
This is the string for "true" in the localized language.
- getLocalizedTrue() - Method in class com.opencsv.bean.customconverter.ConvertFrenchToBoolean
-
- getLocalizedTrue() - Method in class com.opencsv.bean.customconverter.ConvertGermanToBoolean
-
- getMessage() - Method in exception com.opencsv.exceptions.CsvBeanIntrospectionException
-
Gets a human-readable error message.
- getMultilineLimit() - Method in class com.opencsv.CSVReader
-
Only useful for tests.
- getMultilineLimit() - Method in class com.opencsv.CSVReaderBaseBuilder
-
Used by unit tests.
- getMultilineLimit() - Method in exception com.opencsv.exceptions.CsvMultilineLimitBrokenException
-
- getName() - Method in class com.opencsv.bean.FieldMapByNameEntry
-
- getNextLine() - Method in class com.opencsv.CSVReader
-
Reads the next line from the file.
- getOffendingType() - Method in exception com.opencsv.exceptions.CsvRecursionException
-
- getOrCreateCsvParser() - Method in class com.opencsv.CSVReaderBaseBuilder
-
Creates a new
ICSVParser
if the class doesn't already hold one.
- getOrdinal() - Method in class com.opencsv.bean.util.OrderedObject
-
- getParser() - Method in class com.opencsv.CSVReader
-
- getPendingText() - Method in class com.opencsv.AbstractCSVParser
-
- getPendingText() - Method in interface com.opencsv.ICSVParser
-
If a parser is in the middle of parsing a multiline field, this will
return the text collected so far.
- getPosition() - Method in class com.opencsv.bean.FieldMapByPositionEntry
-
- getQuotechar() - Method in class com.opencsv.AbstractCSVParser
-
- getQuoteChar() - Method in class com.opencsv.CSVParserBuilder
-
- getQuotechar() - Method in interface com.opencsv.ICSVParser
-
- getQuoteChar() - Method in class com.opencsv.RFC4180ParserBuilder
-
- getQuotecharAsString() - Method in class com.opencsv.AbstractCSVParser
-
- getReader() - Method in class com.opencsv.CSVReaderBaseBuilder
-
Used by unit tests.
- getRecordsRead() - Method in class com.opencsv.CSVReader
-
Used for debugging purposes, this method returns the number of records
that has been read from the CSVReader.
- getRecursiveMembers() - Method in class com.opencsv.bean.AbstractMappingStrategy.RecursiveType
-
- getRow() - Method in exception com.opencsv.exceptions.CsvMultilineLimitBrokenException
-
- getRowValidatorAggregator() - Method in class com.opencsv.CSVReaderBaseBuilder
-
- getSeparator() - Method in class com.opencsv.AbstractCSVParser
-
- getSeparator() - Method in class com.opencsv.CSVParserBuilder
-
- getSeparator() - Method in interface com.opencsv.ICSVParser
-
- getSeparator() - Method in class com.opencsv.RFC4180ParserBuilder
-
- getSeparatorAsString() - Method in class com.opencsv.AbstractCSVParser
-
- getSkipLines() - Method in class com.opencsv.CSVReader
-
Returns the number of lines in the CSV file to skip before processing.
- getSkipLines() - Method in class com.opencsv.CSVReaderBaseBuilder
-
Used by unit tests.
- getSourceObject() - Method in exception com.opencsv.exceptions.CsvConstraintViolationException
-
Gets the object that would have caused a constraint violation.
- getSourceObject() - Method in exception com.opencsv.exceptions.CsvDataTypeMismatchException
-
Gets the object that was to be assigned to a field of the wrong type.
- getTerminalException() - Method in class com.opencsv.bean.concurrent.CompleteFileReader
-
- getType() - Method in class com.opencsv.bean.AbstractBeanField
-
- getType() - Method in class com.opencsv.bean.AbstractMappingStrategy
-
Get the class type that the strategy is mapping.
- getType() - Method in class com.opencsv.bean.AbstractMappingStrategy.RecursiveType
-
- getType() - Method in interface com.opencsv.bean.BeanField
-
Gets the type of the bean this field is attached to.
- selectAnnotationForProfile(A[], Function<A, String[]>) - Method in class com.opencsv.bean.AbstractMappingStrategy
-
Determines which one of a list of annotations applies to the currently
selected profile.
- separator - Variable in class com.opencsv.AbstractCSVParser
-
This is the character that the CSVParser will treat as the separator.
- separator - Variable in class com.opencsv.CSVWriter
-
- separatorAsString - Variable in class com.opencsv.AbstractCSVParser
-
This is the separator in Stirng form to reduce the number of calls to toString.
- setColumnMapping(String...) - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
-
Setter for the column mapping.
- setColumnMapping(Map<String, String>) - Method in class com.opencsv.bean.HeaderColumnNameTranslateMappingStrategy
-
Sets the column mapping to those passed in.
- setColumnNames(String[], String[]) - Method in class com.opencsv.ResultSetColumnNameHelperService
-
Set the JDBC column names to use, and the header text for the CSV file
- setColumnOrderOnWrite(Comparator<Integer>) - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
-
Sets the
Comparator
to be used to sort columns when
writing beans to a CSV file.
- setColumnOrderOnWrite(Comparator<String>) - Method in class com.opencsv.bean.FieldMapByName
-
Sets the
Comparator
to be used to sort columns when
writing beans to a CSV file.
- setColumnOrderOnWrite(Comparator<Integer>) - Method in class com.opencsv.bean.FieldMapByPosition
-
Sets the
Comparator
to be used to sort columns when
writing beans to a CSV file.
- setColumnOrderOnWrite(Comparator<String>) - Method in class com.opencsv.bean.HeaderNameBaseMappingStrategy
-
Sets the
Comparator
to be used to sort columns when
writing beans to a CSV file.
- setCsvReader(CSVReader) - Method in class com.opencsv.bean.CsvToBean
-
Sets the reader to be used to read in the information from the CSV input.
- setDateFormat(String) - Method in class com.opencsv.ResultSetHelperService
-
Set a default date format pattern that will be used by the service.
- setDateTimeFormat(String) - Method in class com.opencsv.ResultSetHelperService
-
Set a default date time format pattern that will be used by the service.
- setErrorLocale(Locale) - Method in class com.opencsv.bean.AbstractBeanField
-
- setErrorLocale(Locale) - Method in class com.opencsv.bean.AbstractCsvConverter
-
- setErrorLocale(Locale) - Method in class com.opencsv.bean.AbstractFieldMap
-
- setErrorLocale(Locale) - Method in class com.opencsv.bean.AbstractFieldMapEntry
-
- setErrorLocale(Locale) - Method in class com.opencsv.bean.AbstractMappingStrategy
-
- setErrorLocale(Locale) - Method in interface com.opencsv.bean.BeanField
-
Sets the locale for all error messages.
- setErrorLocale(Locale) - Method in interface com.opencsv.bean.ComplexFieldMapEntry
-
Sets the locale to be used for error messages.
- setErrorLocale(Locale) - Method in interface com.opencsv.bean.CsvConverter
-
Sets the locale for all error messages.
- setErrorLocale(Locale) - Method in class com.opencsv.bean.CsvToBean
-
Sets the locale for error messages.
- setErrorLocale(Locale) - Method in interface com.opencsv.bean.FieldMap
-
Sets the locale to be used for error messages.
- setErrorLocale(Locale) - Method in interface com.opencsv.bean.MappingStrategy
-
Sets the locale for all error messages.
- setErrorLocale(Locale) - Method in class com.opencsv.bean.StatefulBeanToCsv
-
Sets the locale for all error messages.
- setErrorLocale(Locale) - Method in class com.opencsv.CSVIterator
-
Sets the locale for error messages.
- setErrorLocale(Locale) - Method in class com.opencsv.CSVParser
-
- setErrorLocale(Locale) - Method in class com.opencsv.CSVReader
-
Sets the locale for all error messages.
- setErrorLocale(Locale) - Method in interface com.opencsv.ICSVParser
-
Sets the locale for all error messages.
- setErrorLocale(Locale) - Method in class com.opencsv.ResultSetColumnNameHelperService
-
Sets the locale for error messages.
- setErrorLocale(Locale) - Method in class com.opencsv.RFC4180Parser
-
- setExceptionHandler(CsvExceptionHandler) - Method in class com.opencsv.bean.CsvToBean
-
Sets the handler for recoverable exceptions raised during processing of
records.
- setExecutor(LineExecutor<T>) - Method in class com.opencsv.bean.concurrent.CompleteFileReader
-
Sets the executor that will convert text input to bean output.
- setField(Field) - Method in class com.opencsv.bean.AbstractBeanField
-
- setField(Field) - Method in interface com.opencsv.bean.BeanField
-
Sets the field to be processed.
- setField(Object, T) - Method in class com.opencsv.bean.FieldAccess
-
Sets the value of the field in the given bean.
- setFieldValue(Object, String, String) - Method in class com.opencsv.bean.AbstractBeanField
-
- setFieldValue(Map<Class<?>, Object>, String, int) - Method in class com.opencsv.bean.AbstractMappingStrategy
-
Populates the field corresponding to the column position indicated of the
bean passed in according to the rules of the mapping strategy.
- setFieldValue(Object, String, String) - Method in interface com.opencsv.bean.BeanField
-
Populates the selected field of the bean.
- setFilter(CsvToBeanFilter) - Method in class com.opencsv.bean.CsvToBean
-
Sets a filter to selectively remove some lines of input before they
become beans.
- setFloatingPointFormat(NumberFormat) - Method in class com.opencsv.ResultSetHelperService
-
Set a default number formatter for integer numbers that will be used by the service.
- setIgnoreEmptyLines(boolean) - Method in class com.opencsv.bean.CsvToBean
-
Ignores any blank lines in the data that are not part of a field.
- setIntegerFormat(NumberFormat) - Method in class com.opencsv.ResultSetHelperService
-
Set a default number formatter for floating point numbers that will be used by the service.
- setLine(String[]) - Method in exception com.opencsv.exceptions.CsvChainedException
-
Sets the line for all exceptions collected.
- setLine(String[]) - Method in exception com.opencsv.exceptions.CsvException
-
- setLineNumber(long) - Method in exception com.opencsv.exceptions.CsvChainedException
-
Sets the line number for all exceptions collected.
- setLineNumber(long) - Method in exception com.opencsv.exceptions.CsvException
-
- setLocale(String) - Method in class com.opencsv.bean.AbstractCsvConverter
-
- setLocale(String) - Method in interface com.opencsv.bean.CsvConverter
-
If not null or empty, specifies the locale used for converting
locale-specific data types for reading.
- setMappingStrategy(MappingStrategy<? extends T>) - Method in class com.opencsv.bean.CsvToBean
-
Sets the mapping strategy to be used by this bean.
- setMaxIndex(int) - Method in class com.opencsv.bean.FieldMapByPosition
-
Sets the maximum index for all ranges specified in the entire field map.
- setOrderedResults(boolean) - Method in class com.opencsv.bean.CsvToBean
-
Sets whether or not results must be returned in the same order in which
they appear in the input.
- setOrderedResults(boolean) - Method in class com.opencsv.bean.StatefulBeanToCsv
-
Sets whether or not results must be written in the same order in which
they appear in the list of beans provided as input.
- setParameterString(String) - Method in class com.opencsv.bean.processor.ConvertEmptyOrBlankStringsToDefault
-
- setParameterString(String) - Method in class com.opencsv.bean.processor.ConvertEmptyOrBlankStringsToNull
-
This method is unused in this implementation as we are converting to null.
- setParameterString(String) - Method in class com.opencsv.bean.processor.ConvertWordNullToNull
-
This method is unused in this implementation as we are converting to null.
- setParameterString(String) - Method in interface com.opencsv.bean.processor.StringProcessor
-
This allows the validator extending
StringProcessor
to be used
by multiple fields by allowing you to pass in data for the processor to
be used.
- setParameterString(String) - Method in class com.opencsv.bean.validators.MustMatchRegexExpression
-
- setParameterString(String) - Method in interface com.opencsv.bean.validators.StringValidator
-
This allows the validator extending
StringValidator
to be used
by multiple fields by allowing you to pass in data for the validator to
be used.
- setProfile(String) - Method in class com.opencsv.bean.AbstractMappingStrategy
-
Sets the profile this mapping strategy will use when configuring bean
fields.
- setProfile(String) - Method in interface com.opencsv.bean.MappingStrategy
-
Sets the profile this mapping strategy will use when configuring bean
fields.
- setRequired(boolean) - Method in class com.opencsv.bean.AbstractBeanField
-
- setRequired(boolean) - Method in interface com.opencsv.bean.BeanField
-
Determines whether or not a field is required.
- setResultService(ResultSetHelper) - Method in class com.opencsv.AbstractCSVWriter
-
- setResultService(ResultSetHelper) - Method in interface com.opencsv.ICSVWriter
-
Sets the result service.
- setThrowExceptions(boolean) - Method in class com.opencsv.bean.CsvToBean
-
- setType(Class<?>) - Method in class com.opencsv.bean.AbstractBeanField
-
- setType(Class<?>) - Method in class com.opencsv.bean.AbstractCsvConverter
-
- setType(Class<? extends T>) - Method in class com.opencsv.bean.AbstractMappingStrategy
-
Sets the class type that is being mapped.
- setType(Class<?>) - Method in interface com.opencsv.bean.BeanField
-
Sets the type of the bean this field is attached to.
- setType(Class<?>) - Method in interface com.opencsv.bean.CsvConverter
-
Sets the class of the type of the data being processed.
- setType(Class<? extends T>) - Method in interface com.opencsv.bean.MappingStrategy
-
Sets the class type that is being mapped.
- setVerifiers(List<BeanVerifier<T>>) - Method in class com.opencsv.bean.CsvToBean
-
Sets the list of verifiers to be run on all beans after creation.
- setWriteLocale(String) - Method in class com.opencsv.bean.AbstractCsvConverter
-
- setWriteLocale(String) - Method in interface com.opencsv.bean.CsvConverter
-
If not null or empty, specifies the locale used for converting
locale-specific data types for writing.
- simpleMap - Variable in class com.opencsv.bean.AbstractFieldMap
-
A map for all simple, that is one-to-one, mappings represented in this
FieldMap
.
- SingleLineReader - Class in com.opencsv.bean.concurrent
-
- SingleLineReader(CSVReader, boolean) - Constructor for class com.opencsv.bean.concurrent.SingleLineReader
-
The only constructor.
- skip(int) - Method in class com.opencsv.CSVReader
-
Skip a given number of lines.
- skipLines - Variable in class com.opencsv.CSVReader
-
- skipLines - Variable in class com.opencsv.CSVReaderBaseBuilder
-
- SPECIAL_REGEX_CHARS - Static variable in class com.opencsv.AbstractCSVParser
-
This is needed by the split command in case the separator character is a regex special character.
- StatefulBeanToCsv<T> - Class in com.opencsv.bean
-
This class writes beans out in CSV format to a
Writer
,
keeping state information and making an intelligent guess at the mapping
strategy to be applied.
- StatefulBeanToCsv(MappingStrategy<T>, CsvExceptionHandler, boolean, ICSVWriter, MultiValuedMap<Class<?>, Field>, String) - Constructor for class com.opencsv.bean.StatefulBeanToCsv
-
- StatefulBeanToCsvBuilder<T> - Class in com.opencsv.bean
-
This is a builder for StatefulBeanToCsv, allowing one to set all parameters
necessary for writing a CSV file.
- StatefulBeanToCsvBuilder(Writer) - Constructor for class com.opencsv.bean.StatefulBeanToCsvBuilder
-
Default constructor - Being stateful the writer is required by the builder at the start and not added in later.
- StatefulBeanToCsvBuilder(ICSVWriter) - Constructor for class com.opencsv.bean.StatefulBeanToCsvBuilder
-
Being stateful the writer is required by the builder at the start and not added in later.
- stream() - Method in class com.opencsv.bean.CsvToBean
-
Parses the input based on parameters already set through other methods.
- stringContainsSpecialCharacters(String) - Method in class com.opencsv.CSVWriter
-
Checks to see if the line contains special characters.
- StringProcessor - Interface in com.opencsv.bean.processor
-
This is the interface for validators for a single
String
value.
- StringValidator - Interface in com.opencsv.bean.validators
-
This is the interface for validators for a single
String
value.
- submitBean(long, MappingStrategy<T>, T, CsvExceptionHandler) - Method in class com.opencsv.bean.concurrent.BeanExecutor
-
Submit one bean for conversion.
- submitLine(long, MappingStrategy<? extends T>, CsvToBeanFilter, List<BeanVerifier<T>>, String[], CsvExceptionHandler) - Method in class com.opencsv.bean.concurrent.LineExecutor
-
Submit one record for conversion to a bean.
- withApplyQuotesToAll(boolean) - Method in class com.opencsv.bean.StatefulBeanToCsvBuilder
-
Sets whether all outputs should be put in quotes.
- withCSVParser(ICSVParser) - Method in class com.opencsv.CSVReaderBuilder
-
Sets the parser to use to parse the input.
- withCSVParser(ICSVParser) - Method in class com.opencsv.CSVReaderHeaderAwareBuilder
-
Sets the parser to use to parse the input.
- withErrorLocale(Locale) - Method in class com.opencsv.bean.CsvToBeanBuilder
-
Sets the locale for all error messages.
- withErrorLocale(Locale) - Method in class com.opencsv.bean.StatefulBeanToCsvBuilder
-
Sets the locale to be used for all error messages.
- withErrorLocale(Locale) - Method in class com.opencsv.CSVParserBuilder
-
Sets the locale for all error messages.
- withErrorLocale(Locale) - Method in class com.opencsv.CSVReaderBuilder
-
Sets the locale for all error messages.
- withErrorLocale(Locale) - Method in class com.opencsv.CSVReaderHeaderAwareBuilder
-
Sets the locale for all error messages.
- withEscapeChar(char) - Method in class com.opencsv.bean.CsvToBeanBuilder
-
- withEscapechar(char) - Method in class com.opencsv.bean.StatefulBeanToCsvBuilder
-
- withEscapeChar(char) - Method in class com.opencsv.CSVParserBuilder
-
Sets the character to use for escaping a separator or quote.
- withEscapeChar(char) - Method in class com.opencsv.CSVWriterBuilder
-
Sets the escape character that the ICSVWriter will be using.
- withExceptionHandler(CsvExceptionHandler) - Method in class com.opencsv.bean.CsvToBeanBuilder
-
Sets the handler for recoverable exceptions raised during processing of
records.
- withExceptionHandler(CsvExceptionHandler) - Method in class com.opencsv.bean.StatefulBeanToCsvBuilder
-
Sets the handler for recoverable exceptions raised during processing of
records.
- withFieldAsNull(CSVReaderNullFieldIndicator) - Method in class com.opencsv.bean.CsvToBeanBuilder
-
- withFieldAsNull(CSVReaderNullFieldIndicator) - Method in class com.opencsv.CSVParserBuilder
-
Sets the NullFieldIndicator.
- withFieldAsNull(CSVReaderNullFieldIndicator) - Method in class com.opencsv.CSVReaderBuilder
-
Checks to see if it should treat a field with two separators, two quotes, or both as a null field.
- withFieldAsNull(CSVReaderNullFieldIndicator) - Method in class com.opencsv.CSVReaderHeaderAwareBuilder
-
Checks to see if it should treat a field with two separators, two quotes, or both as a null field.
- withFieldAsNull(CSVReaderNullFieldIndicator) - Method in class com.opencsv.RFC4180ParserBuilder
-
Sets the NullFieldIndicator.
- withFilter(CsvToBeanFilter) - Method in class com.opencsv.bean.CsvToBeanBuilder
-
- withForceCorrectRecordLength(boolean) - Method in class com.opencsv.bean.FuzzyMappingStrategyBuilder
-
Insists that every record will be considered to be of the correct
length (that is, the same number of columns as the header).
- withForceCorrectRecordLength(boolean) - Method in class com.opencsv.bean.HeaderColumnNameMappingStrategyBuilder
-
Insists that every record will be considered to be of the correct
length (that is, the same number of columns as the header).
- withForceCorrectRecordLength(boolean) - Method in class com.opencsv.bean.HeaderColumnNameTranslateMappingStrategyBuilder
-
Insists that every record will be considered to be of the correct
length (that is, the same number of columns as the header).
- withIgnoreEmptyLine(boolean) - Method in class com.opencsv.bean.CsvToBeanBuilder
-
- withIgnoreField(Class<?>, Field) - Method in class com.opencsv.bean.CsvToBeanBuilder
-
Adds a
Field
to the list of fields opencsv should ignore
completely.
- withIgnoreField(Class<?>, Field) - Method in class com.opencsv.bean.StatefulBeanToCsvBuilder
-
Adds a
Field
to the list of fields opencsv should ignore
completely.
- withIgnoreLeadingWhiteSpace(boolean) - Method in class com.opencsv.bean.CsvToBeanBuilder
-
- withIgnoreLeadingWhiteSpace(boolean) - Method in class com.opencsv.CSVParserBuilder
-
Sets the ignore leading whitespace setting - if true, white space
in front of a quote in a field is ignored.
- withIgnoreQuotations(boolean) - Method in class com.opencsv.bean.CsvToBeanBuilder
-
- withIgnoreQuotations(boolean) - Method in class com.opencsv.CSVParserBuilder
-
Sets the ignore quotations mode - if true, quotations are ignored.
- withKeepCarriageReturn(boolean) - Method in class com.opencsv.bean.CsvToBeanBuilder
-
- withKeepCarriageReturn(boolean) - Method in class com.opencsv.CSVReaderBuilder
-
Sets if the reader will keep or discard carriage returns.
- withKeepCarriageReturn(boolean) - Method in class com.opencsv.CSVReaderHeaderAwareBuilder
-
Sets if the reader will keep or discard carriage returns.
- withLineEnd(String) - Method in class com.opencsv.bean.StatefulBeanToCsvBuilder
-
- withLineEnd(String) - Method in class com.opencsv.CSVWriterBuilder
-
Sets the newline character that the ICSVWriter will use.
- withLineValidator(LineValidator) - Method in class com.opencsv.CSVReaderBuilder
-
- withLineValidator(LineValidator) - Method in class com.opencsv.CSVReaderHeaderAwareBuilder
-
- withMappingStrategy(MappingStrategy<? extends T>) - Method in class com.opencsv.bean.CsvToBeanBuilder
-
- withMappingStrategy(MappingStrategy<T>) - Method in class com.opencsv.bean.StatefulBeanToCsvBuilder
-
Sets the mapping strategy for writing beans to a CSV destination.
- withMultilineLimit(int) - Method in class com.opencsv.bean.CsvToBeanBuilder
-
Sets the maximum number of lines allowed in a multiline record.
- withMultilineLimit(int) - Method in class com.opencsv.CSVReaderBuilder
-
Sets the maximum number of lines allowed in a multiline record.
- withMultilineLimit(int) - Method in class com.opencsv.CSVReaderHeaderAwareBuilder
-
Sets the maximum number of lines allowed in a multiline record.
- withOrderedResults(boolean) - Method in class com.opencsv.bean.CsvToBeanBuilder
-
Sets whether the resulting beans must be ordered as in the input.
- withOrderedResults(boolean) - Method in class com.opencsv.bean.StatefulBeanToCsvBuilder
-
Sets whether or not results must be written in the same order in which
they appear in the list of beans provided as input.
- withParser(ICSVParser) - Method in class com.opencsv.CSVWriterBuilder
-
Sets the parser that the ICSVWriter will be using.
- withProfile(String) - Method in class com.opencsv.bean.CsvToBeanBuilder
-
Selects a profile for deciding which configurations to use for the bean
fields.
- withProfile(String) - Method in class com.opencsv.bean.StatefulBeanToCsvBuilder
-
Selects a profile for deciding which configurations to use for the bean
fields.
- withQuoteChar(char) - Method in class com.opencsv.bean.CsvToBeanBuilder
-
- withQuotechar(char) - Method in class com.opencsv.bean.StatefulBeanToCsvBuilder
-
- withQuoteChar(char) - Method in class com.opencsv.CSVParserBuilder
-
Sets the character to use for quoted elements.
- withQuoteChar(char) - Method in class com.opencsv.CSVWriterBuilder
-
Sets the quote character that the ICSVWriter will be using.
- withQuoteChar(char) - Method in class com.opencsv.RFC4180ParserBuilder
-
Sets the character to use for quoted elements.
- withResultSetHelper(ResultSetHelper) - Method in class com.opencsv.CSVWriterBuilder
-
Sets the ResultSetHelper that the ICSVWriter will use.
- withRowProcessor(RowProcessor) - Method in class com.opencsv.CSVReaderBuilder
-
- withRowProcessor(RowProcessor) - Method in class com.opencsv.CSVReaderHeaderAwareBuilder
-
- withRowValidator(RowValidator) - Method in class com.opencsv.CSVReaderBuilder
-
- withRowValidator(RowValidator) - Method in class com.opencsv.CSVReaderHeaderAwareBuilder
-
- withSeparator(char) - Method in class com.opencsv.bean.CsvToBeanBuilder
-
- withSeparator(char) - Method in class com.opencsv.bean.StatefulBeanToCsvBuilder
-
- withSeparator(char) - Method in class com.opencsv.CSVParserBuilder
-
Sets the delimiter to use for separating entries.
- withSeparator(char) - Method in class com.opencsv.CSVWriterBuilder
-
Sets the separator that the ICSVWriter will be using.
- withSeparator(char) - Method in class com.opencsv.RFC4180ParserBuilder
-
Sets the delimiter to use for separating entries.
- withSkipLines(int) - Method in class com.opencsv.bean.CsvToBeanBuilder
-
- withSkipLines(int) - Method in class com.opencsv.CSVReaderBuilder
-
Sets the number of lines to skip before reading.
- withSkipLines(int) - Method in class com.opencsv.CSVReaderHeaderAwareBuilder
-
Sets the number of lines to skip before reading.
- withStrictQuotes(boolean) - Method in class com.opencsv.bean.CsvToBeanBuilder
-
- withStrictQuotes(boolean) - Method in class com.opencsv.CSVParserBuilder
-
Sets the strict quotes setting - if true, characters
outside the quotes are ignored.
- withThrowExceptions(boolean) - Method in class com.opencsv.bean.CsvToBeanBuilder
-
Sets how the CsvToBean will act when an exception occurs.
- withThrowExceptions(boolean) - Method in class com.opencsv.bean.StatefulBeanToCsvBuilder
-
Sets the handler for recoverable exceptions that arise during the
processing of records.
- withType(Class<? extends T>) - Method in class com.opencsv.bean.CsvToBeanBuilder
-
Sets the type of the bean to be populated.
- withVerifier(BeanVerifier<T>) - Method in class com.opencsv.bean.CsvToBeanBuilder
-
Adds a
BeanVerifier
to the list of verifiers to run on all
beans created.
- withVerifyReader(boolean) - Method in class com.opencsv.bean.CsvToBeanBuilder
-
- withVerifyReader(boolean) - Method in class com.opencsv.CSVReaderBuilder
-
Checks to see if the
CSVReader
should verify the reader state before
reads or not.
- withVerifyReader(boolean) - Method in class com.opencsv.CSVReaderHeaderAwareBuilder
-
- write(Object, I) - Method in class com.opencsv.bean.AbstractBeanField
-
This method takes the current value of the field in question in the bean
passed in and converts it to a string.
- write(Object, I) - Method in interface com.opencsv.bean.BeanField
-
This method takes the current value of the field in question in the bean
passed in and converts it to one or more strings.
- write(T) - Method in class com.opencsv.bean.StatefulBeanToCsv
-
Writes a bean out to the
Writer
provided to the
constructor.
- write(List<T>) - Method in class com.opencsv.bean.StatefulBeanToCsv
-
Writes a list of beans out to the
Writer
provided to the
constructor.
- write(Iterator<T>) - Method in class com.opencsv.bean.StatefulBeanToCsv
-
Writes an iterator of beans out to the
Writer
provided to the
constructor.
- write(Stream<T>) - Method in class com.opencsv.bean.StatefulBeanToCsv
-
Writes a stream of beans out to the
Writer
provided to the
constructor.
- writeAll(Iterable<String[]>, boolean) - Method in class com.opencsv.AbstractCSVWriter
-
- writeAll(ResultSet, boolean, boolean, boolean) - Method in class com.opencsv.AbstractCSVWriter
-
- writeAll(Iterable<String[]>, boolean) - Method in interface com.opencsv.ICSVWriter
-
Writes iterable to a CSV file.
- writeAll(List<String[]>, boolean) - Method in interface com.opencsv.ICSVWriter
-
Writes the entire list to a CSV file.
- writeAll(Iterable<String[]>) - Method in interface com.opencsv.ICSVWriter
-
Writes iterable to a CSV file.
- writeAll(List<String[]>) - Method in interface com.opencsv.ICSVWriter
-
Writes the entire list to a CSV file.
- writeAll(ResultSet, boolean) - Method in interface com.opencsv.ICSVWriter
-
Writes the entire ResultSet to a CSV file.
- writeAll(ResultSet, boolean, boolean) - Method in interface com.opencsv.ICSVWriter
-
Writes the entire ResultSet to a CSV file.
- writeAll(ResultSet, boolean, boolean, boolean) - Method in interface com.opencsv.ICSVWriter
-
Writes the entire ResultSet to a CSV file.
- writeColumnNames(ResultSet, boolean) - Method in class com.opencsv.AbstractCSVWriter
-
Writes the column names.
- writeConverter - Variable in class com.opencsv.bean.ConverterPrimitiveTypes
-
The formatter for all inputs from wrapped and unwrapped primitive
types when a specific locale is not required.
- writeFormat - Variable in class com.opencsv.bean.BeanFieldSingleValue
-
The format string used for packaging values to be written.
- writeLocale - Variable in class com.opencsv.bean.AbstractCsvConverter
-
The locale to be used when converting for writing, if a locale is
relevant.
- writeLocaleConverter - Variable in class com.opencsv.bean.ConverterPrimitiveTypes
-
The formatter for all inputs from wrapped and unwrapped primitive
types when a specific locale is required.
- writeNext(String[], boolean) - Method in class com.opencsv.AbstractCSVWriter
-
- writeNext(String[], boolean, Appendable) - Method in class com.opencsv.AbstractCSVWriter
-
Writes the next line to the file.
- writeNext(String[], boolean, Appendable) - Method in class com.opencsv.CSVParserWriter
-
- writeNext(String[], boolean, Appendable) - Method in class com.opencsv.CSVWriter
-
- writeNext(String[], boolean) - Method in interface com.opencsv.ICSVWriter
-
Writes the next line to the file.
- writeNext(String[]) - Method in interface com.opencsv.ICSVWriter
-
Writes the next line to the file.
- writeOrder - Variable in class com.opencsv.bean.HeaderNameBaseMappingStrategy
-
- writer - Variable in class com.opencsv.AbstractCSVWriter
-