A B C D E F G H I K L M N O P Q R S T V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractBeanField<T,I> - Class in com.opencsv.bean
-
This base bean takes over the responsibility of converting the supplied string to the proper type for the destination field and setting the destination field.
- AbstractBeanField() - Constructor for class com.opencsv.bean.AbstractBeanField
-
Default nullary constructor, so derived classes aren't forced to create a constructor identical to this one.
- AbstractBeanField(Class<?>, Field, boolean, Locale, CsvConverter) - Constructor for class com.opencsv.bean.AbstractBeanField
- AbstractCsvConverter - Class in com.opencsv.bean
-
This implementation of
CsvConverter
provides a reasonable default forCsvConverter.convertToWrite(java.lang.Object)
as well as a couple of common fields. - AbstractCsvConverter() - Constructor for class com.opencsv.bean.AbstractCsvConverter
-
Default nullary constructor, so derived classes aren't forced to create a constructor identical to this one.
- AbstractCsvConverter(Class<?>, String, String, Locale) - Constructor for class com.opencsv.bean.AbstractCsvConverter
-
Currently the only constructor for this class.
- AbstractCSVParser - Class in com.opencsv
-
The purpose of the AbstractCSVParser is to consolidate the duplicate code amongst the parsers.
- AbstractCSVParser(char, char, CSVReaderNullFieldIndicator) - Constructor for class com.opencsv.AbstractCSVParser
-
Common constructor.
- AbstractCSVWriter - Class in com.opencsv
-
The AbstractCSVWriter was created to prevent duplication of code between the CSVWriter and the CSVParserWriter classes.
- AbstractCSVWriter(Writer, String) - Constructor for class com.opencsv.AbstractCSVWriter
-
Constructor to initialize the common values.
- AbstractFieldMap<I,K extends java.lang.Comparable<K>,C extends ComplexFieldMapEntry<I,K,T>,T> - Class in com.opencsv.bean
-
A base class to collect all generalized components of a
FieldMap
. - AbstractFieldMap(Locale) - Constructor for class com.opencsv.bean.AbstractFieldMap
-
Initializes this
FieldMap
. - AbstractFieldMapEntry<I,K extends java.lang.Comparable<K>,T> - Class in com.opencsv.bean
-
Collects common aspects of a
ComplexFieldMapEntry
. - AbstractFieldMapEntry(BeanField<T, K>, Locale) - Constructor for class com.opencsv.bean.AbstractFieldMapEntry
-
The only constructor, and it must be called by all derived classes.
- AbstractMappingStrategy<I,K extends java.lang.Comparable<K>,C extends ComplexFieldMapEntry<I,K,T>,T> - Class in com.opencsv.bean
-
This class collects as many generally useful parts of the implementation of a mapping strategy as possible.
- AbstractMappingStrategy() - Constructor for class com.opencsv.bean.AbstractMappingStrategy
- AccessorInvoker<T,R> - Interface in com.opencsv.bean.function
-
Functional interface for accessing a value from a field.
- addValidator(LineValidator) - Method in class com.opencsv.validators.LineValidatorAggregator
-
Add an validator to the aggregator.
- addValidator(RowValidator) - Method in class com.opencsv.validators.RowValidatorAggregator
-
Add an validator to the aggregator.
- allowLine(String[]) - Method in interface com.opencsv.bean.CsvToBeanFilter
-
Determines if a line from the CSV file will be included in the output of
CsvToBean
. - AssignmentInvoker<T,U> - Interface in com.opencsv.bean.function
-
Functional interface for assigning a value to a field.
- assignValueToField(Object, Object, String) - Method in class com.opencsv.bean.AbstractBeanField
-
Assigns the given object to this field of the destination bean.
- assignValueToField(Object, Object, String) - Method in class com.opencsv.bean.BeanFieldJoin
-
Assigns the value given to the proper field of the bean given.
- attenuateRanges(int) - Method in class com.opencsv.bean.PositionToBeanField
-
If there are ranges in the list of ranges encompassed by this mapping that stretch beyond the maximum index given, they are shortened to be no longer than the maximum index.
B
- BeanExecutor<T> - Class in com.opencsv.bean.concurrent
-
A specific derivative of
IntolerantThreadPoolExecutor
intended for submitting beans to be converted toString
s for writing. - BeanExecutor(boolean) - Constructor for class com.opencsv.bean.concurrent.BeanExecutor
-
The only constructor available for this class.
- BeanField<T,I> - Interface in com.opencsv.bean
-
Used to extend the
Field
class to include functionality that opencsv requires. - BeanFieldJoin<T,I> - Class in com.opencsv.bean
-
This class is used for combining multiple columns of the input, possibly with multiple identically named columns, into one field.
- BeanFieldJoin(Class<?>, Field, boolean, Locale, CsvConverter, Class<? extends MultiValuedMap>, String, String) - Constructor for class com.opencsv.bean.BeanFieldJoin
-
Creates a new instance.
- BeanFieldJoinIntegerIndex<T> - Class in com.opencsv.bean
-
Implements a
BeanFieldJoin
with aInteger
for an index. - BeanFieldJoinIntegerIndex(Class<?>, Field, boolean, Locale, CsvConverter, Class<? extends MultiValuedMap>, String, String) - Constructor for class com.opencsv.bean.BeanFieldJoinIntegerIndex
-
Creates a new instance.
- BeanFieldJoinStringIndex<T> - Class in com.opencsv.bean
-
Implements a
BeanFieldJoin
with aString
for an index. - BeanFieldJoinStringIndex(Class<?>, Field, boolean, Locale, CsvConverter, Class<? extends MultiValuedMap>, String, String) - Constructor for class com.opencsv.bean.BeanFieldJoinStringIndex
-
Creates a new instance.
- BeanFieldSingleValue<T,I> - Class in com.opencsv.bean
-
This class concerns itself with handling single-valued bean fields.
- BeanFieldSingleValue(Class<?>, Field, boolean, Locale, CsvConverter, String, String) - Constructor for class com.opencsv.bean.BeanFieldSingleValue
-
Simply calls the same constructor in the base class.
- BeanFieldSplit<T,I> - Class in com.opencsv.bean
-
This class concerns itself with handling collection-valued bean fields.
- BeanFieldSplit(Class<?>, Field, boolean, Locale, CsvConverter, String, String, Class<? extends Collection>, String, String) - Constructor for class com.opencsv.bean.BeanFieldSplit
-
The only valid constructor.
- BeanVerifier<T> - Interface in com.opencsv.bean
-
Classes implementing this interface may be used to verify and filter beans after creation, but before being passed back to the calling application.
- BOTH - com.opencsv.enums.CSVReaderNullFieldIndicator
- br - Variable in class com.opencsv.CSVReader
- build() - Method in class com.opencsv.bean.CsvToBeanBuilder
-
Builds the
CsvToBean
out of the provided information. - build() - Method in class com.opencsv.bean.StatefulBeanToCsvBuilder
-
Builds a StatefulBeanToCsv from the information provided, filling in default values where none have been specified.
- build() - Method in class com.opencsv.CSVParserBuilder
-
Constructs CSVParser.
- build() - Method in class com.opencsv.CSVReaderBuilder
-
Creates the CSVReader.
- build() - Method in class com.opencsv.CSVReaderHeaderAwareBuilder
- build() - Method in class com.opencsv.CSVWriterBuilder
-
Creates the CSVWriter.
- build() - Method in class com.opencsv.RFC4180ParserBuilder
-
Constructs RFC4180Parser.
C
- capture - Variable in class com.opencsv.bean.BeanFieldSingleValue
-
The regular expression to be used for capturing part of the input for processing.
- capture() - Method in annotation type com.opencsv.bean.CsvBindAndJoinByName
-
If this is anything but an empty string, it will be used as a regular expression to extract part of the input before conversion to the bean field.
- capture() - Method in annotation type com.opencsv.bean.CsvBindAndJoinByPosition
-
If this is anything but an empty string, it will be used as a regular expression to extract part of the input before conversion to the bean field.
- capture() - Method in annotation type com.opencsv.bean.CsvBindAndSplitByName
-
If this is anything but an empty string, it will be used as a regular expression to extract part of the input before conversion to the bean field.
- capture() - Method in annotation type com.opencsv.bean.CsvBindAndSplitByPosition
-
If this is anything but an empty string, it will be used as a regular expression to extract part of the input before conversion to the bean field.
- capture() - Method in annotation type com.opencsv.bean.CsvBindByName
-
If this is anything but an empty string, it will be used as a regular expression to extract part of the input before conversion to the bean field.
- capture() - Method in annotation type com.opencsv.bean.CsvBindByPosition
-
If this is anything but an empty string, it will be used as a regular expression to extract part of the input before conversion to the bean field.
- 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.
- chooseMultivaluedFieldIndexFromHeaderIndex(int) - Method in class com.opencsv.bean.AbstractMappingStrategy
-
For
BeanField.indexAndSplitMultivaluedField(java.lang.Object, java.lang.Object)
it is necessary to determine which index to pass in. - chooseMultivaluedFieldIndexFromHeaderIndex(int) - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
- chooseMultivaluedFieldIndexFromHeaderIndex(int) - Method in class com.opencsv.bean.HeaderNameBaseMappingStrategy
- chronology() - Method in annotation type com.opencsv.bean.CsvDate
-
The
Chronology
that should be used for parsing. - 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.
- collectionType() - Method in annotation type com.opencsv.bean.CsvBindAndSplitByName
-
Defines the class used for the collection.
- collectionType() - Method in annotation type com.opencsv.bean.CsvBindAndSplitByPosition
-
Defines the class used for the collection.
- column() - Method in annotation type com.opencsv.bean.CsvBindAndJoinByName
-
A regular expression defining which column names are to be included in this bean field.
- column() - Method in annotation type com.opencsv.bean.CsvBindAndSplitByName
-
If not specified, the name of the column must be identical to the name of the field.
- column() - Method in annotation type com.opencsv.bean.CsvBindByName
-
If not specified, the name of the column must be identical to the name of the field.
- column() - Method in annotation type com.opencsv.bean.CsvCustomBindByName
-
If not specified, the name of the column must be identical to the name of the field.
- 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.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.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.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.
- ComplexFieldMapEntry<I,K extends java.lang.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(Integer) - Method in class com.opencsv.bean.PositionToBeanField
- contains(String) - Method in class com.opencsv.bean.RegexToBeanField
- contains(K) - Method in interface com.opencsv.bean.ComplexFieldMapEntry
-
Determines whether or not the given key is contained in this entry.
- 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.ConvertGermanToBoolean
-
Converts German text into a Boolean.
- 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.
- converter() - Method in annotation type com.opencsv.bean.CsvBindAndJoinByName
-
Once the data points have been recovered from the various columns of the input, a custom converter can optionally be specified for conversion of each of the data points before they are joined in a
MultiValuedMap
. - converter() - Method in annotation type com.opencsv.bean.CsvBindAndJoinByPosition
-
Once the data points have been recovered from the various columns of the input, a custom converter can optionally be specified for conversion of each of the data points before they are joined in a
MultiValuedMap
. - converter() - Method in annotation type com.opencsv.bean.CsvBindAndSplitByName
-
Once the input has been split, a custom converter can optionally be specified for conversion of each of the data points.
- converter() - Method in annotation type com.opencsv.bean.CsvBindAndSplitByPosition
-
Once the input has been split, a custom converter can optionally be specified for conversion of each of the data points.
- converter() - Method in annotation type com.opencsv.bean.CsvCustomBindByName
-
The class that takes care of the conversion.
- converter() - Method in annotation type com.opencsv.bean.CsvCustomBindByPosition
-
The class that takes care of the conversion.
- 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.
- 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) - 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
- 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) - Method in class com.opencsv.CSVParser
- convertToCsvValue(String, boolean) - Method in class com.opencsv.RFC4180Parser
- convertToRead(String) - Method in class com.opencsv.bean.ConverterDate
- convertToRead(String) - Method in class com.opencsv.bean.ConverterNumber
- convertToRead(String) - Method in class com.opencsv.bean.ConverterPrimitiveTypes
- convertToRead(String) - Method in interface com.opencsv.bean.CsvConverter
-
Method for converting from a string to the proper data type of the destination field.
- convertToWrite(Object) - Method in class com.opencsv.bean.AbstractBeanField
-
This is the method that actually performs the conversion from field to string for
AbstractBeanField.write(java.lang.Object, java.lang.Object)
and should be overridden in derived classes. - convertToWrite(Object) - Method in class com.opencsv.bean.AbstractCsvConverter
-
This implementation simply calls
toString()
onvalue
. - 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.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.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.ConvertGermanToBoolean
-
This method takes the current value of the field in question in the bean passed in and converts it to a string.
- 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(Class<?>, String) - Constructor for exception com.opencsv.exceptions.CsvBadConverterException
-
Constructor for setting the class of the converter and an error message.
- CsvBadConverterException(String) - Constructor for exception com.opencsv.exceptions.CsvBadConverterException
-
Constructor with a simple text.
- 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(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.
- CsvBeanIntrospectionException(String) - Constructor for exception com.opencsv.exceptions.CsvBeanIntrospectionException
-
Constructor with a human-readable error message.
- 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.
- 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.
- 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.
- 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.
- 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(Object, String) - Constructor for exception com.opencsv.exceptions.CsvConstraintViolationException
-
Constructor for setting the source object and an error message.
- CsvConstraintViolationException(String) - Constructor for exception com.opencsv.exceptions.CsvConstraintViolationException
-
Constructor with a simple text.
- 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.
- 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(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.
- CsvDataTypeMismatchException(String) - Constructor for exception com.opencsv.exceptions.CsvDataTypeMismatchException
-
Constructor with a simple text.
- 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.
- 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.
- 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 - 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.
- CSVReaderBuilder - Class in com.opencsv
-
Builder for creating a CSVReader.
- CSVReaderBuilder(Reader) - Constructor for class com.opencsv.CSVReaderBuilder
-
Sets the reader to an underlying CSV source.
- CSVReaderHeaderAware - Class in com.opencsv
-
Handy reader when there's insufficient motivation to use the bean binding but the header mapping is still desired.
- CSVReaderHeaderAware(Reader) - Constructor for class com.opencsv.CSVReaderHeaderAware
-
Constructor with supplied reader.
- CSVReaderHeaderAwareBuilder - Class in com.opencsv
-
Builder for CSVReaderHeaderAware.
- CSVReaderHeaderAwareBuilder(Reader) - Constructor for class com.opencsv.CSVReaderHeaderAwareBuilder
-
Constructor for CSVReaderHeaderAwareBuilder.
- 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(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.
- 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<?>, List<Field>) - Constructor for exception com.opencsv.exceptions.CsvRequiredFieldEmptyException
-
Constructor for setting the intended class and fields of the target bean.
- 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.
- CsvRequiredFieldEmptyException(String) - Constructor for exception com.opencsv.exceptions.CsvRequiredFieldEmptyException
-
Constructor with a simple text.
- 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(CSVReader) - Constructor for class com.opencsv.bean.CsvToBeanBuilder
-
Constructor with the one parameter that is most definitely mandatory, and always will be.
- CsvToBeanBuilder(Reader) - Constructor for class com.opencsv.bean.CsvToBeanBuilder
-
Constructor with the one parameter that is most definitely mandatory, and always will be.
- CsvToBeanFilter - Interface in com.opencsv.bean
-
Filters allow lines of input to be ignored before a bean is created.
- CsvValidationException - Exception in com.opencsv.exceptions
-
Exception thrown by a LineValidator or LineValidatorAggregator when a single line is invalid.
- CsvValidationException() - Constructor for exception com.opencsv.exceptions.CsvValidationException
-
Default constructor.
- CsvValidationException(String) - Constructor for exception com.opencsv.exceptions.CsvValidationException
-
Constructor that allows for a human readable message.
- CSVWriter - Class in com.opencsv
-
A very simple CSV writer released under a commercial-friendly license.
- CSVWriter(Writer) - Constructor for class com.opencsv.CSVWriter
-
Constructs CSVWriter using a comma for the separator.
- CSVWriter(Writer, char, char, char, String) - Constructor for class com.opencsv.CSVWriter
-
Constructs CSVWriter with supplied separator, quote char, escape char and line ending.
- CSVWriterBuilder - Class in com.opencsv
-
Builder for creating the CSVWriter.
- CSVWriterBuilder(Writer) - Constructor for class com.opencsv.CSVWriterBuilder
-
Constructor taking a writer for the resulting CSV output.
D
- DEFAULT_BUNDLE_NAME - Static variable in interface com.opencsv.ICSVParser
-
The name of the resource bundle for translations of error messages in opencsv.
- DEFAULT_ESCAPE_CHARACTER - Static variable in interface com.opencsv.ICSVParser
-
The default escape character to use if none is supplied to the constructor.
- DEFAULT_ESCAPE_CHARACTER - Static variable in interface com.opencsv.ICSVWriter
-
The character used for escaping quotes.
- DEFAULT_IGNORE_LEADING_WHITESPACE - Static variable in interface com.opencsv.ICSVParser
-
The default leading whitespace behavior to use if none is supplied to the constructor.
- DEFAULT_IGNORE_QUOTATIONS - Static variable in interface com.opencsv.ICSVParser
-
If the quote character is set to null then there is no quote character.
- DEFAULT_KEEP_CR - Static variable in class com.opencsv.CSVReader
- DEFAULT_LINE_END - Static variable in interface com.opencsv.ICSVWriter
-
Default line terminator.
- DEFAULT_MULTILINE_LIMIT - Static variable in class com.opencsv.CSVReader
-
The default limit for the number of lines in a multiline record.
- DEFAULT_NULL_FIELD_INDICATOR - Static variable in interface com.opencsv.ICSVParser
-
Denotes what field contents will cause the parser to return null: EMPTY_SEPARATORS, EMPTY_QUOTES, BOTH, NEITHER (default).
- DEFAULT_QUOTE_CHARACTER - Static variable in interface com.opencsv.ICSVParser
-
The default quote character to use if none is supplied to the constructor.
- DEFAULT_QUOTE_CHARACTER - Static variable in interface com.opencsv.ICSVWriter
-
The default quote character to use if none is supplied to the constructor.
- DEFAULT_SEPARATOR - Static variable in interface com.opencsv.ICSVParser
-
The default separator to use if none is supplied to the constructor.
- DEFAULT_SEPARATOR - Static variable in interface com.opencsv.ICSVWriter
-
The default separator to use if none is supplied to the constructor.
- DEFAULT_SKIP_LINES - Static variable in class com.opencsv.CSVReader
-
The default line to start reading.
- DEFAULT_STRICT_QUOTES - Static variable in interface com.opencsv.ICSVParser
-
The default strict quote behavior to use if none is supplied to the constructor.
- DEFAULT_VERIFY_READER - Static variable in class com.opencsv.CSVReader
- determineConverter(Field, Class<?>, String, String, Class<? extends AbstractCsvConverter>) - Method in class com.opencsv.bean.AbstractMappingStrategy
-
Given the information provided, determines the appropriate built-in converter to be passed in to the
BeanField
being created. - determineMissingRequiredHeaders(String[]) - Method in class com.opencsv.bean.FieldMapByName
-
Returns a list of required headers that were not present in the input.
E
- elementType() - Method in annotation type com.opencsv.bean.CsvBindAndJoinByName
-
Defines what type the elements of the map should have.
- elementType() - Method in annotation type com.opencsv.bean.CsvBindAndJoinByPosition
-
Defines what type the elements of the map should have.
- elementType() - Method in annotation type com.opencsv.bean.CsvBindAndSplitByName
-
Defines what type the elements of the collection should have.
- elementType() - Method in annotation type com.opencsv.bean.CsvBindAndSplitByPosition
-
Defines what type the elements of the collection should have.
- EMPTY_QUOTES - com.opencsv.enums.CSVReaderNullFieldIndicator
- EMPTY_SEPARATORS - com.opencsv.enums.CSVReaderNullFieldIndicator
- equals(Object) - Method in class com.opencsv.bean.FieldAccess
-
Determines equality between this object and another.
- errorLocale - Variable in class com.opencsv.bean.AbstractBeanField
-
Locale for error messages.
- errorLocale - Variable in class com.opencsv.bean.AbstractCsvConverter
-
The locale to be used for error messages.
- errorLocale - Variable in class com.opencsv.bean.AbstractFieldMap
-
The locale for error messages.
- errorLocale - Variable in class com.opencsv.bean.AbstractFieldMapEntry
-
The locale to be used for error messages.
- errorLocale - Variable in class com.opencsv.bean.AbstractMappingStrategy
-
Locale for error messages.
- errorLocale - Variable in class com.opencsv.CSVReader
- escapechar - Variable in class com.opencsv.CSVWriter
- exception - Variable in class com.opencsv.AbstractCSVWriter
F
- FALSCH - Static variable in class com.opencsv.bean.customconverter.ConvertGermanToBoolean
- field - Variable in class com.opencsv.bean.AbstractBeanField
-
The field this class represents.
- field - Variable in class com.opencsv.bean.AbstractFieldMapEntry
-
The
BeanField
that is the target of this mapping. - fieldAccess - Variable in class com.opencsv.bean.AbstractBeanField
-
An encapsulated way of accessing the member variable associated with this field.
- FieldAccess<T> - Class in com.opencsv.bean
-
Encapsulates the logic for accessing member variables of classes.
- FieldAccess(Field) - Constructor for class com.opencsv.bean.FieldAccess
-
Constructs this instance by determining what mode of access will work for this field.
- fieldMap - Variable in class com.opencsv.bean.HeaderNameBaseMappingStrategy
-
Given a header name, this map allows one to find the corresponding
BeanField
. - FieldMap<I,K extends java.lang.Comparable<K>,C extends ComplexFieldMapEntry<I,K,T>,T> - Interface in com.opencsv.bean
-
Defines the basic characteristics of a map between field identifiers and their associated
BeanField
s. - FieldMapByName<T> - Class in com.opencsv.bean
-
This class maintains a mapping from header names out of a CSV file to bean fields.
- FieldMapByName(Locale) - Constructor for class com.opencsv.bean.FieldMapByName
-
Initializes this
FieldMap
. - FieldMapByNameEntry<T> - Class in com.opencsv.bean
-
Represents one entry in
FieldMapByName
. - FieldMapByNameEntry(String, BeanField<T, String>, boolean) - Constructor for class com.opencsv.bean.FieldMapByNameEntry
-
Initializes the entry.
- FieldMapByPosition<T> - Class in com.opencsv.bean
-
This class maintains a mapping from column position out of a CSV file to bean fields.
- FieldMapByPosition(Locale) - Constructor for class com.opencsv.bean.FieldMapByPosition
-
Initializes this
FieldMap
. - FieldMapByPositionEntry<T> - Class in com.opencsv.bean
-
Represents one entry in
FieldMapByPosition
. - FieldMapByPositionEntry(int, BeanField<T, Integer>) - Constructor for class com.opencsv.bean.FieldMapByPositionEntry
-
Initializes this entry.
- findField(int) - Method in class com.opencsv.bean.AbstractMappingStrategy
-
Gets the field for a given column position.
- findField(int) - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
- findField(int) - Method in class com.opencsv.bean.HeaderNameBaseMappingStrategy
- findHeader(int) - Method in class com.opencsv.bean.AbstractMappingStrategy
-
Gets the name (or position number) of the header for the given column number.
- findHeader(int) - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
-
Returns the column position for the given column number.
- findHeader(int) - Method in class com.opencsv.bean.HeaderNameBaseMappingStrategy
- findMaxIndex() - Method in class com.opencsv.bean.HeaderIndex
-
Finds and returns the highest index in this mapping.
- flush() - Method in class com.opencsv.AbstractCSVWriter
- flushQuietly() - Method in interface com.opencsv.ICSVWriter
-
Flushes the writer without throwing any exceptions.
- format() - Method in annotation type com.opencsv.bean.CsvBindAndJoinByName
-
If this is anything but an empty string, it will be used as a format string for
String.format(String, Object...)
on writing. - format() - Method in annotation type com.opencsv.bean.CsvBindAndJoinByPosition
-
If this is anything but an empty string, it will be used as a format string for
String.format(String, Object...)
on writing. - format() - Method in annotation type com.opencsv.bean.CsvBindAndSplitByName
-
If this is anything but an empty string, it will be used as a format string for
String.format(String, Object...)
on writing. - format() - Method in annotation type com.opencsv.bean.CsvBindAndSplitByPosition
-
If this is anything but an empty string, it will be used as a format string for
String.format(String, Object...)
on writing. - format() - Method in annotation type com.opencsv.bean.CsvBindByName
-
If this is anything but an empty string, it will be used as a format string for
String.format(String, Object...)
on writing. - format() - Method in annotation type com.opencsv.bean.CsvBindByPosition
-
If this is anything but an empty string, it will be used as a format string for
String.format(String, Object...)
on writing. - FuzzyMappingStrategy<T> - Class in com.opencsv.bean
-
A mapping strategy that tries to make the best match between header names and non-annotated member variables.
- FuzzyMappingStrategy() - Constructor for class com.opencsv.bean.FuzzyMappingStrategy
-
Nullary constructor to make the style checker happy.
G
- generateHeader(T) - Method in class com.opencsv.bean.AbstractMappingStrategy
-
This method generates a header that can be used for writing beans of the type provided back to a file.
- generateHeader(T) - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
-
This method returns an empty array.
- generateHeader(T) - Method in interface com.opencsv.bean.FieldMap
-
This method generates a header that can be used for writing beans of the type provided back to a file.
- generateHeader(T) - Method in class com.opencsv.bean.FieldMapByName
-
This method generates a header that can be used for writing beans of the type provided back to a file.
- generateHeader(T) - Method in class com.opencsv.bean.FieldMapByPosition
-
This method generates a header that can be used for writing beans of the type provided back to a file.
- generateHeader(T) - Method in interface com.opencsv.bean.MappingStrategy
-
Implementations of this method must return an array of column headers based on the contents of the mapping strategy.
- get(K) - Method in class com.opencsv.bean.AbstractFieldMap
- get(K) - Method in interface com.opencsv.bean.FieldMap
-
Gets the
BeanField
associated with this key. - 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 suppressed by setting
CsvToBean.throwExceptions
tofalse
. - 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.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) - Method in interface com.opencsv.ResultSetHelper
-
Returns the column values from the result set.
- getColumnValues(ResultSet) - Method in class com.opencsv.ResultSetHelperService
- getColumnValues(ResultSet, boolean) - Method in class com.opencsv.ResultSetColumnNameHelperService
-
Get all 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) - Method in class com.opencsv.ResultSetHelperService
- getColumnValues(ResultSet, boolean, String, String) - Method in class com.opencsv.ResultSetColumnNameHelperService
-
Get all the column values from the result set.
- 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, 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.CSVReaderBuilder
-
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.concurrent.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.CSVReaderBuilder
- 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.
- getField() - Method in class com.opencsv.bean.AbstractBeanField
- getField() - Method in interface com.opencsv.bean.BeanField
-
Gets the field to be processed.
- getField() - Method in 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.
- getField(Object) - Method in class com.opencsv.bean.FieldAccess
-
Returns the value of the field in the given bean.
- 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.
- 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 exception com.opencsv.exceptions.CsvException
- getLineNumber() - Method in exception com.opencsv.exceptions.CsvException
- getLineNumber() - Method in exception com.opencsv.exceptions.CsvMalformedLineException
- 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.CSVReaderBuilder
- getLocalizedMessage() - Method in exception com.opencsv.exceptions.CsvBeanIntrospectionException
- getMessage() - Method in exception com.opencsv.exceptions.CsvBeanIntrospectionException
-
Gets a human-readable error message.
- getMultilineLimit() - Method in class com.opencsv.CSVReader
-
Only useful for tests.
- getMultilineLimit() - Method in class com.opencsv.CSVReaderBuilder
-
Used by unit tests.
- 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.CSVReaderBuilder
-
Creates a new
ICSVParser
if the class does't already hold one. - 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.
- getPendingText() - Method in class com.opencsv.RFC4180Parser
- getPosition() - Method in class com.opencsv.bean.FieldMapByPositionEntry
- getQuotechar() - Method in class com.opencsv.AbstractCSVParser
- getQuotechar() - Method in interface com.opencsv.ICSVParser
- getQuoteChar() - Method in class com.opencsv.CSVParserBuilder
- getQuoteChar() - Method in class com.opencsv.RFC4180ParserBuilder
- getReader() - Method in class com.opencsv.CSVReaderBuilder
-
Used by unit tests.
- getRecordsRead() - Method in class com.opencsv.CSVReader
-
Used for debugging purposes, this method returns the number of records that has been read from the CSVReader.
- getRow() - Method in exception com.opencsv.exceptions.CsvMultilineLimitBrokenException
- getRowValidatorAggregator() - Method in class com.opencsv.CSVReaderBuilder
- 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
- 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
-
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.
- 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 interface com.opencsv.bean.BeanField
-
Gets the type of the bean this field is attached to.
H
- handleTimestamp(Timestamp, String) - Method in class com.opencsv.ResultSetHelperService
-
The formatted timestamp.
- hashCode() - Method in class com.opencsv.bean.FieldAccess
-
Creates a hash code for this object.
- hasNext - Variable in class com.opencsv.CSVReader
- hasNext() - Method in class com.opencsv.CSVIterator
-
Returns true if the iteration has more elements.
- 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.
- headerIndex - Variable in class com.opencsv.bean.AbstractMappingStrategy
-
Maintains a bi-directional mapping between column position(s) and header name.
- HeaderIndex - Class in com.opencsv.bean
-
A bi-directional mapping between column positions and header names.
- HeaderIndex() - Constructor for class com.opencsv.bean.HeaderIndex
-
Useless but explicit nullary constructor to make the style checker happy.
- HeaderNameBaseMappingStrategy<T> - Class in com.opencsv.bean
-
This class serves as a location to collect code common to a mapping strategy that maps header names to member variables.
- HeaderNameBaseMappingStrategy() - Constructor for class com.opencsv.bean.HeaderNameBaseMappingStrategy
I
- ICSVParser - Interface in com.opencsv
-
This interface defines all of the behavior
CSVReader
needs from a parser to tokenize an input line for further processing. - ICSVWriter - Interface in com.opencsv
-
This interface defines all the behavior of a csv writer class.
- ignoreFields(MultiValuedMap<Class<?>, Field>) - Method in class com.opencsv.bean.AbstractMappingStrategy
- ignoreFields(MultiValuedMap<Class<?>, Field>) - Method in interface com.opencsv.bean.MappingStrategy
-
When processing a bean for reading or writing, ignore the given fields from the given classes completely, including all annotations and requirements.
- indexAndSplitMultivaluedField(Object, I) - Method in class com.opencsv.bean.AbstractBeanField
- indexAndSplitMultivaluedField(Object, I) - Method in interface com.opencsv.bean.BeanField
-
Given the value of a bean field and an index into that value, determine what values need to be written.
- indexAndSplitMultivaluedField(Object, I) - Method in class com.opencsv.bean.BeanFieldJoin
- indexBean(T) - Method in class com.opencsv.bean.AbstractMappingStrategy
-
Creates an index of necessary types according to the mapping strategy and existing instances of (subordinate) beans.
- INITIAL_READ_SIZE - Static variable in interface com.opencsv.ICSVParser
-
The average size of a line read by opencsv (used for setting the size of StringBuilders).
- INITIAL_STRING_SIZE - Static variable in interface com.opencsv.ICSVWriter
-
Default buffer sizes
- initializeFieldMap() - Method in class com.opencsv.bean.AbstractMappingStrategy
-
Creates an empty binding-type-specific field map that can be filled in later steps.
- initializeFieldMap() - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
- initializeFieldMap() - Method in class com.opencsv.bean.HeaderNameBaseMappingStrategy
- initializeHeaderIndex(String[]) - Method in class com.opencsv.bean.HeaderIndex
-
Initializes the index with a list of header names in proper encounter order.
- instantiateCustomConverter(Class<? extends AbstractBeanField<T, K>>) - Method in class com.opencsv.bean.AbstractMappingStrategy
-
Attempts to instantiate the class of the custom converter specified.
- invoke(T) - Method in interface com.opencsv.bean.function.AccessorInvoker
-
Invoke the code to retrieve a value from a field.
- invoke(T, U) - Method in interface com.opencsv.bean.function.AssignmentInvoker
-
Invoke the code to assign a value to a field.
- isAnnotationDriven() - Method in interface com.opencsv.bean.MappingStrategy
-
Deprecated.This is simply no longer necessary.
- isClosed() - Method in class com.opencsv.CSVReader
-
Checks to see if the file is closed.
- isEmpty() - Method in class com.opencsv.bean.HeaderIndex
- isFieldEmptyForWrite(Object) - Method in class com.opencsv.bean.AbstractBeanField
-
Whether or not this implementation of
BeanField
considers the value passed in as empty for the purposes of determining whether or not a required field is empty. - isFieldEmptyForWrite(Object) - Method in class com.opencsv.bean.BeanFieldJoin
-
Checks that
value
is not null and not empty. - isFieldEmptyForWrite(Object) - Method in class com.opencsv.bean.BeanFieldSplit
-
Checks that
value
is not null and not an emptyCollection
. - isIgnoreLeadingWhiteSpace() - Method in class com.opencsv.CSVParser
- isIgnoreLeadingWhiteSpace() - Method in class com.opencsv.CSVParserBuilder
- isIgnoreQuotations() - Method in class com.opencsv.CSVParser
- isIgnoreQuotations() - Method in class com.opencsv.CSVParserBuilder
- isNextCharacterEscapable(String, boolean, int) - Method in class com.opencsv.CSVParser
-
Checks to see if the character after the current index in a String is an escapable character.
- isPending() - Method in class com.opencsv.AbstractCSVParser
- isPending() - Method in interface com.opencsv.ICSVParser
- isRegexPattern() - Method in class com.opencsv.bean.FieldMapByNameEntry
- isRequired() - Method in class com.opencsv.bean.AbstractBeanField
- isRequired() - Method in interface com.opencsv.bean.BeanField
-
Answers the query, whether this field is required or not.
- isStrictQuotes() - Method in class com.opencsv.CSVParser
- isStrictQuotes() - Method in class com.opencsv.CSVParserBuilder
- isSurroundWithQuotes(String, boolean) - Method in class com.opencsv.AbstractCSVParser
-
Used by reverse parsing to determine if a value should be surrounded by quote characters.
- isThrowExceptions() - Method in class com.opencsv.bean.StatefulBeanToCsv
- isValid(String) - Method in class com.opencsv.bean.validators.MustMatchRegexExpression
- isValid(String) - Method in interface com.opencsv.bean.validators.StringValidator
-
Performs the validation check on the string and returns the result.
- isValid(String) - Method in interface com.opencsv.validators.LineValidator
-
Performs the validation check on the string and returns the result.
- isValid(String) - Method in class com.opencsv.validators.LineValidatorAggregator
-
Runs all LineValidators isValid command against the line.
- isValid(String[]) - Method in class com.opencsv.validators.RowFunctionValidator
- isValid(String[]) - Method in class com.opencsv.validators.RowMustHaveSameNumberOfColumnsAsFirstRowValidator
- isValid(String[]) - Method in interface com.opencsv.validators.RowValidator
-
Performs the validation check on the string and returns the result.
- isValid(String[]) - Method in class com.opencsv.validators.RowValidatorAggregator
-
Runs all RowValidator isValid command against the line.
- isVerifyReader() - Method in class com.opencsv.CSVReaderBuilder
- iterator() - Method in class com.opencsv.bean.CsvToBean
-
The iterator returned by this method takes one line of input at a time and returns one bean at a time.
- iterator() - Method in class com.opencsv.bean.FieldMapByPosition
- iterator() - Method in class com.opencsv.bean.PositionToBeanField
- iterator() - Method in class com.opencsv.CSVReader
-
Creates an Iterator for processing the CSV data.
K
- keepCarriageReturn() - Method in class com.opencsv.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.AbstractCSVWriter
- LineExecutor<T> - Class in com.opencsv.bean.concurrent
-
A specific derivative of
IntolerantThreadPoolExecutor
intended for submitting lines of input to be converted to beans. - LineExecutor(boolean) - Constructor for class com.opencsv.bean.concurrent.LineExecutor
-
The only constructor available for this class.
- lineReader - Variable in class com.opencsv.CSVReader
- LineReader - Class in com.opencsv.stream.reader
-
This class was created for issue #106 where carriage returns were being removed.
- LineReader(BufferedReader, boolean) - Constructor for class com.opencsv.stream.reader.LineReader
-
LineReader constructor.
- linesRead - Variable in class com.opencsv.CSVReader
- linesSkipped - Variable in class com.opencsv.CSVReader
- LineValidator - Interface in com.opencsv.validators
-
This is the interface for validators for a
String
read by theReader
in theCSVReader
before it is processed. - LineValidatorAggregator - Class in com.opencsv.validators
-
The aggregator purpose is to collect multiple LineValidators and run them against a single line.
- LineValidatorAggregator() - Constructor for class com.opencsv.validators.LineValidatorAggregator
-
Default constructor.
- LiteralComparator<T extends java.lang.Comparable<T>> - Class in com.opencsv.bean.comparator
-
Deprecated.This exact behavior can be had using comparators from Apache Commons Collections, which opencsv includes as a dependency. The following code gives the same result:
List<T> predefinedList = Arrays.<T>asList(predefinedOrder); FixedOrderComparator<T> fixedComparator = new FixedOrderComparator<>(predefinedList); fixedComparator.setUnknownObjectBehavior(FixedOrderComparator.UnknownObjectBehavior.AFTER); Comparator<T> c = new ComparatorChain<>(Arrays.<Comparator<T>>asList( fixedComparator, new NullComparator<>(false), new ComparableComparator<>()));
- LiteralComparator(T[]) - Constructor for class com.opencsv.bean.comparator.LiteralComparator
-
Deprecated.Constructor.
- loadAnnotatedFieldMap(ListValuedMap<Class<?>, Field>) - Method in class com.opencsv.bean.AbstractMappingStrategy
-
Creates a map of annotated fields in the bean to be processed.
- loadAnnotatedFieldMap(ListValuedMap<Class<?>, Field>) - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
-
Creates a map of annotated fields in the bean to be processed.
- loadAnnotatedFieldMap(ListValuedMap<Class<?>, Field>) - Method in class com.opencsv.bean.HeaderColumnNameMappingStrategy
-
Creates a map of annotated fields in the bean to be processed.
- loadFieldMap() - Method in class com.opencsv.bean.AbstractMappingStrategy
-
Builds a map of columns from the input to fields of the bean type.
- loadRecursiveClasses(Class<?>, Set<Class<?>>) - Method in class com.opencsv.bean.AbstractMappingStrategy
-
Creates a tree of beans embedded in each other.
- loadUnadornedFieldMap(ListValuedMap<Class<?>, Field>) - Method in class com.opencsv.bean.AbstractMappingStrategy
-
Creates a map of fields in the bean to be processed that have no annotations.
- loadUnadornedFieldMap(ListValuedMap<Class<?>, Field>) - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
- loadUnadornedFieldMap(ListValuedMap<Class<?>, Field>) - Method in class com.opencsv.bean.FuzzyMappingStrategy
-
This implementation intentionally does nothing in order to allow fuzzy matching in case there are no annotations at all in the class in question.
- loadUnadornedFieldMap(ListValuedMap<Class<?>, Field>) - Method in class com.opencsv.bean.HeaderNameBaseMappingStrategy
-
Creates a map of fields in the bean to be processed that have no annotations.
- locale - Variable in class com.opencsv.bean.AbstractCsvConverter
-
The locale to be used when converting for reading, if a locale is relevant.
- locale() - Method in annotation type com.opencsv.bean.CsvBindAndJoinByName
-
Defines the locale to be used for decoding the argument.
- locale() - Method in annotation type com.opencsv.bean.CsvBindAndJoinByPosition
-
Defines the locale to be used for decoding the argument.
- locale() - Method in annotation type com.opencsv.bean.CsvBindAndSplitByName
-
Defines the locale to be used for decoding the argument.
- locale() - Method in annotation type com.opencsv.bean.CsvBindAndSplitByPosition
-
Defines the locale to be used for decoding the argument.
- locale() - Method in annotation type com.opencsv.bean.CsvBindByName
-
Defines the locale to be used for decoding the argument.
- locale() - Method in annotation type com.opencsv.bean.CsvBindByPosition
-
Defines the locale to be used for decoding the argument.
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.
- mapType() - Method in annotation type com.opencsv.bean.CsvBindAndJoinByName
-
Defines the class used for the multi-valued map.
- mapType() - Method in annotation type com.opencsv.bean.CsvBindAndJoinByPosition
-
Defines the class used for the multi-valued map.
- MAX_SIZE_FOR_EMPTY_FIELD - Static variable in interface com.opencsv.ICSVParser
-
When creating builders this should be the smallest size to account for quotes and any possible escape characters.
- multilineLimit - Variable in class com.opencsv.CSVReader
- MustMatchRegexExpression - Class in com.opencsv.bean.validators
-
This is a validator that, due to the addition of the parameter, allows the validation of multiple different types of input.
- MustMatchRegexExpression() - Constructor for class com.opencsv.bean.validators.MustMatchRegexExpression
-
Default constructor.
N
- NEITHER - com.opencsv.enums.CSVReaderNullFieldIndicator
- NEWLINE - Static variable in interface com.opencsv.ICSVParser
-
Default newline character for the parser.
- next() - Method in class com.opencsv.CSVIterator
-
Returns the next element in the iterator.
- NO_ESCAPE_CHARACTER - Static variable in interface com.opencsv.ICSVWriter
-
The escape constant to use when you wish to suppress all escaping.
- NO_QUOTE_CHARACTER - Static variable in interface com.opencsv.ICSVWriter
-
The quote constant to use when you wish to suppress all quoting.
- NULL_CHARACTER - Static variable in interface com.opencsv.ICSVParser
-
This is the "null" character - if a value is set to this then it is ignored.
- nullFieldIndicator - Variable in class com.opencsv.AbstractCSVParser
-
Determines the handling of null fields.
- nullFieldIndicator() - Method in class com.opencsv.AbstractCSVParser
- nullFieldIndicator() - Method in class com.opencsv.CSVParserBuilder
- nullFieldIndicator() - Method in interface com.opencsv.ICSVParser
- nullFieldIndicator() - Method in class com.opencsv.RFC4180Parser
- nullFieldIndicator() - Method in class com.opencsv.RFC4180ParserBuilder
O
- OpencsvUtils - Class in com.opencsv.bean
-
This class is meant to be a collection of general purpose static methods useful in processing mapping strategies.
- OrderedObject<E> - Class in com.opencsv.bean.concurrent
-
A simple class for ordering objects.
P
- paramString() - Method in annotation type com.opencsv.bean.processor.PreAssignmentProcessor
-
This is used to store additional information needed by the
StringProcessor
. - paramString() - Method in annotation type com.opencsv.bean.validators.PreAssignmentValidator
-
This is used to store additional information needed by the
StringValidator
. - parse() - Method in class com.opencsv.bean.CsvToBean
-
Parses the input based on parameters already set through other methods.
- parseLine(String) - Method in class com.opencsv.AbstractCSVParser
- parseLine(String) - Method in interface com.opencsv.ICSVParser
-
Parses an incoming String and returns an array of elements.
- parseLine(String, boolean) - Method in class com.opencsv.AbstractCSVParser
-
Parses an incoming
String
and returns an array of elements. - parseLine(String, boolean) - Method in class com.opencsv.CSVParser
- parseLine(String, boolean) - Method in class com.opencsv.RFC4180Parser
-
Parses an incoming String and returns an array of elements.
- parseLineMulti(String) - Method in class com.opencsv.AbstractCSVParser
- parseLineMulti(String) - Method in interface com.opencsv.ICSVParser
-
Parses an incoming String and returns an array of elements.
- parser - Variable in class com.opencsv.CSVParserWriter
- parser - Variable in class com.opencsv.CSVReader
- parseToLine(String[], boolean) - Method in class com.opencsv.AbstractCSVParser
- parseToLine(String[], boolean) - Method in interface com.opencsv.ICSVParser
-
Essentially a "Reverse parse" where an array of values are concatenating to a csv delimited string.
- partitionFields() - Method in class com.opencsv.bean.AbstractMappingStrategy
-
Partitions all non-synthetic fields of the bean type being processed into annotated and non-annotated fields according to
AbstractMappingStrategy.getBindingAnnotations()
. - PASSTHROUGH_EXCEPTIONS - Static variable in class com.opencsv.CSVReader
- peek() - Method in class com.opencsv.CSVReader
-
Returns the next line from the input without removing it from the CSVReader and not running any validators.
- peekedLine - Variable in class com.opencsv.CSVReader
- pending - Variable in class com.opencsv.AbstractCSVParser
-
Value to be appended to string to process.
- populateNewBean(String[]) - Method in class com.opencsv.bean.AbstractMappingStrategy
- populateNewBean(String[]) - Method in interface com.opencsv.bean.MappingStrategy
-
Takes a line of input from a CSV file and creates a bean out of it.
- position() - Method in annotation type com.opencsv.bean.CsvBindAndJoinByPosition
-
The column position(s) in the input that is/are used to fill the annotated field.
- position() - Method in annotation type com.opencsv.bean.CsvBindAndSplitByPosition
-
The column position in the input that is used to fill the annotated field.
- position() - Method in annotation type com.opencsv.bean.CsvBindByPosition
-
The column position in the input that is used to fill the annotated field.
- position() - Method in annotation type com.opencsv.bean.CsvCustomBindByPosition
-
The column position in the input that is used to fill the annotated field.
- PositionToBeanField<T> - Class in com.opencsv.bean
-
Maps any column position matching a range definition to a
BeanField
. - PositionToBeanField(String, int, BeanField<T, Integer>, Locale) - Constructor for class com.opencsv.bean.PositionToBeanField
-
Initializes this mapping with a list of ranges and the associated
BeanField
. - PreAssignmentProcessor - Annotation Type in com.opencsv.bean.processor
-
Specifies the binding of a processor to a field in a bean.
- PreAssignmentValidator - Annotation Type in com.opencsv.bean.validators
-
Specifies the binding of a validator to a field in a bean.
- processCharacter(Appendable, char) - Method in class com.opencsv.CSVWriter
-
Appends the character to the StringBuilder adding the escape character if needed.
- processColumnItem(String) - Method in interface com.opencsv.processor.RowProcessor
-
Method that contains the code that will transform a single column/element.
- ProcessCsvBean<T> - Class in com.opencsv.bean.concurrent
-
A class for converting one bean into its string representation for writing to an output.
- ProcessCsvBean(long, MappingStrategy<T>, T, BlockingQueue<OrderedObject<String[]>>, BlockingQueue<OrderedObject<CsvException>>, boolean) - Constructor for class com.opencsv.bean.concurrent.ProcessCsvBean
-
The only constructor for creating a line of CSV output out of a bean.
- ProcessCsvLine<T> - Class in com.opencsv.bean.concurrent
-
A class that encapsulates the job of creating a bean from a line of CSV input and making it possible to run those jobs in parallel.
- ProcessCsvLine(long, MappingStrategy<? extends T>, CsvToBeanFilter, List<BeanVerifier<T>>, String[], BlockingQueue<OrderedObject<T>>, BlockingQueue<OrderedObject<CsvException>>, boolean) - Constructor for class com.opencsv.bean.concurrent.ProcessCsvLine
-
The only constructor for creating a bean out of a line of input.
- processLine(String, Appendable) - Method in class com.opencsv.CSVWriter
-
Processes all the characters in a line.
- processor() - Method in annotation type com.opencsv.bean.processor.PreAssignmentProcessor
-
Returns the processor that will process the string.
- processRow(String[]) - Method in interface com.opencsv.processor.RowProcessor
-
Method that will process the entire row.
- processString(String) - Method in interface com.opencsv.bean.processor.StringProcessor
-
Method that contains the code that will transform a string into the value that will be validated and converted into the bean field.
- put(int, String) - Method in class com.opencsv.bean.HeaderIndex
-
Adds a new mapping between a column position and a header.
- put(K, BeanField<T, K>) - Method in class com.opencsv.bean.AbstractFieldMap
- put(K, BeanField<T, K>) - Method in interface com.opencsv.bean.FieldMap
-
Associates the given
BeanField
with the givenkey
. - putComplex(I, BeanField<T, K>) - Method in interface com.opencsv.bean.FieldMap
-
Adds a
BeanField
to this map indexed by the data ininitializer
. - putComplex(String, BeanField<T, Integer>) - Method in class com.opencsv.bean.FieldMapByPosition
- putComplex(String, BeanField<T, String>) - Method in class com.opencsv.bean.FieldMapByName
- putNewValue(MultiValuedMap<I, Object>, String, Object) - Method in class com.opencsv.bean.BeanFieldJoin
-
Puts the value given in
newValue
intomap
usingindex
. - putNewValue(MultiValuedMap<Integer, Object>, String, Object) - Method in class com.opencsv.bean.BeanFieldJoinIntegerIndex
- putNewValue(MultiValuedMap<String, Object>, String, Object) - Method in class com.opencsv.bean.BeanFieldJoinStringIndex
Q
- queueRefuseToAcceptDefeat(BlockingQueue<E>, E) - Static method in class com.opencsv.bean.OpencsvUtils
-
I find it annoying that when I want to queue something in a blocking queue, the thread might be interrupted and I have to try again; this method fixes that.
- quotechar - Variable in class com.opencsv.AbstractCSVParser
-
This is the character that the CSVParser will treat as the quotation character.
- quotechar - Variable in class com.opencsv.CSVWriter
R
- READ_AHEAD_LIMIT - Static variable in class com.opencsv.CSVReader
- READ_BUFFER_SIZE - Static variable in interface com.opencsv.ICSVParser
-
In most cases we know the size of the line we want to read.
- readAll() - Method in class com.opencsv.CSVReader
-
Reads the entire file into a List with each element being a String[] of tokens.
- readConverter - Variable in class com.opencsv.bean.ConverterPrimitiveTypes
-
The formatter for all inputs to wrapped and unwrapped primitive types when a specific locale is not required.
- readLine() - Method in class com.opencsv.stream.reader.LineReader
-
Reads the next line from the Reader.
- readLocaleConverter - Variable in class com.opencsv.bean.ConverterPrimitiveTypes
-
The formatter for all inputs to wrapped and unwrapped primitive types when a specific locale is required.
- readMap() - Method in class com.opencsv.CSVReaderHeaderAware
-
Reads the next line and returns a map of header values and data values.
- readNext() - Method in class com.opencsv.CSVReader
-
Reads the next line from the buffer and converts to a string array.
- readNext(String...) - Method in class com.opencsv.CSVReaderHeaderAware
-
Retrieves a specific data element from a line based on the value of the header.
- readNextSilently() - Method in class com.opencsv.CSVReader
-
Reads the next line from the buffer and converts to a string array without running the custom defined validators.
- recordsRead - Variable in class com.opencsv.CSVReader
- RegexToBeanField<T> - Class in com.opencsv.bean
-
Maps any header name matching a regular expression to a
BeanField
. - RegexToBeanField(String, BeanField<T, String>, Locale) - Constructor for class com.opencsv.bean.RegexToBeanField
-
Initializes this mapping with the regular expression used to map header names and the
BeanField
they should be mapped to. - remove() - Method in class com.opencsv.CSVIterator
-
This method is not supported by opencsv and will throw an
UnsupportedOperationException
if called. - required - Variable in class com.opencsv.bean.AbstractBeanField
-
Whether or not this field is required.
- required() - Method in annotation type com.opencsv.bean.CsvBindAndJoinByName
-
Whether or not the annotated field is required to be present in every data set of the input.
- required() - Method in annotation type com.opencsv.bean.CsvBindAndJoinByPosition
-
Whether or not the annotated field is required to be present in every data set of the input.
- required() - Method in annotation type com.opencsv.bean.CsvBindAndSplitByName
-
Whether or not the annotated field is required to be present in every data set of the input.
- required() - Method in annotation type com.opencsv.bean.CsvBindAndSplitByPosition
-
Whether or not the annotated field is required to be present in every data set of the input.
- required() - Method in annotation type com.opencsv.bean.CsvBindByName
-
Whether or not the annotated field is required to be present in every data set of the input.
- required() - Method in annotation type com.opencsv.bean.CsvBindByPosition
-
Whether or not the annotated field is required to be present in every data set of the input.
- required() - Method in annotation type com.opencsv.bean.CsvCustomBindByName
-
Whether or not the annotated field is required to be present in every data set of the input.
- required() - Method in annotation type com.opencsv.bean.CsvCustomBindByPosition
-
Whether or not the annotated field is required to be present in every data set of the input.
- resetError() - Method in class com.opencsv.AbstractCSVWriter
- resetError() - Method in interface com.opencsv.ICSVWriter
-
Set the error back to null to be able to check for the next error using
ICSVWriter.checkError()
. - resultService - Variable in class com.opencsv.AbstractCSVWriter
- resultService() - Method in class com.opencsv.AbstractCSVWriter
-
Lazy resultSetHelper creation.
- ResultSetColumnNameHelperService - Class in com.opencsv
-
Helper class for processing JDBC ResultSet objects allowing the user to process a subset of columns and set custom header names.
- ResultSetColumnNameHelperService() - Constructor for class com.opencsv.ResultSetColumnNameHelperService
-
Nullary constructor.
- ResultSetHelper - Interface in com.opencsv
-
Interface for the ResultSetHelperService.
- ResultSetHelperService - Class in com.opencsv
-
Helper class for processing JDBC ResultSet objects.
- ResultSetHelperService() - Constructor for class com.opencsv.ResultSetHelperService
-
Default constructor.
- RFC4180_LINE_END - Static variable in interface com.opencsv.ICSVWriter
-
RFC 4180 compliant line terminator.
- RFC4180Parser - Class in com.opencsv
-
This Parser is meant to parse according to the RFC4180 specification.
- RFC4180Parser() - Constructor for class com.opencsv.RFC4180Parser
-
Default constructor for the RFC4180Parser.
- RFC4180ParserBuilder - Class in com.opencsv
-
Builder for creating a RFC4180Parser.
- RFC4180ParserBuilder() - Constructor for class com.opencsv.RFC4180ParserBuilder
-
Default constructor.
- RowFunctionValidator - Class in com.opencsv.validators
-
This validator is best used to validate a specific property of the row - either about a specific element or information about the array itself.
- RowFunctionValidator(Function<String[], Boolean>, String) - Constructor for class com.opencsv.validators.RowFunctionValidator
-
Default Constructor.
- RowMustHaveSameNumberOfColumnsAsFirstRowValidator - Class in com.opencsv.validators
-
This validator is used when the number of columns is not neccessarily known but must be consistent.
- RowMustHaveSameNumberOfColumnsAsFirstRowValidator() - Constructor for class com.opencsv.validators.RowMustHaveSameNumberOfColumnsAsFirstRowValidator
-
Default constructor.
- RowProcessor - Interface in com.opencsv.processor
-
This is the interface for processors for an array of
String
s read by theCSVReader
before> they are validated. - RowValidator - Interface in com.opencsv.validators
-
This is the interface for validators for an array of
String
s read by theCSVReader
after it is processed. - RowValidatorAggregator - Class in com.opencsv.validators
-
The aggregator purpose is to collect multiple RowValidators and run them against a single array of Strings.
- RowValidatorAggregator() - Constructor for class com.opencsv.validators.RowValidatorAggregator
-
Default constructor.
- run() - Method in class com.opencsv.bean.concurrent.ProcessCsvBean
- run() - Method in class com.opencsv.bean.concurrent.ProcessCsvLine
S
- 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
- 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<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.FieldMapByName
-
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
- setField(Object, T) - Method in class com.opencsv.bean.FieldAccess
-
Sets the value of the field in the given bean.
- 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(Object, String, String) - Method in class com.opencsv.bean.AbstractBeanField
- setFieldValue(Object, String, String) - Method in interface com.opencsv.bean.BeanField
-
Populates the selected field of the bean.
- 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.
- setFilter(CsvToBeanFilter) - Method in class com.opencsv.bean.CsvToBean
-
Sets a filter to selectively remove some lines of input before they become beans.
- setIgnoreEmptyLines(boolean) - Method in class com.opencsv.bean.CsvToBean
-
Ignores any blank lines in the data that are not part of a field.
- setLine(String[]) - Method in exception com.opencsv.exceptions.CsvException
- 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 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. - setRequired(boolean) - Method in class com.opencsv.bean.AbstractBeanField
- setRequired(boolean) - Method in interface com.opencsv.bean.BeanField
-
Determines whether or not a field is required.
- setResultService(ResultSetHelper) - Method in class com.opencsv.AbstractCSVWriter
- setResultService(ResultSetHelper) - Method in interface com.opencsv.ICSVWriter
-
Sets the result service.
- setThrowExceptions(boolean) - Method in class com.opencsv.bean.CsvToBean
-
Determines whether errors during import should be thrown or kept in a list for later retrieval via
CsvToBean.getCapturedExceptions()
. - setType(Class<?>) - Method in class com.opencsv.bean.AbstractBeanField
- setType(Class<?>) - Method in class com.opencsv.bean.AbstractCsvConverter
- setType(Class<?>) - 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 class com.opencsv.bean.AbstractMappingStrategy
-
Sets the class type that is being mapped.
- setType(Class<? extends T>) - Method in interface com.opencsv.bean.MappingStrategy
-
Sets the class type that is being mapped.
- 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
. - skip(int) - Method in class com.opencsv.CSVReader
-
Skip a given number of lines.
- skipLines - Variable in class com.opencsv.CSVReader
- splitOn() - Method in annotation type com.opencsv.bean.CsvBindAndSplitByName
-
Defines a regular expression for splitting the input.
- splitOn() - Method in annotation type com.opencsv.bean.CsvBindAndSplitByPosition
-
Defines a regular expression for splitting the input.
- 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>, boolean, boolean, ICSVWriter, MultiValuedMap<Class<?>, Field>) - Constructor for class com.opencsv.bean.StatefulBeanToCsv
-
Constructor used to allow building of a
StatefulBeanToCsv
with a user-suppliedICSVWriter
class. - StatefulBeanToCsvBuilder<T> - Class in com.opencsv.bean
-
This is a builder for StatefulBeanToCsv, allowing one to set all parameters necessary for writing a CSV file.
- StatefulBeanToCsvBuilder(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.
- 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.
- 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, boolean) - Method in class com.opencsv.bean.concurrent.BeanExecutor
-
Submit one bean for conversion.
- submitLine(long, MappingStrategy<? extends T>, CsvToBeanFilter, List<BeanVerifier<T>>, String[], boolean) - Method in class com.opencsv.bean.concurrent.LineExecutor
-
Submit one record for conversion to a bean.
T
- toString() - Method in class com.opencsv.bean.FieldAccess
-
Returns a string representation of this object.
- transmuteBean(T) - Method in class com.opencsv.bean.AbstractMappingStrategy
- transmuteBean(T) - Method in interface com.opencsv.bean.MappingStrategy
-
Transmutes a bean instance into an array of
String
s to be written to a CSV file. - type - Variable in class com.opencsv.bean.AbstractBeanField
-
The type the field is located in.
- type - Variable in class com.opencsv.bean.AbstractCsvConverter
-
The type to which (on reading) or from which (on writing) conversion is being performed.
- type - Variable in class com.opencsv.bean.AbstractMappingStrategy
-
This is the class of the bean to be manipulated.
V
- validate(String) - Method in interface com.opencsv.validators.LineValidator
-
Performs the validation check on the string and throws an exception if invalid.
- validate(String) - Method in class com.opencsv.validators.LineValidatorAggregator
-
Runs all LineValdators validate commands and if the string is invalid then it combines all the validation error messages in a single CsvValidationException.
- validate(String[]) - Method in class com.opencsv.validators.RowFunctionValidator
- validate(String[]) - Method in class com.opencsv.validators.RowMustHaveSameNumberOfColumnsAsFirstRowValidator
- validate(String[]) - Method in interface com.opencsv.validators.RowValidator
-
Performs the validation check on the row (an array of
String
s) and throws an exception if invalid. - validate(String[]) - Method in class com.opencsv.validators.RowValidatorAggregator
-
Runs all RowValdators validate commands and if the string is invalid then it combines all the validation error messages in a single CsvValidationException.
- validate(String, BeanField) - Method in class com.opencsv.bean.validators.MustMatchRegexExpression
- validate(String, BeanField) - Method in interface com.opencsv.bean.validators.StringValidator
-
Performs the validation check on the string and throws an exception if invalid.
- validateResult(String[], long, boolean) - Method in class com.opencsv.CSVReader
-
Increments the number of records read if the result passed in is not null.
- validator() - Method in annotation type com.opencsv.bean.validators.PreAssignmentValidator
-
Returns the validator that will validate the string.
- value() - Method in annotation type com.opencsv.bean.CsvDate
-
A date/time format string.
- value() - Method in annotation type com.opencsv.bean.CsvNumber
-
A decimal format string.
- valueOf(String) - Static method in enum com.opencsv.enums.CSVReaderNullFieldIndicator
-
Returns the enum constant of this type with the specified name.
- values() - Method in class com.opencsv.bean.AbstractFieldMap
- values() - Method in interface com.opencsv.bean.FieldMap
-
Provides all values currently in the map.
- values() - Static method in enum com.opencsv.enums.CSVReaderNullFieldIndicator
-
Returns an array containing the constants of this enum type, in the order they are declared.
- verifyBean(T) - Method in interface com.opencsv.bean.BeanVerifier
-
Verifies and optionally filters the bean that has been created.
- verifyLineLength(int) - Method in class com.opencsv.bean.AbstractMappingStrategy
-
Must be called once the length of input for a line/record is known to verify that the line was complete.
- verifyLineLength(int) - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
- verifyLineLength(int) - Method in class com.opencsv.bean.HeaderNameBaseMappingStrategy
- verifyReader - Variable in class com.opencsv.CSVReader
- verifyReader() - Method in class com.opencsv.CSVReader
-
Returns if the CSVReader will verify the reader before each read.
W
- WAHR - Static variable in class com.opencsv.bean.customconverter.ConvertGermanToBoolean
- 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.
- 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.
- withEscapechar(char) - Method in class com.opencsv.bean.StatefulBeanToCsvBuilder
- withEscapeChar(char) - Method in class com.opencsv.bean.CsvToBeanBuilder
- 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.
- withFieldAsNull(CSVReaderNullFieldIndicator) - Method in class com.opencsv.bean.CsvToBeanBuilder
- withFieldAsNull(CSVReaderNullFieldIndicator) - Method in class com.opencsv.CSVParserBuilder
-
Sets the NullFieldIndicator.
- withFieldAsNull(CSVReaderNullFieldIndicator) - Method in class com.opencsv.CSVReaderBuilder
-
Checks to see if it should treat a field with two separators, two quotes, or both as a null field.
- withFieldAsNull(CSVReaderNullFieldIndicator) - Method in class com.opencsv.RFC4180ParserBuilder
-
Sets the NullFieldIndicator.
- withFilter(CsvToBeanFilter) - Method in class com.opencsv.bean.CsvToBeanBuilder
- 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.
- withLineEnd(String) - Method in class com.opencsv.bean.StatefulBeanToCsvBuilder
- withLineEnd(String) - Method in class com.opencsv.CSVWriterBuilder
-
Sets the newline character that the ICSVWriter will use.
- withLineValidator(LineValidator) - Method in class com.opencsv.CSVReaderBuilder
-
Adds a LineValidator to the CSVReader.
- 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.
- 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.
- withQuotechar(char) - Method in class com.opencsv.bean.StatefulBeanToCsvBuilder
- withQuoteChar(char) - Method in class com.opencsv.bean.CsvToBeanBuilder
- 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.
- withRowProcessor(RowProcessor) - Method in class com.opencsv.CSVReaderBuilder
-
Adds a RowProcessor to the CSVReader.
- withRowValidator(RowValidator) - Method in class com.opencsv.CSVReaderBuilder
-
Adds a RowValidator to the CSVReader.
- 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.
- withStrictQuotes(boolean) - Method in class com.opencsv.bean.CsvToBeanBuilder
- withStrictQuotes(boolean) - Method in class com.opencsv.CSVParserBuilder
-
Sets the strict quotes setting - if true, characters outside the quotes are ignored.
- withThrowExceptions(boolean) - Method in class com.opencsv.bean.CsvToBeanBuilder
- withThrowExceptions(boolean) - Method in class com.opencsv.bean.StatefulBeanToCsvBuilder
- withType(Class<? extends T>) - Method in class com.opencsv.bean.CsvToBeanBuilder
-
Sets the type of the bean to be populated.
- 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.
- 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(Iterator<T>) - Method in class com.opencsv.bean.StatefulBeanToCsv
-
Writes an iterator of beans 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(Stream<T>) - Method in class com.opencsv.bean.StatefulBeanToCsv
-
Writes a stream of beans out to the
Writer
provided to the constructor. - write(T) - Method in class com.opencsv.bean.StatefulBeanToCsv
-
Writes a bean out to the
Writer
provided to the constructor. - writeAll(Iterable<String[]>) - Method in interface com.opencsv.ICSVWriter
-
Writes iterable to a CSV file.
- writeAll(Iterable<String[]>, boolean) - Method in class com.opencsv.AbstractCSVWriter
- writeAll(Iterable<String[]>, boolean) - Method in interface com.opencsv.ICSVWriter
-
Writes iterable 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 class com.opencsv.AbstractCSVWriter
- writeAll(ResultSet, boolean, boolean, boolean) - Method in interface com.opencsv.ICSVWriter
-
Writes the entire ResultSet to a CSV file.
- writeAll(List<String[]>) - Method in interface com.opencsv.ICSVWriter
-
Writes the entire list to a CSV file.
- writeAll(List<String[]>, boolean) - Method in interface com.opencsv.ICSVWriter
-
Writes the entire list to a CSV file.
- writeChronology() - Method in annotation type com.opencsv.bean.CsvDate
-
The
Chronology
that should be used for formatting. - writeChronologyEqualsReadChronology() - Method in annotation type com.opencsv.bean.CsvDate
-
Whether or not the same chronology string is used for writing as for reading.
- 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.
- writeDelimiter() - Method in annotation type com.opencsv.bean.CsvBindAndSplitByName
-
When writing a collection from a bean, this string will be used to separate elements of the collection.
- writeDelimiter() - Method in annotation type com.opencsv.bean.CsvBindAndSplitByPosition
-
When writing a collection from a bean, this string will be used to separate elements of the collection.
- writeFormat - Variable in class com.opencsv.bean.BeanFieldSingleValue
-
The format string used for packaging values to be written.
- writeFormat() - Method in annotation type com.opencsv.bean.CsvDate
-
A date/time format string.
- writeFormat() - Method in annotation type com.opencsv.bean.CsvNumber
-
A number format string.
- writeFormatEqualsReadFormat() - Method in annotation type com.opencsv.bean.CsvDate
-
Whether or not the same format string is used for writing as for reading.
- writeFormatEqualsReadFormat() - Method in annotation type com.opencsv.bean.CsvNumber
-
Whether or not the same format string is used for writing as for reading.
- writeLocale - Variable in class com.opencsv.bean.AbstractCsvConverter
-
The locale to be used when converting for writing, if a locale is relevant.
- writeLocale() - Method in annotation type com.opencsv.bean.CsvBindAndJoinByName
-
The locale for writing.
- writeLocale() - Method in annotation type com.opencsv.bean.CsvBindAndJoinByPosition
-
The locale for writing.
- writeLocale() - Method in annotation type com.opencsv.bean.CsvBindAndSplitByName
-
The locale for writing.
- writeLocale() - Method in annotation type com.opencsv.bean.CsvBindAndSplitByPosition
-
The locale for writing.
- writeLocale() - Method in annotation type com.opencsv.bean.CsvBindByName
-
The locale for writing.
- writeLocale() - Method in annotation type com.opencsv.bean.CsvBindByPosition
-
The locale for writing.
- 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.
- writeLocaleEqualsReadLocale() - Method in annotation type com.opencsv.bean.CsvBindAndJoinByName
-
Whether or not the same locale is used for writing as for reading.
- writeLocaleEqualsReadLocale() - Method in annotation type com.opencsv.bean.CsvBindAndJoinByPosition
-
Whether or not the same locale is used for writing as for reading.
- writeLocaleEqualsReadLocale() - Method in annotation type com.opencsv.bean.CsvBindAndSplitByName
-
Whether or not the same locale is used for writing as for reading.
- writeLocaleEqualsReadLocale() - Method in annotation type com.opencsv.bean.CsvBindAndSplitByPosition
-
Whether or not the same locale is used for writing as for reading.
- writeLocaleEqualsReadLocale() - Method in annotation type com.opencsv.bean.CsvBindByName
-
Whether or not the same locale is used for writing as for reading.
- writeLocaleEqualsReadLocale() - Method in annotation type com.opencsv.bean.CsvBindByPosition
-
Whether or not the same locale is used for writing as for reading.
- writeNext(String[]) - Method in interface com.opencsv.ICSVWriter
-
Writes the next line to the file.
- writeNext(String[], boolean) - Method in class com.opencsv.AbstractCSVWriter
- writeNext(String[], boolean) - Method in interface com.opencsv.ICSVWriter
-
Writes the next line to the file.
- 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
- writeOrder - Variable in class com.opencsv.bean.HeaderNameBaseMappingStrategy
-
Holds a
Comparator
to sort columns on writing. - writer - Variable in class com.opencsv.AbstractCSVWriter
All Classes All Packages