A B C D E F G H I K L M N O P Q R S T U 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
- AbstractMappingStrategy.RecursiveType - Class in com.opencsv.bean
-
Encapsulates a bean type and all of the member variables that need to be recursed into.
- accessor - Variable in class com.opencsv.bean.FieldAccess
-
A functional interface to read the field.
- AccessorInvoker<T,R> - Interface in com.opencsv.bean.function
-
Functional interface for accessing a value from a field.
- AccumulateCsvResults<T> - Class in com.opencsv.bean.concurrent
-
The accumulator takes two queues of results of transforming text input into bean output or bean input into text output (output and exceptions) and orders them for later consumption.
- AccumulateCsvResults(BlockingQueue<OrderedObject<T>>, BlockingQueue<OrderedObject<CsvException>>, SortedSet<Long>, ConcurrentMap<Long, T>, ListValuedMap<Long, CsvException>) - Constructor for class com.opencsv.bean.concurrent.AccumulateCsvResults
-
The only accepted constructor for the accumulator.
- accumulateThread - Variable in class com.opencsv.bean.concurrent.IntolerantThreadPoolExecutor
-
A separate thread that accumulates and orders results.
- add(CsvFieldAssignmentException) - Method in exception com.opencsv.exceptions.CsvChainedException
-
Add an exception to the chain of collections.
- addRecursiveMember(FieldAccess<Object>, AbstractMappingStrategy.RecursiveType) - Method in class com.opencsv.bean.AbstractMappingStrategy.RecursiveType
-
Used to add a recursive type.
- addValidator(LineValidator) - Method in class com.opencsv.validators.LineValidatorAggregator
-
Add an validator to the aggregator.
- addValidator(RowValidator) - Method in class com.opencsv.validators.RowValidatorAggregator
-
Add a validator to the aggregator.
- afterExecute(Runnable, Throwable) - Method in class com.opencsv.bean.concurrent.IntolerantThreadPoolExecutor
-
Shuts the Executor down if the thread ended in an exception.
- allowLine(String[]) - Method in interface com.opencsv.bean.CsvToBeanFilter
-
Determines if a line from the CSV file will be included in the output of
CsvToBean
. - anyCharactersAreTheSame(char, char, char) - Method in class com.opencsv.CSVParser
-
Checks to see if any two of the three characters are the same.
- append(char) - Method in class com.opencsv.CSVParser.StringFragmentCopier
- append(String) - Method in class com.opencsv.CSVParser.StringFragmentCopier
- appendPrev() - Method in class com.opencsv.CSVParser.StringFragmentCopier
- appendQuoteCharacterIfNeeded(boolean, Appendable, Boolean) - Method in class com.opencsv.CSVWriter
- applyFormatter(NumberFormat, Number) - Method in class com.opencsv.ResultSetHelperService
- applyQuotesToAll - Variable in class com.opencsv.bean.StatefulBeanToCsv
- applyQuotesToAll - Variable in class com.opencsv.bean.StatefulBeanToCsvBuilder
- areMoreResultsAvailable() - Method in class com.opencsv.bean.concurrent.IntolerantThreadPoolExecutor
-
Determines whether more conversion results can be expected.
- assembleCompleteFieldList(AbstractMappingStrategy.RecursiveType, ListValuedMap<Class<?>, Field>) - Method in class com.opencsv.bean.AbstractMappingStrategy
-
Creates a non-tree (fairly flat) representation of all of the fields bound from all types.
- assignment - Variable in class com.opencsv.bean.FieldAccess
-
A functional interface to write the field.
- 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
- bean - Variable in class com.opencsv.bean.concurrent.ProcessCsvBean
- bean - Variable in class com.opencsv.bean.CsvToBean.CsvToBeanIterator
- bean - Variable in exception com.opencsv.exceptions.CsvBeanIntrospectionException
-
The bean that was acted upon.
- beanClass - Variable in exception com.opencsv.exceptions.CsvRequiredFieldEmptyException
- 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, Locale) - Constructor for class com.opencsv.bean.concurrent.BeanExecutor
-
The only constructor available for this class.
- BeanField<T,I> - Interface in com.opencsv.bean
-
Used to extend the
Field
class to include functionality that opencsv requires. - BeanFieldJoin<T,I> - Class in com.opencsv.bean
-
This class is used for combining multiple columns of the input, possibly with multiple identically named columns, into one field.
- BeanFieldJoin(Class<?>, Field, boolean, Locale, CsvConverter, Class<? extends MultiValuedMap>, String, String) - Constructor for class com.opencsv.bean.BeanFieldJoin
-
Creates a new instance.
- BeanFieldJoinIntegerIndex<T> - Class in com.opencsv.bean
-
Implements a
BeanFieldJoin
with 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>, Class<?>, String, String) - Constructor for class com.opencsv.bean.BeanFieldSplit
-
The only valid constructor.
- BeanVerifier<T> - Interface in com.opencsv.bean
-
Classes implementing this interface may be used to verify and filter beans after creation, but before being passed back to the calling application.
- beforeFirstWrite(T) - Method in class com.opencsv.bean.StatefulBeanToCsv
-
Custodial tasks that must be performed before beans are written to a CSV destination for the first time.
- BEGINNING_OF_LINE - Static variable in class com.opencsv.CSVParser
- BOTH - com.opencsv.enums.CSVReaderNullFieldIndicator
- br - Variable in class com.opencsv.CSVReader
- build() - Method in class com.opencsv.bean.ColumnPositionMappingStrategyBuilder
-
Builds a new mapping strategy for parsing/writing.
- build() - Method in class com.opencsv.bean.CsvToBeanBuilder
-
Builds the
CsvToBean
out of the provided information. - build() - Method in class com.opencsv.bean.FuzzyMappingStrategyBuilder
-
Builds a new mapping strategy for parsing/writing.
- build() - Method in class com.opencsv.bean.HeaderColumnNameMappingStrategyBuilder
-
Builds a new mapping strategy for parsing/writing.
- build() - Method in class com.opencsv.bean.HeaderColumnNameTranslateMappingStrategyBuilder
-
Builds a new mapping strategy for parsing/writing.
- build() - Method in class com.opencsv.bean.StatefulBeanToCsvBuilder
-
Builds a StatefulBeanToCsv from the information provided, filling in default values where none have been specified.
- build() - Method in class com.opencsv.CSVParserBuilder
-
Constructs CSVParser.
- build() - Method in class com.opencsv.CSVReaderBaseBuilder
-
Must create the CSVReader type requested.
- build() - Method in class com.opencsv.CSVReaderBuilder
-
Creates the
CSVReader
. - build() - Method in class com.opencsv.CSVReaderHeaderAwareBuilder
-
Creates the
CSVReaderHeaderAware
. - build() - Method in class com.opencsv.CSVWriterBuilder
-
Creates the CSVWriter.
- build() - Method in class com.opencsv.RFC4180ParserBuilder
-
Constructs RFC4180Parser.
- buildParser() - Method in class com.opencsv.bean.CsvToBeanBuilder
-
Builds a
CSVParser
from the information provided to this builder. - buildReader(CSVParser) - Method in class com.opencsv.bean.CsvToBeanBuilder
-
Builds a
CSVReader
from the information provided to this builder.
C
- c - Variable in class com.opencsv.bean.comparator.LiteralComparator
-
Deprecated.
- CAPACITY - Static variable in class com.opencsv.validators.LineValidatorAggregator
- CAPACITY - Static variable in class com.opencsv.validators.RowValidatorAggregator
- capture - Variable in class com.opencsv.bean.BeanFieldSingleValue
-
The regular expression to be used for capturing part of the input for processing.
- capture - Variable in class com.opencsv.bean.BeanFieldSplit
- 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.
- capturedExceptions - Variable in class com.opencsv.bean.CsvToBean
-
A list of all exceptions during parsing and mapping of the input.
- capturedExceptions - Variable in class com.opencsv.bean.StatefulBeanToCsv
- 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.
- characteristics() - Method in class com.opencsv.bean.concurrent.IntolerantThreadPoolExecutor
- checkCharactersToEscape(char) - Method in class com.opencsv.CSVWriter
-
Checks whether the next character that is to be written out is a special character that must be quoted.
- checkError() - Method in class com.opencsv.AbstractCSVWriter
- checkError() - Method in interface com.opencsv.ICSVWriter
-
Flushes the buffer and checks to see if the there has been an error in the printstream.
- checkExceptions() - Method in class com.opencsv.bean.concurrent.IntolerantThreadPoolExecutor
-
Checks whether exceptions are available that should halt processing.
- checkExceptions() - Method in class com.opencsv.bean.concurrent.LineExecutor
- chooseMultivaluedFieldIndexFromHeaderIndex(int) - Method in class com.opencsv.bean.AbstractMappingStrategy
-
For
BeanField.indexAndSplitMultivaluedField(java.lang.Object, java.lang.Object)
it is necessary to determine which index to pass in. - chooseMultivaluedFieldIndexFromHeaderIndex(int) - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
- chooseMultivaluedFieldIndexFromHeaderIndex(int) - Method in class com.opencsv.bean.HeaderNameBaseMappingStrategy
- 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.
- clearOutput() - Method in class com.opencsv.CSVParser.StringFragmentCopier
- 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 - Variable in class com.opencsv.bean.BeanFieldSplit
- 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.
- columnHeaders - Variable in class com.opencsv.ResultSetColumnNameHelperService
- columnIndexForWriting - Variable in class com.opencsv.bean.ColumnPositionMappingStrategy
-
Used to store a mapping from presumed input column index to desired output column index, as determined by applying
ColumnPositionMappingStrategy.writeOrder
. - columnMapping - Variable in class com.opencsv.bean.HeaderColumnNameTranslateMappingStrategy
- columnNamePositionMap - Variable in class com.opencsv.ResultSetColumnNameHelperService
- columnNames - Variable in class com.opencsv.ResultSetColumnNameHelperService
- ColumnPositionMappingStrategy<T> - Class in com.opencsv.bean
-
Allows for the mapping of columns with their positions.
- ColumnPositionMappingStrategy() - Constructor for class com.opencsv.bean.ColumnPositionMappingStrategy
-
Default constructor.
- ColumnPositionMappingStrategyBuilder<T> - Class in com.opencsv.bean
-
Builder for a
ColumnPositionMappingStrategy
. - ColumnPositionMappingStrategyBuilder() - Constructor for class com.opencsv.bean.ColumnPositionMappingStrategyBuilder
-
Default constructor.
- columnsExplicitlySet - Variable in class com.opencsv.bean.ColumnPositionMappingStrategy
-
Whether the user has programmatically set the map from column positions to field names.
- com.opencsv - package com.opencsv
-
A very simple CSV parser for Java released under a commercial-friendly license.
- com.opencsv.bean - package com.opencsv.bean
-
A bean binding interface for use with opencsv.
- com.opencsv.bean.comparator - package com.opencsv.bean.comparator
-
This package is a collection of
Comparator
s that could be useful to anyone using opencsv. - com.opencsv.bean.concurrent - package com.opencsv.bean.concurrent
-
This package collects all classes necessary for the parallel processing of beans.
- com.opencsv.bean.customconverter - package com.opencsv.bean.customconverter
-
Custom converters that are generally useful are collected here.
- com.opencsv.bean.exceptionhandler - package com.opencsv.bean.exceptionhandler
-
This package contains the interface and standard implementations for exception handling logic during bean creation and bean writing.
- com.opencsv.bean.function - package com.opencsv.bean.function
-
This package collections function definitions that are used in opencsv.
- com.opencsv.bean.processor - package com.opencsv.bean.processor
- com.opencsv.bean.util - package com.opencsv.bean.util
-
This is a package of utility classes for internal use.
- com.opencsv.bean.validators - package com.opencsv.bean.validators
- com.opencsv.enums - package com.opencsv.enums
-
Enumerations relevant to opencsv's internal operations.
- com.opencsv.exceptions - package com.opencsv.exceptions
-
This package contains all of the exceptions specific to opencsv.
- com.opencsv.processor - package com.opencsv.processor
- com.opencsv.stream.reader - package com.opencsv.stream.reader
-
Collection of classes for customizing reading lines.
- com.opencsv.validators - package com.opencsv.validators
- combineResultsFromMultipleReads(String[], String[]) - Method in class com.opencsv.CSVReader
-
For multi-line records this method combines the current result with the result from previous read(s).
- compare(T, T) - Method in class com.opencsv.bean.comparator.LiteralComparator
-
Deprecated.
- compareTo(FuzzyMappingStrategy.FuzzyComparison) - Method in class com.opencsv.bean.FuzzyMappingStrategy.FuzzyComparison
- compilePattern(String, int, Class<?>, Locale) - Static method in class com.opencsv.bean.util.OpencsvUtils
-
Compiles a regular expression into a
Pattern
, throwing an exception that is proper in the context of opencsv if the regular expression is not valid. - compilePatternAtLeastOneGroup(String, int, Class<?>, Locale) - Static method in class com.opencsv.bean.util.OpencsvUtils
-
Compiles a regular expression into a
Pattern
, throwing an exception that is proper in the context of opencsv if the regular expression is not valid, or if it does not have at least one capturing group. - complete() - Method in class com.opencsv.bean.concurrent.IntolerantThreadPoolExecutor
-
Sends a signal to the Executor that it should shut down once all threads have completed.
- completeFileReader - Variable in class com.opencsv.bean.concurrent.LineExecutor
- CompleteFileReader<T> - Class in com.opencsv.bean.concurrent
-
Implements a separate thread for reading input and siphoning it to a
LineExecutor
. - CompleteFileReader(CSVReader, CsvToBeanFilter, boolean, MappingStrategy<? extends T>, CsvExceptionHandler, List<BeanVerifier<T>>) - Constructor for class com.opencsv.bean.concurrent.CompleteFileReader
- ComplexFieldMapEntry<I,K extends 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.
- context - Variable in exception com.opencsv.exceptions.CsvMalformedLineException
- context - Variable in exception com.opencsv.exceptions.CsvMultilineLimitBrokenException
- CONTEXT_MULTILINE_EXCEPTION_MESSAGE_SIZE - Static variable in class com.opencsv.CSVReader
- convert(String) - Method in class com.opencsv.bean.AbstractBeanField
-
Method for converting from a string to the proper datatype of the destination field.
- convert(String) - Method in class com.opencsv.bean.BeanFieldSingleValue
-
Passes the string to be converted to the converter.
- convert(String) - Method in class com.opencsv.bean.BeanFieldSplit
-
This method manages the collection being created as well as splitting the data.
- convert(String) - Method in class com.opencsv.bean.customconverter.ConverterLanguageToBoolean
-
Converts localized text into a
Boolean
. - ConvertEmptyOrBlankStringsToDefault - Class in com.opencsv.bean.processor
-
StringProcessor that converts the empty or blank strings to a desired value string.
- ConvertEmptyOrBlankStringsToDefault() - Constructor for class com.opencsv.bean.processor.ConvertEmptyOrBlankStringsToDefault
-
Default constructor
- ConvertEmptyOrBlankStringsToNull - Class in com.opencsv.bean.processor
-
StringProcessor that converts the empty or blank strings to a literal null string.
- ConvertEmptyOrBlankStringsToNull() - Constructor for class com.opencsv.bean.processor.ConvertEmptyOrBlankStringsToNull
-
Default Constructor.
- convertEmptyToNullIfNeeded(String, boolean) - Method in class com.opencsv.CSVParser
- 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.
- converterClass - Variable in exception com.opencsv.exceptions.CsvBadConverterException
- ConverterCurrency - Class in com.opencsv.bean
-
This class converts an input ISO 4217 currency code to a
Currency
instance. - ConverterCurrency(Locale) - Constructor for class com.opencsv.bean.ConverterCurrency
-
Initializes the class.
- ConverterDate - Class in com.opencsv.bean
-
This class converts an input to a date type.
- ConverterDate(Class<?>, String, String, Locale, String, String, String, String) - Constructor for class com.opencsv.bean.ConverterDate
-
Initializes the class.
- ConverterEnum - Class in com.opencsv.bean
-
This class converts an input to an enumeration type and vice versa.
- ConverterEnum(Class<?>, String, String, Locale) - Constructor for class com.opencsv.bean.ConverterEnum
- ConverterLanguageToBoolean<T,I> - Class in com.opencsv.bean.customconverter
-
A base class for any converter to and from booleans when the string values have been or should be localized to a specific language.
- ConverterLanguageToBoolean() - Constructor for class com.opencsv.bean.customconverter.ConverterLanguageToBoolean
- ConverterNumber - Class in com.opencsv.bean
-
This converter class is used in combination with
CsvNumber
, that is, when number inputs and outputs should be formatted. - ConverterNumber(Class<?>, String, String, Locale, String, String) - Constructor for class com.opencsv.bean.ConverterNumber
- ConverterPrimitiveTypes - Class in com.opencsv.bean
-
This class wraps fields from the reflection API in order to handle translation of primitive types and to add a "required" flag.
- ConverterPrimitiveTypes(Class<?>, String, String, Locale) - Constructor for class com.opencsv.bean.ConverterPrimitiveTypes
- ConverterUUID - Class in com.opencsv.bean
-
This class converts an String to a
UUID
instance. - ConverterUUID(Locale) - Constructor for class com.opencsv.bean.ConverterUUID
-
Initializes the class.
- ConvertFrenchToBoolean<T,I> - Class in com.opencsv.bean.customconverter
-
This class converts common French representations of boolean values into a
Boolean
. - ConvertFrenchToBoolean() - Constructor for class com.opencsv.bean.customconverter.ConvertFrenchToBoolean
-
Silence code style checker by adding a useless constructor.
- ConvertGermanToBoolean<T,I> - Class in com.opencsv.bean.customconverter
-
This class converts common German representations of boolean values into a
Boolean
. - ConvertGermanToBoolean() - Constructor for class com.opencsv.bean.customconverter.ConvertGermanToBoolean
-
Silence code style checker by adding a useless constructor.
- convertToCsvValue(String, boolean) - Method in class com.opencsv.AbstractCSVParser
-
Used when reverse parsing an array of strings to a single string.
- convertToCsvValue(String, boolean) - Method in class com.opencsv.CSVParser
- convertToCsvValue(String, boolean) - Method in class com.opencsv.RFC4180Parser
- convertToCsvValue(String, boolean, Appendable) - Method in class com.opencsv.AbstractCSVParser
-
Used when reverse parsing an array of strings to a single string.
- convertToRead(String) - Method in class com.opencsv.bean.ConverterCurrency
- convertToRead(String) - Method in class com.opencsv.bean.ConverterDate
- convertToRead(String) - Method in class com.opencsv.bean.ConverterEnum
- convertToRead(String) - Method in class com.opencsv.bean.ConverterNumber
- convertToRead(String) - Method in class com.opencsv.bean.ConverterPrimitiveTypes
- convertToRead(String) - Method in class com.opencsv.bean.ConverterUUID
- convertToRead(String) - Method in interface com.opencsv.bean.CsvConverter
-
Method for converting from a string to the proper data type of the destination field.
- convertToWrite(Object) - Method in class com.opencsv.bean.AbstractBeanField
-
This is the method that actually performs the conversion from field to string for
AbstractBeanField.write(java.lang.Object, java.lang.Object)
and should be overridden in derived classes. - convertToWrite(Object) - Method in class com.opencsv.bean.AbstractCsvConverter
-
This implementation simply calls
toString()
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.ConverterCurrency
-
Converts
Currency
instance to a string. - convertToWrite(Object) - Method in class com.opencsv.bean.ConverterDate
-
This method converts the encapsulated date type to a string, respecting any locales and conversion patterns that have been set through opencsv annotations.
- convertToWrite(Object) - Method in class com.opencsv.bean.ConverterEnum
- convertToWrite(Object) - Method in class com.opencsv.bean.ConverterNumber
-
Formats the number in question according to the pattern that has been provided.
- convertToWrite(Object) - Method in class com.opencsv.bean.ConverterPrimitiveTypes
-
This method takes the current value of the field in question in the bean passed in and converts it to a string.
- convertToWrite(Object) - Method in interface com.opencsv.bean.CsvConverter
-
Method for converting from the data type of the destination field to a string.
- convertToWrite(Object) - Method in class com.opencsv.bean.customconverter.ConverterLanguageToBoolean
-
This method takes the current value of the field in question in the bean passed in and converts it to a string.
- ConvertWordNullToNull - Class in com.opencsv.bean.processor
-
StringProcessor that converts the string value "null" to a literal null string.
- ConvertWordNullToNull() - Constructor for class com.opencsv.bean.processor.ConvertWordNullToNull
-
Default Constructor.
- count - Variable in class com.opencsv.bean.exceptionhandler.ExceptionHandlerIgnoreThenThrowAfter
- count - Variable in class com.opencsv.bean.exceptionhandler.ExceptionHandlerQueueThenThrowAfter
- createBean() - Method in class com.opencsv.bean.AbstractMappingStrategy
-
Implementation will return a bean of the type of object being mapped.
- createCSVParserWriter() - Method in class com.opencsv.CSVWriterBuilder
- createCSVWriter() - Method in class com.opencsv.CSVWriterBuilder
- createDecimalFormat(String, Locale) - Method in class com.opencsv.bean.ConverterNumber
- createSubordinateBeans(AbstractMappingStrategy.RecursiveType, Map<Class<?>, Object>, Object) - Static method in class com.opencsv.bean.AbstractMappingStrategy
- 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.
- CsvBindAndJoinByNames - Annotation Type in com.opencsv.bean
-
This annotation is the container annotation for
CsvBindAndJoinByName
. - CsvBindAndJoinByPosition - Annotation Type in com.opencsv.bean
-
Joins the values of multiple columns from the input into one bean field based on a selection of column positions.
- CsvBindAndJoinByPositions - Annotation Type in com.opencsv.bean
-
This annotation is the container annotation for
CsvBindAndJoinByPosition
. - CsvBindAndSplitByName - Annotation Type in com.opencsv.bean
-
This annotation interprets one field of the input as a collection that will be split up into its components and assigned to a collection-based bean field.
- CsvBindAndSplitByNames - Annotation Type in com.opencsv.bean
-
This annotation is the container annotation for
CsvBindAndSplitByName
. - CsvBindAndSplitByPosition - Annotation Type in com.opencsv.bean
-
This annotation interprets one field of the input as a collection that will be split up into its components and assigned to a collection-based bean field.
- CsvBindAndSplitByPositions - Annotation Type in com.opencsv.bean
-
This annotation is the container annotation for
CsvBindAndSplitByPosition
. - CsvBindByName - Annotation Type in com.opencsv.bean
-
Specifies a binding between a column name of the CSV input and a field in a bean.
- CsvBindByNames - Annotation Type in com.opencsv.bean
-
This annotation is the container annotation for
CsvBindByName
. - CsvBindByPosition - Annotation Type in com.opencsv.bean
-
Specifies a binding between a column number of the CSV input and a field in a bean.
- CsvBindByPositions - Annotation Type in com.opencsv.bean
-
This annotation is the container annotation for
CsvBindByPosition
. - CsvChainedException - Exception in com.opencsv.exceptions
-
An exception class for collecting multiple exceptions.
- CsvChainedException(CsvFieldAssignmentException) - Constructor for exception com.opencsv.exceptions.CsvChainedException
-
Constructor.
- CsvConstraintViolationException - Exception in com.opencsv.exceptions
-
This exception is thrown when logical connections between data fields would be violated by the imported data.
- CsvConstraintViolationException() - Constructor for exception com.opencsv.exceptions.CsvConstraintViolationException
-
Default constructor, in case no further information is necessary or available.
- CsvConstraintViolationException(Object) - Constructor for exception com.opencsv.exceptions.CsvConstraintViolationException
-
Constructor for setting the source object that triggered the constraint violation.
- CsvConstraintViolationException(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.
- CsvCustomBindByNames - Annotation Type in com.opencsv.bean
-
This annotation is the container annotation for
CsvCustomBindByName
. - CsvCustomBindByPosition - Annotation Type in com.opencsv.bean
-
Allows us to specify a class that will perform the translation from source to destination.
- CsvCustomBindByPositions - Annotation Type in com.opencsv.bean
-
This annotation is the container annotation for
CsvCustomBindByPosition
. - CsvDataTypeMismatchException - Exception in com.opencsv.exceptions
-
This exception should be thrown when the provided string value for conversion cannot be converted to the required type of the destination field.
- CsvDataTypeMismatchException() - Constructor for exception com.opencsv.exceptions.CsvDataTypeMismatchException
-
Default constructor, in case no further information is necessary or available.
- CsvDataTypeMismatchException(Object, Class<?>) - Constructor for exception com.opencsv.exceptions.CsvDataTypeMismatchException
-
Constructor for setting the data and the class of the intended destination field.
- CsvDataTypeMismatchException(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.
- CSVDATE_NOT_DATE - Static variable in class com.opencsv.bean.ConverterDate
- CsvDates - Annotation Type in com.opencsv.bean
-
This annotation is the container annotation for
CsvDate
. - CsvException - Exception in com.opencsv.exceptions
-
This is the base class for all exceptions for opencsv.
- CsvException() - Constructor for exception com.opencsv.exceptions.CsvException
-
Default constructor, in case no parameters are required.
- CsvException(String) - Constructor for exception com.opencsv.exceptions.CsvException
-
Constructor that allows a human-readable message.
- CsvExceptionHandler - Interface in com.opencsv.bean.exceptionhandler
-
This interface defines a generic way of dealing with exceptions thrown during the creation of beans or their conversion to CSV output.
- CsvFieldAssignmentException - Exception in com.opencsv.exceptions
-
Superclass for checked exceptions that can be thrown while trying to decode and assign a single field.
- CsvFieldAssignmentException() - Constructor for exception com.opencsv.exceptions.CsvFieldAssignmentException
-
Nullary constructor.
- CsvFieldAssignmentException(String) - Constructor for exception com.opencsv.exceptions.CsvFieldAssignmentException
-
Constructor for initializing an error message.
- CsvIgnore - Annotation Type in com.opencsv.bean
-
Instructs opencsv to ignore a field and any annotations present.
- CSVIterator - Class in com.opencsv
-
Provides an Iterator over the data found in opencsv.
- CSVIterator(CSVReader) - Constructor for class com.opencsv.CSVIterator
- CsvMalformedLineException - Exception in com.opencsv.exceptions
-
Exception that is thrown when the
CSVReader
cannot process a line. - CsvMalformedLineException() - Constructor for exception com.opencsv.exceptions.CsvMalformedLineException
-
Nullary constructor.
- CsvMalformedLineException(String, long, String) - Constructor for exception com.opencsv.exceptions.CsvMalformedLineException
-
Constructor with a message.
- CsvMultilineLimitBrokenException - Exception in com.opencsv.exceptions
-
Exception when you break the line limit of a multiline field.
- CsvMultilineLimitBrokenException() - Constructor for exception com.opencsv.exceptions.CsvMultilineLimitBrokenException
-
Nullary constructor.
- CsvMultilineLimitBrokenException(String, long, String, int) - Constructor for exception com.opencsv.exceptions.CsvMultilineLimitBrokenException
-
Constructor with a message.
- CsvNumber - Annotation Type in com.opencsv.bean
-
This annotation indicates that the destination field is a number that is specially formatted.
- CsvNumbers - Annotation Type in com.opencsv.bean
-
This annotation is the container annotation for
CsvNumber
. - CSVParser - Class in com.opencsv
-
A very simple CSV parser released under a commercial-friendly license.
- CSVParser() - Constructor for class com.opencsv.CSVParser
-
Constructs CSVParser using default values for everything.
- CSVParser(char, char, char, boolean, boolean, boolean, CSVReaderNullFieldIndicator, Locale) - Constructor for class com.opencsv.CSVParser
-
Constructs CSVParser.
- CSVParser.StringFragmentCopier - Class in com.opencsv
-
This class serves to optimize
parseLine(java.lang.String)
, which is the hot inner loop of opencsv. - CSVParserBuilder - Class in com.opencsv
-
Builder for creating a CSVParser.
- CSVParserBuilder() - Constructor for class com.opencsv.CSVParserBuilder
-
Default constructor.
- CSVParserWriter - Class in com.opencsv
-
The CSVParserWriter is a replacement for the CSVWriter that allows you to pass in a ICSVParser to handle the task of converting a string array to a line of CSV data.
- CSVParserWriter(Writer, ICSVParser, String) - Constructor for class com.opencsv.CSVParserWriter
-
Constructor for the CSVParserWriter.
- csvReader - Variable in class com.opencsv.bean.concurrent.SingleLineReader
- csvReader - Variable in class com.opencsv.bean.CsvToBean
-
The reader this class will use to access the data to be read.
- csvReader - Variable in class com.opencsv.bean.CsvToBeanBuilder
-
Allow the user to pass in a prebuilt/custom
CSVReader
. - CSVReader - Class in com.opencsv
-
A very simple CSV reader released under a commercial-friendly license.
- CSVReader(Reader) - Constructor for class com.opencsv.CSVReader
-
Constructs CSVReader using defaults for all parameters.
- CSVReader(Reader, int, ICSVParser, boolean, boolean, int, Locale, LineValidatorAggregator, RowValidatorAggregator, RowProcessor) - Constructor for class com.opencsv.CSVReader
-
Constructs CSVReader with supplied CSVParser.
- CSVReaderBaseBuilder<T> - Class in com.opencsv
-
Base class for the builders of various incarnations of CSVReaders.
- CSVReaderBaseBuilder(Reader) - Constructor for class com.opencsv.CSVReaderBaseBuilder
-
Base Constructor
- CSVReaderBuilder - Class in com.opencsv
-
Builder for creating a
CSVReader
. - CSVReaderBuilder(Reader) - Constructor for class com.opencsv.CSVReaderBuilder
-
Sets the reader to an underlying CSV source.
- CSVReaderHeaderAware - Class in com.opencsv
-
Handy reader when there's insufficient motivation to use the bean binding but the header mapping is still desired.
- CSVReaderHeaderAware(Reader) - Constructor for class com.opencsv.CSVReaderHeaderAware
-
Constructor with supplied reader.
- CSVReaderHeaderAware(Reader, int, ICSVParser, boolean, boolean, int, Locale, LineValidatorAggregator, RowValidatorAggregator, RowProcessor) - Constructor for class com.opencsv.CSVReaderHeaderAware
-
Supports non-deprecated constructor from the parent class.
- CSVReaderHeaderAwareBuilder - Class in com.opencsv
-
Builder for
CSVReaderHeaderAware
. - CSVReaderHeaderAwareBuilder(Reader) - Constructor for class com.opencsv.CSVReaderHeaderAwareBuilder
-
Sets the reader to an underlying CSV source.
- CSVReaderNullFieldIndicator - Enum in com.opencsv.enums
-
Enumeration used to tell the CSVParser what to consider null.
- CSVReaderNullFieldIndicator() - Constructor for enum com.opencsv.enums.CSVReaderNullFieldIndicator
- 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.
- CsvToBean.CsvToBeanIterator - Class in com.opencsv.bean
-
A private inner class for implementing an iterator for the input data.
- 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.
- CsvToBeanIterator() - Constructor for class com.opencsv.bean.CsvToBean.CsvToBeanIterator
- CsvValidationException - Exception in com.opencsv.exceptions
-
Exception thrown by a
LineValidator
orLineValidatorAggregator
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 - Variable in class com.opencsv.bean.StatefulBeanToCsv
- csvWriter - Variable in class com.opencsv.bean.StatefulBeanToCsvBuilder
- 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.
- currentRange - Variable in class com.opencsv.bean.PositionToBeanField.PositionIterator
D
- dateFormat - Variable in class com.opencsv.ResultSetHelperService
- dateTimeFormat - Variable in class com.opencsv.ResultSetHelperService
- DEFAULT_BUNDLE_NAME - Static variable in interface com.opencsv.ICSVParser
-
The name of the resource bundle for translations of error messages in opencsv.
- DEFAULT_DATE_FORMAT - Static variable in class com.opencsv.ResultSetHelperService
- 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_TIMESTAMP_FORMAT - Static variable in class com.opencsv.ResultSetHelperService
- DEFAULT_VALUE - Static variable in class com.opencsv.ResultSetHelperService
- DEFAULT_VERIFY_READER - Static variable in class com.opencsv.CSVReader
- defaultValue - Variable in class com.opencsv.bean.processor.ConvertEmptyOrBlankStringsToDefault
- destinationClass - Variable in exception com.opencsv.exceptions.CsvDataTypeMismatchException
- destinationFields - Variable in exception com.opencsv.exceptions.CsvRequiredFieldEmptyException
- determineAccessorMethod() - Method in class com.opencsv.bean.FieldAccess
- determineAssignmentMethod() - Method in class com.opencsv.bean.FieldAccess
- determineConverter(Field, Class<?>, String, String, Class<? extends AbstractCsvConverter>) - Method in class com.opencsv.bean.AbstractMappingStrategy
-
Given the information provided, determines the appropriate built-in converter to be passed in to the
BeanField
being created. - determineMappingStrategy(Class<? extends T>, Locale, String) - Static method in class com.opencsv.bean.util.OpencsvUtils
-
Determines which mapping strategy is appropriate for this bean.
- determineMissingRequiredHeaders(String[]) - Method in class com.opencsv.bean.FieldMapByName
-
Returns a list of required headers that were not present in the input.
- determineReadTemporalConversionFunction(Class<?>) - Method in class com.opencsv.bean.ConverterDate
- determineWriteTemporalConversionFunction(Class<?>) - Method in class com.opencsv.bean.ConverterDate
- distance - Variable in class com.opencsv.bean.FuzzyMappingStrategy.FuzzyComparison
E
- element - Variable in class com.opencsv.bean.util.OrderedObject
- elementType - Variable in class com.opencsv.bean.BeanFieldSplit
- 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
- EMPTY_STRINGBUILDER - Static variable in class com.opencsv.AbstractCSVParser
-
Empty StringBuilder
- equals(Object) - Method in class com.opencsv.bean.FieldAccess
-
Determines equality between this object and another.
- equals(Object) - Method in class com.opencsv.bean.FuzzyMappingStrategy.FuzzyComparison
- 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.bean.concurrent.IntolerantThreadPoolExecutor
-
The locale for error messages.
- errorLocale - Variable in class com.opencsv.bean.CsvToBean
-
The errorLocale for error messages.
- errorLocale - Variable in class com.opencsv.bean.CsvToBeanBuilder
- errorLocale - Variable in class com.opencsv.bean.StatefulBeanToCsv
- errorLocale - Variable in class com.opencsv.bean.StatefulBeanToCsvBuilder
- errorLocale - Variable in class com.opencsv.CSVIterator
-
Locale for all translations.
- errorLocale - Variable in class com.opencsv.CSVParser
-
Locale for all translations.
- errorLocale - Variable in class com.opencsv.CSVParserBuilder
- errorLocale - Variable in class com.opencsv.CSVReader
- errorLocale - Variable in class com.opencsv.CSVReaderBaseBuilder
- errorLocale - Variable in class com.opencsv.ResultSetColumnNameHelperService
- escape - Variable in class com.opencsv.CSVParser
-
This is the character that the CSVParser will treat as the escape character.
- escapeAsString - Variable in class com.opencsv.CSVParser
-
String of escape character - optimization for replaceAll
- escapechar - Variable in class com.opencsv.bean.StatefulBeanToCsv
- escapechar - Variable in class com.opencsv.bean.StatefulBeanToCsvBuilder
- escapechar - Variable in class com.opencsv.CSVWriter
- escapechar - Variable in class com.opencsv.CSVWriterBuilder
- escapeChar - Variable in class com.opencsv.bean.CsvToBeanBuilder
- escapeChar - Variable in class com.opencsv.CSVParserBuilder
- escapeDoubleAsString - Variable in class com.opencsv.CSVParser
-
String escapeAsString+escapeAsString - optimization for replaceAll
- estimateSize() - Method in class com.opencsv.bean.concurrent.IntolerantThreadPoolExecutor
- exception - Variable in class com.opencsv.AbstractCSVWriter
- exceptionChain - Variable in exception com.opencsv.exceptions.CsvChainedException
- exceptionHandler - Variable in class com.opencsv.bean.concurrent.CompleteFileReader
-
Whether exceptions in processing should be thrown or collected.
- exceptionHandler - Variable in class com.opencsv.bean.concurrent.ProcessCsvBean
- exceptionHandler - Variable in class com.opencsv.bean.concurrent.ProcessCsvLine
- exceptionHandler - Variable in class com.opencsv.bean.CsvToBean
-
Determines how exceptions thrown during processing will be handled.
- exceptionHandler - Variable in class com.opencsv.bean.CsvToBeanBuilder
- exceptionHandler - Variable in class com.opencsv.bean.StatefulBeanToCsv
- exceptionHandler - Variable in class com.opencsv.bean.StatefulBeanToCsvBuilder
- ExceptionHandlerIgnore - Class in com.opencsv.bean.exceptionhandler
-
An exception handler that always ignores exceptions raised.
- ExceptionHandlerIgnore() - Constructor for class com.opencsv.bean.exceptionhandler.ExceptionHandlerIgnore
-
Default Constructor.
- ExceptionHandlerIgnoreThenThrowAfter - Class in com.opencsv.bean.exceptionhandler
-
An exception handler that ignores the first x exceptions, then throws any further exceptions.
- ExceptionHandlerIgnoreThenThrowAfter(int) - Constructor for class com.opencsv.bean.exceptionhandler.ExceptionHandlerIgnoreThenThrowAfter
-
Creates an instance.
- ExceptionHandlerQueue - Class in com.opencsv.bean.exceptionhandler
-
An exception handler that always queues exceptions raised.
- ExceptionHandlerQueue() - Constructor for class com.opencsv.bean.exceptionhandler.ExceptionHandlerQueue
-
Default Constructor.
- ExceptionHandlerQueueThenThrowAfter - Class in com.opencsv.bean.exceptionhandler
-
An exception handler that queues the first x exceptions, then throws any further exceptions.
- ExceptionHandlerQueueThenThrowAfter(int) - Constructor for class com.opencsv.bean.exceptionhandler.ExceptionHandlerQueueThenThrowAfter
-
Creates an instance.
- ExceptionHandlerThrow - Class in com.opencsv.bean.exceptionhandler
-
An exception handler that always throws exceptions raised.
- ExceptionHandlerThrow() - Constructor for class com.opencsv.bean.exceptionhandler.ExceptionHandlerThrow
-
Default Constructor.
- executor - Variable in class com.opencsv.bean.concurrent.CompleteFileReader
-
The executor that takes lines of input and converts them to beans.
- executor - Variable in class com.opencsv.bean.CsvToBean
-
The
ExecutorService
for parallel processing of beans. - executor - Variable in class com.opencsv.bean.StatefulBeanToCsv
- expectedRecords - Variable in class com.opencsv.bean.concurrent.AccumulateCsvResults
- expectedRecords - Variable in class com.opencsv.bean.concurrent.IntolerantThreadPoolExecutor
-
A list of the ordinals of data records still to be expected by the accumulator.
- expectedRecords - Variable in class com.opencsv.bean.concurrent.ProcessCsvBean
- expectedRecords - Variable in class com.opencsv.bean.concurrent.ProcessCsvLine
F
- failureMessage - Variable in class com.opencsv.validators.RowFunctionValidator
- FALSCH - Static variable in class com.opencsv.bean.customconverter.ConvertGermanToBoolean
- FALSE_STRINGS - Static variable in class com.opencsv.bean.customconverter.ConvertFrenchToBoolean
- FALSE_STRINGS - Static variable in class com.opencsv.bean.customconverter.ConvertGermanToBoolean
- FAUX - Static variable in class com.opencsv.bean.customconverter.ConvertFrenchToBoolean
- 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. - field - Variable in class com.opencsv.bean.FieldAccess
-
The field being accessed.
- field - Variable in class com.opencsv.bean.FieldMapByNameEntry
-
The
BeanField
associated with this header or these headers. - field - Variable in class com.opencsv.bean.FieldMapByPositionEntry
-
The
BeanField
associated with this position. - field - Variable in class com.opencsv.bean.FuzzyMappingStrategy.FuzzyComparison
- field - Variable in exception com.opencsv.exceptions.CsvBeanIntrospectionException
-
The field that was supposed to be manipulated in the bean.
- 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.ColumnPositionMappingStrategy
-
The map from column position to
BeanField
. - 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.
- filter - Variable in class com.opencsv.bean.concurrent.CompleteFileReader
-
Filter to be applied to the input.
- filter - Variable in class com.opencsv.bean.concurrent.ProcessCsvLine
- filter - Variable in class com.opencsv.bean.CsvToBean
-
The filter this class will use on the beans it reads.
- filter - Variable in class com.opencsv.bean.CsvToBeanBuilder
- filterIgnoredFields(Class<?>, Field[]) - Method in class com.opencsv.bean.AbstractMappingStrategy
-
Filters all fields that opencsv has been instructed to ignore and returns a list of the rest.
- findEndOfFieldFromPosition(String, int) - Method in class com.opencsv.RFC4180Parser
- 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.
- firstRowNotSetYet() - Method in class com.opencsv.validators.RowMustHaveSameNumberOfColumnsAsFirstRowValidator
- flexibleRead(boolean, boolean) - Method in class com.opencsv.CSVReader
-
Reads a line of input, popping or validating as desired.
- floatingPointFormat - Variable in class com.opencsv.ResultSetHelperService
- flush() - Method in class com.opencsv.AbstractCSVWriter
- flushQuietly() - Method in interface com.opencsv.ICSVWriter
-
Flushes the writer without throwing any exceptions.
- FORBIDDEN_CLASSES_FOR_RECURSION - Static variable in class com.opencsv.bean.AbstractMappingStrategy
-
Set of classes where recursion is not allowed.
- forceCorrectRecordLength - Variable in class com.opencsv.bean.FuzzyMappingStrategyBuilder
- forceCorrectRecordLength - Variable in class com.opencsv.bean.HeaderColumnNameMappingStrategyBuilder
- forceCorrectRecordLength - Variable in class com.opencsv.bean.HeaderColumnNameTranslateMappingStrategyBuilder
- forceCorrectRecordLength - Variable in class com.opencsv.bean.HeaderNameBaseMappingStrategy
-
If set, every record will be shortened or lengthened to match the number of headers.
- 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. - FuzzyComparison(Integer, String, Class<?>, Field) - Constructor for class com.opencsv.bean.FuzzyMappingStrategy.FuzzyComparison
- FuzzyMappingStrategy<T> - Class in com.opencsv.bean
-
A mapping strategy that tries to make the best match between header names and non-annotated member variables.
- FuzzyMappingStrategy() - Constructor for class com.opencsv.bean.FuzzyMappingStrategy
-
Nullary constructor.
- FuzzyMappingStrategy(boolean) - Constructor for class com.opencsv.bean.FuzzyMappingStrategy
-
Constructor to allow setting options for header name mapping.
- FuzzyMappingStrategy.FuzzyComparison - Class in com.opencsv.bean
-
This is a simple class for grouping header name, member variable name, and the result of fuzzy matching in one sortable place.
- FuzzyMappingStrategyBuilder<T> - Class in com.opencsv.bean
-
Builder for a
FuzzyMappingStrategy
. - FuzzyMappingStrategyBuilder() - Constructor for class com.opencsv.bean.FuzzyMappingStrategyBuilder
-
Default constructor.
G
- generateHeader(T) - Method in class com.opencsv.bean.AbstractMappingStrategy
-
This method generates a header that can be used for writing beans of the type provided back to a file.
- generateHeader(T) - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
-
This method returns an empty array.
- generateHeader(T) - Method in interface com.opencsv.bean.FieldMap
-
This method generates a header that can be used for writing beans of the type provided back to a file.
- generateHeader(T) - Method in class com.opencsv.bean.FieldMapByName
-
This method generates a header that can be used for writing beans of the type provided back to a file.
- generateHeader(T) - Method in class com.opencsv.bean.FieldMapByPosition
-
This method generates a header that can be used for writing beans of the type provided back to a file.
- generateHeader(T) - Method in interface com.opencsv.bean.MappingStrategy
-
Implementations of this method must return an array of column headers based on the contents of the mapping strategy.
- get(K) - Method in class com.opencsv.bean.AbstractFieldMap
- get(K) - Method in interface com.opencsv.bean.FieldMap
-
Gets the
BeanField
associated with this key. - getAllLocalizedFalseValues() - Method in class com.opencsv.bean.customconverter.ConverterLanguageToBoolean
-
This represents a list of all values accepted as "false".
- getAllLocalizedFalseValues() - Method in class com.opencsv.bean.customconverter.ConvertFrenchToBoolean
- getAllLocalizedFalseValues() - Method in class com.opencsv.bean.customconverter.ConvertGermanToBoolean
- getAllLocalizedTrueValues() - Method in class com.opencsv.bean.customconverter.ConverterLanguageToBoolean
-
This represents a list of all values accepted as "true".
- getAllLocalizedTrueValues() - Method in class com.opencsv.bean.customconverter.ConvertFrenchToBoolean
- getAllLocalizedTrueValues() - Method in class com.opencsv.bean.customconverter.ConvertGermanToBoolean
- getBean() - Method in exception com.opencsv.exceptions.CsvBeanIntrospectionException
-
Gets the bean that was to be introspected.
- getBeanClass() - Method in exception com.opencsv.exceptions.CsvRequiredFieldEmptyException
-
Gets the class of the bean to which the value was to be assigned.
- getBeanField() - Method in class com.opencsv.bean.AbstractFieldMapEntry
- getBeanField() - Method in interface com.opencsv.bean.ComplexFieldMapEntry
- getBindingAnnotations() - Method in class com.opencsv.bean.AbstractMappingStrategy
-
Returns a set of the annotations that are used for binding in this mapping strategy.
- getBindingAnnotations() - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
-
Returns a set of the annotations that are used for binding in this mapping strategy.
- getBindingAnnotations() - Method in class com.opencsv.bean.HeaderColumnNameMappingStrategy
-
Returns a set of the annotations that are used for binding in this mapping strategy.
- getByName(String) - Method in class com.opencsv.bean.HeaderIndex
-
Retrieves the column position(s) associated with the given header name.
- getByPosition(int) - Method in class com.opencsv.bean.HeaderIndex
-
Retrieves the header associated with the given column position.
- getCapturedExceptions() - Method in class com.opencsv.bean.concurrent.IntolerantThreadPoolExecutor
-
Returns exceptions captured during the conversion process if the conversion process was set not to propagate these errors up the call stack.
- getCapturedExceptions() - Method in class com.opencsv.bean.CsvToBean
-
Returns the list of all exceptions that would have been thrown during the import, but were queued by the exception handler.
- getCapturedExceptions() - Method in class com.opencsv.bean.StatefulBeanToCsv
-
Any exceptions captured during writing of beans to a CSV destination can be retrieved through this method.
- getChronology(String, Locale) - Method in class com.opencsv.bean.ConverterDate
- getColumnMapping() - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
-
Retrieves the column mappings.
- getColumnMapping() - Method in class com.opencsv.bean.HeaderColumnNameTranslateMappingStrategy
-
Retrieves the column mappings of the strategy.
- getColumnName(int) - Method in class com.opencsv.bean.AbstractMappingStrategy
-
Get the column name for a given column position.
- getColumnName(int) - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
-
Gets a column name.
- getColumnName(int) - Method in class com.opencsv.bean.HeaderColumnNameTranslateMappingStrategy
- getColumnNames(ResultSet) - Method in class com.opencsv.ResultSetColumnNameHelperService
-
Returns the column names from the result set.
- getColumnNames(ResultSet) - Method in interface com.opencsv.ResultSetHelper
-
Returns the column names from the ResultSet.
- getColumnNames(ResultSet) - Method in class com.opencsv.ResultSetHelperService
- getColumnValue(ResultSet, int, int, boolean, String, String) - 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
- getColumnValueSubset(String[]) - Method in class com.opencsv.ResultSetColumnNameHelperService
- getContext() - Method in exception com.opencsv.exceptions.CsvMalformedLineException
- getContext() - Method in exception com.opencsv.exceptions.CsvMultilineLimitBrokenException
- getConverterClass() - Method in exception com.opencsv.exceptions.CsvBadConverterException
- getCsvParser() - Method in class com.opencsv.CSVReaderBaseBuilder
-
Used by unit tests.
- getDestinationClass() - Method in exception com.opencsv.exceptions.CsvDataTypeMismatchException
-
Gets the type of the field to which the data were to be assigned.
- getDestinationField() - Method in exception com.opencsv.exceptions.CsvRequiredFieldEmptyException
-
Gets the field from the Reflection API that was to be assigned.
- getDestinationFields() - Method in exception com.opencsv.exceptions.CsvRequiredFieldEmptyException
-
Returns the complete list of all fields that were to be empty.
- getElement() - Method in class com.opencsv.bean.util.OrderedObject
- getErrorLocale() - Method in class com.opencsv.bean.AbstractBeanField
- getErrorLocale() - Method in interface com.opencsv.bean.BeanField
-
Returns the error locale for the beans.
- getErrorLocale() - Method in class com.opencsv.CSVReaderBaseBuilder
- getEscape() - Method in class com.opencsv.CSVParser
- getEscapeChar() - Method in class com.opencsv.CSVParserBuilder
- getException() - Method in class com.opencsv.AbstractCSVWriter
- getException() - Method in interface com.opencsv.ICSVWriter
-
Get latest exception.
- getExceptionChain() - Method in exception com.opencsv.exceptions.CsvChainedException
- getExceptionHandler() - Method in class com.opencsv.bean.CsvToBean
-
Package scope method currently used by the CsvToBeanBuilderTest
- 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.
- getFirstException() - Method in exception com.opencsv.exceptions.CsvChainedException
-
Convenience method to return the first exception from the exception chain.
- getHeaderIndex() - Method in class com.opencsv.bean.HeaderIndex
- getHeaderIndexLength() - Method in class com.opencsv.bean.HeaderIndex
- getInitializer() - Method in interface com.opencsv.bean.ComplexFieldMapEntry
-
Returns the information used to initialize this entry.
- getInitializer() - Method in class com.opencsv.bean.PositionToBeanField
- getInitializer() - Method in class com.opencsv.bean.RegexToBeanField
- getLine() - Method in class com.opencsv.bean.concurrent.SingleLineReader
-
Returns a copy of the last line read by
SingleLineReader.readNextLine()
. - getLine() - Method in exception com.opencsv.exceptions.CsvException
- getLineNumber() - Method in exception com.opencsv.exceptions.CsvException
- getLineNumber() - Method in exception com.opencsv.exceptions.CsvMalformedLineException
- getLineProcessed() - Method in class com.opencsv.bean.concurrent.CompleteFileReader
- getLinesRead() - Method in class com.opencsv.bean.concurrent.SingleLineReader
- getLinesRead() - Method in class com.opencsv.CSVReader
-
This method returns the number of lines that has been read from the reader passed into the CSVReader.
- getLineValidatorAggregator() - Method in class com.opencsv.CSVReaderBaseBuilder
- getLocalizedFalse() - Method in class com.opencsv.bean.customconverter.ConverterLanguageToBoolean
-
This is the string for "false" in the localized language.
- getLocalizedFalse() - Method in class com.opencsv.bean.customconverter.ConvertFrenchToBoolean
- getLocalizedFalse() - Method in class com.opencsv.bean.customconverter.ConvertGermanToBoolean
- getLocalizedMessage() - Method in exception com.opencsv.exceptions.CsvBeanIntrospectionException
- getLocalizedTrue() - Method in class com.opencsv.bean.customconverter.ConverterLanguageToBoolean
-
This is the string for "true" in the localized language.
- getLocalizedTrue() - Method in class com.opencsv.bean.customconverter.ConvertFrenchToBoolean
- getLocalizedTrue() - Method in class com.opencsv.bean.customconverter.ConvertGermanToBoolean
- getMessage() - Method in exception com.opencsv.exceptions.CsvBeanIntrospectionException
-
Gets a human-readable error message.
- getMessageFromLocale(Locale) - Method in exception com.opencsv.exceptions.CsvBeanIntrospectionException
- getMultilineLimit() - Method in class com.opencsv.CSVReader
-
Only useful for tests.
- getMultilineLimit() - Method in class com.opencsv.CSVReaderBaseBuilder
-
Used by unit tests.
- getMultilineLimit() - Method in exception com.opencsv.exceptions.CsvMultilineLimitBrokenException
- getName() - Method in class com.opencsv.bean.FieldMapByNameEntry
- getNextLine() - Method in class com.opencsv.CSVReader
-
Reads the next line from the file.
- getOffendingType() - Method in exception com.opencsv.exceptions.CsvRecursionException
- getOrCreateCsvParser() - Method in class com.opencsv.CSVReaderBaseBuilder
-
Creates a new
ICSVParser
if the class doesn't already hold one. - getOrdinal() - Method in class com.opencsv.bean.util.OrderedObject
- getParser() - Method in class com.opencsv.CSVReader
- getPendingText() - Method in class com.opencsv.AbstractCSVParser
- getPendingText() - Method in interface com.opencsv.ICSVParser
-
If a parser is in the middle of parsing a multiline field, this will return the text collected so far.
- getPosition() - Method in class com.opencsv.bean.FieldMapByPositionEntry
- getQuotechar() - Method in class com.opencsv.AbstractCSVParser
- getQuotechar() - Method in interface com.opencsv.ICSVParser
- getQuoteChar() - Method in class com.opencsv.CSVParserBuilder
- getQuoteChar() - Method in class com.opencsv.RFC4180ParserBuilder
- getQuotecharAsString() - Method in class com.opencsv.AbstractCSVParser
- getReader() - Method in class com.opencsv.CSVReaderBaseBuilder
-
Used by unit tests.
- getRecordsRead() - Method in class com.opencsv.CSVReader
-
Used for debugging purposes, this method returns the number of records that has been read from the CSVReader.
- getRecursiveMembers() - Method in class com.opencsv.bean.AbstractMappingStrategy.RecursiveType
- getRow() - Method in exception com.opencsv.exceptions.CsvMultilineLimitBrokenException
- getRowValidatorAggregator() - Method in class com.opencsv.CSVReaderBaseBuilder
- getSeparator() - Method in class com.opencsv.AbstractCSVParser
- getSeparator() - Method in class com.opencsv.CSVParserBuilder
- getSeparator() - Method in interface com.opencsv.ICSVParser
- getSeparator() - Method in class com.opencsv.RFC4180ParserBuilder
- getSeparatorAsString() - Method in class com.opencsv.AbstractCSVParser
- getSkipLines() - Method in class com.opencsv.CSVReader
-
Returns the number of lines in the CSV file to skip before processing.
- getSkipLines() - Method in class com.opencsv.CSVReaderBaseBuilder
-
Used by unit tests.
- getSourceObject() - Method in exception com.opencsv.exceptions.CsvConstraintViolationException
-
Gets the object that would have caused a constraint violation.
- getSourceObject() - Method in exception com.opencsv.exceptions.CsvDataTypeMismatchException
-
Gets the object that was to be assigned to a field of the wrong type.
- getTerminalException() - Method in class com.opencsv.bean.concurrent.CompleteFileReader
- getTerminalException() - Method in class com.opencsv.bean.concurrent.IntolerantThreadPoolExecutor
-
If an unrecoverable exception was thrown during processing, it can be retrieved here.
- getType() - Method in class com.opencsv.bean.AbstractBeanField
- getType() - Method in class com.opencsv.bean.AbstractMappingStrategy
-
Get the class type that the strategy is mapping.
- getType() - Method in class com.opencsv.bean.AbstractMappingStrategy.RecursiveType
- getType() - Method in interface com.opencsv.bean.BeanField
-
Gets the type of the bean this field is attached to.
H
- handleClob(ResultSet, int) - Method in class com.opencsv.ResultSetHelperService
-
retrieves the data out of a CLOB
- handleDate(ResultSet, int, String) - Method in class com.opencsv.ResultSetHelperService
-
retrieves an date from a result set
- handleEmptySeparators(String[]) - Method in class com.opencsv.RFC4180Parser
- handleEscapeCharacter(String, CSVParser.StringFragmentCopier, boolean) - Method in class com.opencsv.CSVParser
- handleException(CsvException) - Method in interface com.opencsv.bean.exceptionhandler.CsvExceptionHandler
-
Determines how opencsv will handle exceptions that crop up during bean creation or writing.
- handleException(CsvException) - Method in class com.opencsv.bean.exceptionhandler.ExceptionHandlerIgnore
- handleException(CsvException) - Method in class com.opencsv.bean.exceptionhandler.ExceptionHandlerIgnoreThenThrowAfter
- handleException(CsvException) - Method in class com.opencsv.bean.exceptionhandler.ExceptionHandlerQueue
- handleException(CsvException) - Method in class com.opencsv.bean.exceptionhandler.ExceptionHandlerQueueThenThrowAfter
- handleException(CsvException) - Method in class com.opencsv.bean.exceptionhandler.ExceptionHandlerThrow
- handleException(CsvException, long, CsvExceptionHandler, BlockingQueue<OrderedObject<CsvException>>) - Static method in class com.opencsv.bean.util.OpencsvUtils
-
A function to consolidate code common to handling exceptions thrown during reading or writing of CSV files.
- handleNClob(ResultSet, int) - Method in class com.opencsv.ResultSetHelperService
-
retrieves the data out of a NCLOB
- handleNVarChar(ResultSet, int, boolean) - Method in class com.opencsv.ResultSetHelperService
-
retrieves the data from an NVarChar in a result set
- handleQuoteCharButNotStrictQuotes(String, CSVParser.StringFragmentCopier) - Method in class com.opencsv.CSVParser
- handleQuotes(String) - Method in class com.opencsv.RFC4180Parser
- handleTimestamp(Timestamp, String) - Method in class com.opencsv.ResultSetHelperService
-
The formatted timestamp.
- handleVarChar(ResultSet, int, boolean) - Method in class com.opencsv.ResultSetHelperService
-
retrieves the data from an VarChar in a result set
- hashCode() - Method in class com.opencsv.bean.FieldAccess
-
Creates a hash code for this object.
- hashCode() - Method in class com.opencsv.bean.FuzzyMappingStrategy.FuzzyComparison
- hasInvalidValue(String[]) - Method in class com.opencsv.ResultSetColumnNameHelperService
- hasNext - Variable in class com.opencsv.CSVReader
- hasNext() - Method in class com.opencsv.bean.CsvToBean.CsvToBeanIterator
- hasNext() - Method in class com.opencsv.bean.PositionToBeanField.PositionIterator
- hasNext() - Method in class com.opencsv.CSVIterator
-
Returns true if the iteration has more elements.
- hasOddQuotes(String) - Method in class com.opencsv.RFC4180Parser
- hasOnlyOneException() - Method in exception com.opencsv.exceptions.CsvChainedException
-
Convenience method that checks if the chain only has a single exception.
- hasOnlyOneQuote(String) - Method in class com.opencsv.RFC4180Parser
- haveNotFoundLastQuote(String, int) - Method in class com.opencsv.RFC4180Parser
- header - Variable in class com.opencsv.bean.FuzzyMappingStrategy.FuzzyComparison
- HeaderColumnNameMappingStrategy<T> - Class in com.opencsv.bean
-
Maps data to objects using the column names in the first row of the CSV file as reference.
- HeaderColumnNameMappingStrategy() - Constructor for class com.opencsv.bean.HeaderColumnNameMappingStrategy
-
Default constructor.
- HeaderColumnNameMappingStrategy(boolean) - Constructor for class com.opencsv.bean.HeaderColumnNameMappingStrategy
-
Constructor to allow setting options for header name mapping.
- HeaderColumnNameMappingStrategyBuilder<T> - Class in com.opencsv.bean
-
Builder for a
HeaderColumnNameMappingStrategy
. - HeaderColumnNameMappingStrategyBuilder() - Constructor for class com.opencsv.bean.HeaderColumnNameMappingStrategyBuilder
-
Default constructor.
- HeaderColumnNameTranslateMappingStrategy<T> - Class in com.opencsv.bean
-
Expands on
HeaderColumnNameMappingStrategy
by allowing the user to pass in a map of column names to bean names. - HeaderColumnNameTranslateMappingStrategy() - Constructor for class com.opencsv.bean.HeaderColumnNameTranslateMappingStrategy
-
Default constructor.
- HeaderColumnNameTranslateMappingStrategy(boolean) - Constructor for class com.opencsv.bean.HeaderColumnNameTranslateMappingStrategy
-
Constructor to allow setting options for header name mapping.
- HeaderColumnNameTranslateMappingStrategyBuilder<T> - Class in com.opencsv.bean
-
Builder for a
HeaderColumnNameMappingStrategy
. - HeaderColumnNameTranslateMappingStrategyBuilder() - Constructor for class com.opencsv.bean.HeaderColumnNameTranslateMappingStrategyBuilder
-
Default constructor.
- headerIndex - Variable in class com.opencsv.bean.AbstractMappingStrategy
-
Maintains a bi-directional mapping between column position(s) and header name.
- headerIndex - Variable in class com.opencsv.CSVReaderHeaderAware
- HeaderIndex - Class in com.opencsv.bean
-
A bi-directional mapping between column positions and header names.
- HeaderIndex() - Constructor for class com.opencsv.bean.HeaderIndex
-
Useless but explicit nullary constructor to make the style checker happy.
- HeaderNameBaseMappingStrategy<T> - Class in com.opencsv.bean
-
This class serves as a location to collect code common to a mapping strategy that maps header names to member variables.
- HeaderNameBaseMappingStrategy() - Constructor for class com.opencsv.bean.HeaderNameBaseMappingStrategy
-
Nullary constructor for compatibility.
- HeaderNameBaseMappingStrategy(boolean) - Constructor for class com.opencsv.bean.HeaderNameBaseMappingStrategy
-
Constructor to allow setting options for header name mapping.
- headerToPosition - Variable in class com.opencsv.bean.HeaderIndex
-
The uni-directional map from header name to (possibly multiple) column positions.
- headerWritten - Variable in class com.opencsv.bean.StatefulBeanToCsv
I
- i - Variable in class com.opencsv.CSVParser.StringFragmentCopier
- icsvParser - Variable in class com.opencsv.CSVReaderBaseBuilder
- ICSVParser - Interface in com.opencsv
-
This interface defines all of the behavior
CSVReader
needs from a parser to tokenize an input line for further processing. - ICSVWriter - Interface in com.opencsv
-
This interface defines all the behavior of a csv writer class.
- ignoredFields - Variable in class com.opencsv.bean.AbstractMappingStrategy
-
Storage for all manually excluded class/field pairs.
- ignoredFields - Variable in class com.opencsv.bean.CsvToBeanBuilder
- ignoredFields - Variable in class com.opencsv.bean.StatefulBeanToCsv
- ignoredFields - Variable in class com.opencsv.bean.StatefulBeanToCsvBuilder
- ignoreEmptyLines - Variable in class com.opencsv.bean.concurrent.SingleLineReader
- ignoreEmptyLines - Variable in class com.opencsv.bean.CsvToBean
-
When an empty line is encountered (not part of the data) then it is ignored.
- ignoreEmptyLines - Variable in class com.opencsv.bean.CsvToBeanBuilder
- 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.
- ignoreLeadingWhiteSpace - Variable in class com.opencsv.bean.CsvToBeanBuilder
- ignoreLeadingWhiteSpace - Variable in class com.opencsv.CSVParser
-
Ignore any leading white space at the start of the field.
- ignoreLeadingWhiteSpace - Variable in class com.opencsv.CSVParserBuilder
- ignoreQuotations - Variable in class com.opencsv.bean.CsvToBeanBuilder
- ignoreQuotations - Variable in class com.opencsv.CSVParser
-
Skip over quotation characters when parsing.
- ignoreQuotations - Variable in class com.opencsv.CSVParserBuilder
- 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.
- indexSubordinateBeans(AbstractMappingStrategy.RecursiveType, Map<Class<?>, Object>, Object) - Static method in class com.opencsv.bean.AbstractMappingStrategy
- inField - Variable in class com.opencsv.CSVParser
- 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
- initializeHeader() - Method in class com.opencsv.CSVReaderHeaderAware
- initializeHeaderIndex(String[]) - Method in class com.opencsv.bean.HeaderIndex
-
Initializes the index with a list of header names in proper encounter order.
- initializer - Variable in class com.opencsv.bean.PositionToBeanField
-
This is the string used to initialize this set of ranges.
- input - Variable in class com.opencsv.CSVParser.StringFragmentCopier
- inQuotes(boolean) - Method in class com.opencsv.CSVParser
-
Determines if we can process as if we were in quotes.
- instantiateCustomConverter(Class<? extends AbstractBeanField<T, K>>) - Method in class com.opencsv.bean.AbstractMappingStrategy
-
Attempts to instantiate the class of the custom converter specified.
- integerFormat - Variable in class com.opencsv.ResultSetHelperService
- IntolerantThreadPoolExecutor<T> - Class in com.opencsv.bean.concurrent
-
This ThreadPoolExecutor automatically shuts down on any failed thread.
- IntolerantThreadPoolExecutor(boolean, Locale) - Constructor for class com.opencsv.bean.concurrent.IntolerantThreadPoolExecutor
-
Constructor for a thread pool executor that stops by itself as soon as any thread throws an exception.
- 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.
- isCharacterEscapable(char) - Method in class com.opencsv.CSVParser
-
Checks to see if the character passed in could be escapable.
- isCharacterEscapeCharacter(char) - Method in class com.opencsv.CSVParser
-
Checks to see if the character is the defined escape character.
- isCharacterQuoteCharacter(char) - Method in class com.opencsv.CSVParser
-
Checks to see if the passed in character is the defined quotation character.
- isCharacterSeparator(char) - Method in class com.opencsv.CSVParser
-
Checks to see if the character is the defined separator.
- isClosed() - Method in class com.opencsv.CSVReader
-
Checks to see if the file is closed.
- isConversionComplete() - Method in class com.opencsv.bean.concurrent.IntolerantThreadPoolExecutor
- isCurrentLineEmpty() - Method in class com.opencsv.bean.concurrent.SingleLineReader
- isEmpty() - Method in class com.opencsv.bean.HeaderIndex
- isEmptyInput() - Method in class com.opencsv.CSVParser.StringFragmentCopier
- isEmptyOutput() - Method in class com.opencsv.CSVParser.StringFragmentCopier
- 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
. - isForbiddenClassForRecursion(Class<?>) - Method in class com.opencsv.bean.AbstractMappingStrategy
- isIgnoreLeadingWhiteSpace() - Method in class com.opencsv.CSVParser
- isIgnoreLeadingWhiteSpace() - Method in class com.opencsv.CSVParserBuilder
- isIgnoreQuotations() - Method in class com.opencsv.CSVParser
- isIgnoreQuotations() - Method in class com.opencsv.CSVParserBuilder
- isMustStop() - Method in class com.opencsv.bean.concurrent.AccumulateCsvResults
-
Checks whether the accumulator should shut itself down.
- isNextCharacterEscapable(String, boolean, int) - Method in class com.opencsv.CSVParser
-
Checks to see if the character after the current index in a String is an escapable character.
- isNextCharacterEscapedQuote(String, boolean, int) - Method in class com.opencsv.CSVParser
-
Checks to see if the character after the index is a quotation 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.
- isSameCharacter(char, char) - Method in class com.opencsv.CSVParser
-
Checks that the two characters are the same and are not the defined NULL_CHARACTER.
- isStrictQuotes() - Method in class com.opencsv.CSVParser
- isStrictQuotes() - Method in class com.opencsv.CSVParserBuilder
- isSurroundWithQuotes(String, boolean) - Method in class com.opencsv.AbstractCSVParser
-
Used by reverse parsing to determine if a value should be surrounded by quote characters.
- isThrowExceptions() - Method in class com.opencsv.bean.StatefulBeanToCsv
-
Deprecated.There is simply no need for this method.
- isValid(String) - Method in class com.opencsv.bean.validators.MustMatchRegexExpression
- isValid(String) - Method in interface com.opencsv.bean.validators.StringValidator
-
Performs the validation check on the string and returns the result.
- isValid(String) - Method in interface com.opencsv.validators.LineValidator
-
Performs the validation check on the string and returns the result.
- isValid(String) - Method in class com.opencsv.validators.LineValidatorAggregator
-
Runs all LineValidators'
LineValidator.isValid(String)
method against the line. - isValid(String[]) - Method in class com.opencsv.validators.RowFunctionValidator
- isValid(String[]) - Method in class com.opencsv.validators.RowMustHaveSameNumberOfColumnsAsFirstRowValidator
- isValid(String[]) - Method in interface com.opencsv.validators.RowValidator
-
Performs the validation check on the string and returns the result.
- isValid(String[]) - Method in class com.opencsv.validators.RowValidatorAggregator
-
Runs all
RowValidator
s'RowValidator.isValid(String[])
method against the line. - isVerifyReader() - Method in class com.opencsv.CSVReaderBaseBuilder
- iterator() - Method in class com.opencsv.bean.CsvToBean
-
The iterator returned by this method takes one line of input at a time and returns one bean at a time.
- iterator() - Method in class com.opencsv.bean.FieldMapByPosition
- iterator() - Method in class com.opencsv.bean.PositionToBeanField
- iterator() - Method in class com.opencsv.CSVReader
-
Creates an Iterator for processing the CSV data.
K
- keepCarriageReturn() - Method in class com.opencsv.CSVReaderBaseBuilder
-
Returns if the reader built will keep or discard carriage returns.
- keepCarriageReturns - Variable in class com.opencsv.stream.reader.LineReader
- 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.bean.CsvToBeanBuilder
- keepCR - Variable in class com.opencsv.CSVReader
- keepCR - Variable in class com.opencsv.CSVReaderBaseBuilder
L
- lastElementStartedWithQuoteButDidNotEndInOne(List<String>) - Method in class com.opencsv.RFC4180Parser
- line - Variable in class com.opencsv.bean.concurrent.ProcessCsvLine
- line - Variable in class com.opencsv.bean.concurrent.SingleLineReader
-
Stores the result of parsing a line of input.
- line - Variable in class com.opencsv.bean.CsvToBean.CsvToBeanIterator
- line - Variable in exception com.opencsv.exceptions.CsvException
- lineEnd - Variable in class com.opencsv.AbstractCSVWriter
- lineEnd - Variable in class com.opencsv.bean.StatefulBeanToCsv
- lineEnd - Variable in class com.opencsv.bean.StatefulBeanToCsvBuilder
- lineEnd - Variable in class com.opencsv.CSVWriterBuilder
- LineExecutor<T> - Class in com.opencsv.bean.concurrent
-
A specific derivative of
IntolerantThreadPoolExecutor
intended for submitting lines of input to be converted to beans. - LineExecutor(boolean, Locale, CompleteFileReader<T>) - Constructor for class com.opencsv.bean.concurrent.LineExecutor
-
The only constructor available for this class.
- lineNumber - Variable in class com.opencsv.bean.concurrent.ProcessCsvBean
- lineNumber - Variable in class com.opencsv.bean.concurrent.ProcessCsvLine
- lineNumber - Variable in class com.opencsv.bean.StatefulBeanToCsv
-
The beans being written are counted in the order they are written.
- lineNumber - Variable in exception com.opencsv.exceptions.CsvException
- lineNumber - Variable in exception com.opencsv.exceptions.CsvMalformedLineException
- lineProcessed - Variable in class com.opencsv.bean.concurrent.CompleteFileReader
-
Counts how many records have been read from the input.
- lineProcessed - Variable in class com.opencsv.bean.CsvToBean.CsvToBeanIterator
- lineReader - Variable in class com.opencsv.bean.CsvToBean.CsvToBeanIterator
- 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 - Variable in class com.opencsv.CSVReader
- lineValidatorAggregator - Variable in class com.opencsv.CSVReaderBaseBuilder
- LineValidatorAggregator - Class in com.opencsv.validators
-
The aggregator's purpose is to collect multiple
LineValidator
s 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 binding 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
- mapper - Variable in class com.opencsv.bean.concurrent.ProcessCsvLine
- mappingStrategy - Variable in class com.opencsv.bean.concurrent.CompleteFileReader
-
The mapping strategy in use.
- mappingStrategy - Variable in class com.opencsv.bean.concurrent.ProcessCsvBean
- mappingStrategy - Variable in class com.opencsv.bean.CsvToBean
-
The mapping strategy to be used by this CsvToBean.
- mappingStrategy - Variable in class com.opencsv.bean.CsvToBeanBuilder
- mappingStrategy - Variable in class com.opencsv.bean.StatefulBeanToCsv
- mappingStrategy - Variable in class com.opencsv.bean.StatefulBeanToCsvBuilder
- 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 - Variable in class com.opencsv.bean.BeanFieldJoin
-
The type of the
MultiValuedMap
that should be instantiated for the bean field being populated. - 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.
- materializeBuilder() - Method in class com.opencsv.CSVParser.StringFragmentCopier
- 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.
- MAX_WIDTH - Static variable in class com.opencsv.CSVReader
- maxExceptions - Variable in class com.opencsv.bean.exceptionhandler.ExceptionHandlerIgnoreThenThrowAfter
- maxExceptions - Variable in class com.opencsv.bean.exceptionhandler.ExceptionHandlerQueueThenThrowAfter
- maxIndex - Variable in class com.opencsv.bean.FieldMapByPosition
- multilineLimit - Variable in class com.opencsv.bean.CsvToBeanBuilder
- multilineLimit - Variable in class com.opencsv.CSVReader
- multilineLimit - Variable in class com.opencsv.CSVReaderBaseBuilder
- multilineLimit - Variable in exception com.opencsv.exceptions.CsvMultilineLimitBrokenException
- MULTIPLIER - Static variable in class com.opencsv.validators.LineValidatorAggregator
- MULTIPLIER - Static variable in class com.opencsv.validators.RowValidatorAggregator
- 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.
- mustStop - Variable in class com.opencsv.bean.concurrent.AccumulateCsvResults
N
- name - Variable in class com.opencsv.bean.FieldMapByNameEntry
-
The name of the header or a regular expression pattern matching possible names for the header.
- 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.bean.CsvToBean.CsvToBeanIterator
- next() - Method in class com.opencsv.bean.PositionToBeanField.PositionIterator
- next() - Method in class com.opencsv.CSVIterator
-
Returns the next element in the iterator.
- nextLine - Variable in class com.opencsv.CSVIterator
- NO_CHARACTER - Static variable in class com.opencsv.bean.StatefulBeanToCsv
- 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.
- NO_ROWS - Static variable in class com.opencsv.validators.RowMustHaveSameNumberOfColumnsAsFirstRowValidator
- 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 - Variable in class com.opencsv.bean.CsvToBeanBuilder
- nullFieldIndicator - Variable in class com.opencsv.CSVParserBuilder
- nullFieldIndicator - Variable in class com.opencsv.CSVReaderBaseBuilder
- nullFieldIndicator - Variable in class com.opencsv.RFC4180ParserBuilder
- 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.RFC4180ParserBuilder
- numRows - Variable in class com.opencsv.validators.RowMustHaveSameNumberOfColumnsAsFirstRowValidator
O
- offendingType - Variable in exception com.opencsv.exceptions.CsvRecursionException
- OpencsvUtils - Class in com.opencsv.bean.util
-
This class is meant to be a collection of general purpose static methods useful in internal processing for opencsv.
- OpencsvUtils() - Constructor for class com.opencsv.bean.util.OpencsvUtils
-
This class can't be instantiated.
- OrderedObject<E> - Class in com.opencsv.bean.util
-
A simple class for ordering objects.
- OrderedObject(long, E) - Constructor for class com.opencsv.bean.util.OrderedObject
-
Creates an object with an order.
- orderedResults - Variable in class com.opencsv.bean.concurrent.IntolerantThreadPoolExecutor
-
Determines whether resulting data sets have to be in the same order as the input.
- orderedResults - Variable in class com.opencsv.bean.CsvToBean
-
Determines whether resulting data sets have to be in the same order as the input.
- orderedResults - Variable in class com.opencsv.bean.CsvToBeanBuilder
- orderedResults - Variable in class com.opencsv.bean.StatefulBeanToCsv
- orderedResults - Variable in class com.opencsv.bean.StatefulBeanToCsvBuilder
- ordinal - Variable in class com.opencsv.bean.util.OrderedObject
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
- parser - Variable in class com.opencsv.CSVWriterBuilder
- parserBuilder - Variable in class com.opencsv.CSVReaderBaseBuilder
- 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.
- parseToLine(String[], boolean, Appendable) - Method in class com.opencsv.AbstractCSVParser
- parseToLine(String[], boolean, Appendable) - Method in interface com.opencsv.ICSVParser
-
Essentially a "Reverse parse" where an array of values are concatenating to a csv delimited string.
- partitionFields() - Method in class com.opencsv.bean.AbstractMappingStrategy
-
Partitions all non-synthetic fields of the bean type being processed into annotated and non-annotated fields according to
AbstractMappingStrategy.getBindingAnnotations()
. - PASSTHROUGH_EXCEPTIONS - Static variable in class com.opencsv.CSVReader
- peek() - Method in class com.opencsv.CSVReader
-
Returns the next line from the input without removing it from the CSVReader and not running any validators.
- peekedLine - Variable in class com.opencsv.CSVReader
- peekedLines - Variable in class com.opencsv.CSVReader
- peekOutput() - Method in class com.opencsv.CSVParser.StringFragmentCopier
- pending - Variable in class com.opencsv.AbstractCSVParser
-
Value to be appended to string to process.
- pendingSubstrFrom - Variable in class com.opencsv.CSVParser.StringFragmentCopier
- pendingSubstrTo - Variable in class com.opencsv.CSVParser.StringFragmentCopier
- populateColumnData(ResultSet) - Method in class com.opencsv.ResultSetColumnNameHelperService
- 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 - Variable in class com.opencsv.bean.FieldMapByPositionEntry
-
The position of the related field in the CSV input.
- position - Variable in class com.opencsv.bean.PositionToBeanField.PositionIterator
- 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.
- PositionIterator() - Constructor for class com.opencsv.bean.PositionToBeanField.PositionIterator
- 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
. - PositionToBeanField.PositionIterator - Class in com.opencsv.bean
-
This iterator is designed to iterate over every element of all of the ranges specified in the containing class.
- positionToHeader - Variable in class com.opencsv.bean.HeaderIndex
-
The uni-directional map from column position to header name.
- PreAssignmentProcessor - Annotation Type in com.opencsv.bean.processor
-
Specifies the binding of a processor to a field in a bean.
- PreAssignmentValidator - Annotation Type in com.opencsv.bean.validators
-
Specifies the binding of a validator to a field in a bean.
- prepare() - Method in class com.opencsv.bean.concurrent.IntolerantThreadPoolExecutor
-
Prepares this Executor to receive jobs.
- prepare() - Method in class com.opencsv.bean.concurrent.LineExecutor
- prepareToReadInput() - Method in class com.opencsv.bean.CsvToBean
- preProcessValue(PreAssignmentProcessor, String) - Method in class com.opencsv.bean.AbstractBeanField
- primeNextRecord() - Method in class com.opencsv.CSVReader
-
Reads the next line from the buffer and converts to a string array.
- processCharacter(Appendable, char) - Method in class com.opencsv.CSVWriter
-
Appends the character to the StringBuilder adding the escape character if needed.
- processColumnItem(String) - Method in interface com.opencsv.processor.RowProcessor
-
Method that contains the code that will transform a single column/element.
- ProcessCsvBean<T> - Class in com.opencsv.bean.concurrent
-
A class for converting one bean into its string representation for writing to an output.
- ProcessCsvBean(long, MappingStrategy<T>, T, BlockingQueue<OrderedObject<String[]>>, BlockingQueue<OrderedObject<CsvException>>, SortedSet<Long>, CsvExceptionHandler) - Constructor for class com.opencsv.bean.concurrent.ProcessCsvBean
-
The only constructor for creating a line of CSV output out of a bean.
- ProcessCsvLine<T> - Class in com.opencsv.bean.concurrent
-
A class that encapsulates the job of creating a bean from a line of CSV input and making it possible to run those jobs in parallel.
- ProcessCsvLine(long, MappingStrategy<? extends T>, CsvToBeanFilter, List<BeanVerifier<T>>, String[], BlockingQueue<OrderedObject<T>>, BlockingQueue<OrderedObject<CsvException>>, SortedSet<Long>, CsvExceptionHandler) - Constructor for class com.opencsv.bean.concurrent.ProcessCsvLine
-
The only constructor for creating a bean out of a line of input.
- processException() - Method in class com.opencsv.bean.CsvToBean.CsvToBeanIterator
- processLine() - Method in class com.opencsv.bean.concurrent.ProcessCsvLine
-
Creates a single object from a line from the CSV file.
- processLine(String, Appendable) - Method in class com.opencsv.CSVWriter
-
Processes all the characters in a line.
- 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 class com.opencsv.bean.processor.ConvertEmptyOrBlankStringsToDefault
- processString(String) - Method in class com.opencsv.bean.processor.ConvertEmptyOrBlankStringsToNull
- processString(String) - Method in class com.opencsv.bean.processor.ConvertWordNullToNull
- processString(String) - Method in interface com.opencsv.bean.processor.StringProcessor
-
Method that contains the code that will transform a string into the value that will be validated and converted into the bean field.
- profile - Variable in class com.opencsv.bean.AbstractMappingStrategy
-
The profile for configuring bean fields.
- profile - Variable in class com.opencsv.bean.CsvToBeanBuilder
- profile - Variable in class com.opencsv.bean.StatefulBeanToCsv
- profile - Variable in class com.opencsv.bean.StatefulBeanToCsvBuilder
- profiles() - Method in annotation type com.opencsv.bean.CsvBindAndJoinByName
-
A profile can be used to annotate the same field differently for different inputs or outputs.
- profiles() - Method in annotation type com.opencsv.bean.CsvBindAndJoinByPosition
-
A profile can be used to annotate the same field differently for different inputs or outputs.
- profiles() - Method in annotation type com.opencsv.bean.CsvBindAndSplitByName
-
A profile can be used to annotate the same field differently for different inputs or outputs.
- profiles() - Method in annotation type com.opencsv.bean.CsvBindAndSplitByPosition
-
A profile can be used to annotate the same field differently for different inputs or outputs.
- profiles() - Method in annotation type com.opencsv.bean.CsvBindByName
-
A profile can be used to annotate the same field differently for different inputs or outputs.
- profiles() - Method in annotation type com.opencsv.bean.CsvBindByPosition
-
A profile can be used to annotate the same field differently for different inputs or outputs.
- profiles() - Method in annotation type com.opencsv.bean.CsvCustomBindByName
-
A profile can be used to annotate the same field differently for different inputs or outputs.
- profiles() - Method in annotation type com.opencsv.bean.CsvCustomBindByPosition
-
A profile can be used to annotate the same field differently for different inputs or outputs.
- profiles() - Method in annotation type com.opencsv.bean.CsvDate
-
A profile can be used to annotate the same field differently for different inputs or outputs.
- profiles() - Method in annotation type com.opencsv.bean.CsvIgnore
-
The names of the profiles for which this field should be ignored.
- profiles() - Method in annotation type com.opencsv.bean.CsvNumber
-
A profile can be used to annotate the same field differently for different inputs or outputs.
- 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.util.OpencsvUtils
-
I find it annoying that when I want to queue something in a blocking queue, the thread might be interrupted and I have to try again; this method fixes that.
- quotechar - Variable in class com.opencsv.AbstractCSVParser
-
This is the character that the CSVParser will treat as the quotation character.
- quotechar - Variable in class com.opencsv.bean.StatefulBeanToCsv
- quotechar - Variable in class com.opencsv.bean.StatefulBeanToCsvBuilder
- quotechar - Variable in class com.opencsv.CSVWriter
- quotechar - Variable in class com.opencsv.CSVWriterBuilder
- quoteChar - Variable in class com.opencsv.bean.CsvToBeanBuilder
- quoteChar - Variable in class com.opencsv.CSVParserBuilder
- quoteChar - Variable in class com.opencsv.RFC4180ParserBuilder
- quotecharAsString - Variable in class com.opencsv.AbstractCSVParser
-
This is the quotechar in String form to reduce the number of calls to toString.
- quoteDoubledAsString - Variable in class com.opencsv.AbstractCSVParser
-
This is quotecharAsString+quotecharAsString - used in replaceAll to reduce the number of strings being created.
- quoteMatcherPattern - Variable in class com.opencsv.AbstractCSVParser
-
pattern created to match quotechars - optimizaion of the String.replaceAll.
R
- rangeIterator - Variable in class com.opencsv.bean.PositionToBeanField.PositionIterator
- ranges - Variable in class com.opencsv.bean.PositionToBeanField
-
A list of ranges of column indices that should be mapped to the associated bean.
- 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.
- readConversionFunction - Variable in class com.opencsv.bean.ConverterNumber
- 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.
- readDtf - Variable in class com.opencsv.bean.ConverterDate
-
The formatter for all inputs to
TemporalAccessor
representations. - reader - Variable in class com.opencsv.bean.CsvToBeanBuilder
-
A CSVReader will be built out of this
Reader
. - reader - Variable in class com.opencsv.CSVIterator
- reader - Variable in class com.opencsv.CSVReaderBaseBuilder
- reader - Variable in class com.opencsv.stream.reader.LineReader
- readFormatter - Variable in class com.opencsv.bean.ConverterNumber
- readLine() - Method in class com.opencsv.stream.reader.LineReader
-
Reads the next line from the Reader.
- readLineWithPossibleError() - Method in class com.opencsv.bean.CsvToBean.CsvToBeanIterator
- readLocaleConverter - Variable in class com.opencsv.bean.ConverterPrimitiveTypes
-
The formatter for all inputs to wrapped and unwrapped primitive types when a specific locale is required.
- readMap() - Method in class com.opencsv.CSVReaderHeaderAware
-
Reads the next line and returns a map of header values and data values.
- readNext() - Method in class com.opencsv.CSVReader
-
Reads the next line from the buffer and converts to a string array.
- readNext(String...) - Method in class com.opencsv.CSVReaderHeaderAware
-
Retrieves a specific data element from a line based on the value of the header.
- readNextLine() - Method in class com.opencsv.bean.concurrent.SingleLineReader
-
Reads from the
CSVReader
provided on instantiation until a usable line of input is found. - readNextSilently() - Method in class com.opencsv.CSVReader
-
Reads the next line from the buffer and converts to a string array without running the custom defined validators.
- readSdf - Variable in class com.opencsv.bean.ConverterDate
-
The formatter for all inputs to old-style date representations.
- readSingleLine() - Method in class com.opencsv.bean.CsvToBean.CsvToBeanIterator
- readTemporalConversionFunction - Variable in class com.opencsv.bean.ConverterDate
-
A reference to the function to use when converting from strings to
TemporalAccessor
-based values. - readUntilNewline() - Method in class com.opencsv.stream.reader.LineReader
- recordsRead - Variable in class com.opencsv.CSVReader
- recursiveMembers - Variable in class com.opencsv.bean.AbstractMappingStrategy.RecursiveType
- RecursiveType(Class<?>) - Constructor for class com.opencsv.bean.AbstractMappingStrategy.RecursiveType
-
Constructs a
AbstractMappingStrategy.RecursiveType
with the specified type. - recursiveTypeTree - Variable in class com.opencsv.bean.AbstractMappingStrategy
-
A tree of the types encountered during recursion through the root bean type.
- regex - Variable in class com.opencsv.bean.RegexToBeanField
-
The compiled regular expression used to match header names.
- regex - Variable in class com.opencsv.bean.validators.MustMatchRegexExpression
- regexPattern - Variable in class com.opencsv.bean.FieldMapByNameEntry
-
Whether
FieldMapByNameEntry.name
is a header name or a regular expression pattern that is meant to match header names. - 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. - registerBinding(CsvBindByName, Class<?>, Field) - Method in class com.opencsv.bean.HeaderColumnNameMappingStrategy
-
Register a binding between a bean field and a simple converter.
- registerBinding(CsvBindByPosition, Class<?>, Field) - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
-
Register a binding between a bean field and a simple converter.
- registerCustomBinding(CsvCustomBindByName, Class<?>, Field) - Method in class com.opencsv.bean.HeaderColumnNameMappingStrategy
-
Register a binding between a bean field and a custom converter.
- registerCustomBinding(CsvCustomBindByPosition, Class<?>, Field) - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
-
Register a binding between a bean field and a custom converter.
- registerJoinBinding(CsvBindAndJoinByName, Class<?>, Field) - Method in class com.opencsv.bean.HeaderColumnNameMappingStrategy
-
Register a binding between a bean field and a multi-valued converter that joins values from multiple columns.
- registerJoinBinding(CsvBindAndJoinByPosition, Class<?>, Field) - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
-
Register a binding between a bean field and a multi-valued converter that joins values from multiple columns.
- registerSplitBinding(CsvBindAndSplitByName, Class<?>, Field) - Method in class com.opencsv.bean.HeaderColumnNameMappingStrategy
-
Register a binding between a bean field and a collection converter that splits input into multiple values.
- registerSplitBinding(CsvBindAndSplitByPosition, Class<?>, Field) - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
-
Register a binding between a bean field and a collection converter that splits input into multiple values.
- remove() - Method in class com.opencsv.bean.CsvToBean.CsvToBeanIterator
- remove() - Method in class com.opencsv.bean.PositionToBeanField.PositionIterator
- 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()
. - resultantBeanMap - Variable in class com.opencsv.bean.concurrent.AccumulateCsvResults
- resultantBeanQueue - Variable in class com.opencsv.bean.concurrent.ProcessCsvLine
- resultantBeansMap - Variable in class com.opencsv.bean.concurrent.IntolerantThreadPoolExecutor
-
A sorted, concurrent map for the beans created.
- resultantBeansQueue - Variable in class com.opencsv.bean.concurrent.AccumulateCsvResults
- resultantBeansQueue - Variable in class com.opencsv.bean.CsvToBean.CsvToBeanIterator
- resultantLineQueue - Variable in class com.opencsv.bean.concurrent.ProcessCsvBean
- resultQueue - Variable in class com.opencsv.bean.concurrent.IntolerantThreadPoolExecutor
-
A queue of the beans created.
- 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 - Variable in class com.opencsv.CSVWriterBuilder
- 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.
- RFC4180Parser(char, char, CSVReaderNullFieldIndicator) - Constructor for class com.opencsv.RFC4180Parser
-
Constructor used by the CSVParserBuilder.
- RFC4180ParserBuilder - Class in com.opencsv
-
Builder for creating a RFC4180Parser.
- RFC4180ParserBuilder() - Constructor for class com.opencsv.RFC4180ParserBuilder
-
Default constructor.
- row - Variable in exception com.opencsv.exceptions.CsvMultilineLimitBrokenException
- RowFunctionValidator - Class in com.opencsv.validators
-
This validator is best used to validate a specific property of the row - either about a specific element or information about the array itself.
- RowFunctionValidator(Function<String[], Boolean>, String) - Constructor for class com.opencsv.validators.RowFunctionValidator
-
Default Constructor.
- RowMustHaveSameNumberOfColumnsAsFirstRowValidator - Class in com.opencsv.validators
-
This validator is used when the number of columns is not neccessarily known but must be consistent.
- RowMustHaveSameNumberOfColumnsAsFirstRowValidator() - Constructor for class com.opencsv.validators.RowMustHaveSameNumberOfColumnsAsFirstRowValidator
-
Default constructor.
- rowProcessor - Variable in class com.opencsv.CSVReader
- rowProcessor - Variable in class com.opencsv.CSVReaderBaseBuilder
- 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 - Variable in class com.opencsv.CSVReader
- rowValidatorAggregator - Variable in class com.opencsv.CSVReaderBaseBuilder
- RowValidatorAggregator - Class in com.opencsv.validators
-
The aggregator's purpose is to collect multiple
RowValidator
s 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.AccumulateCsvResults
- run() - Method in class com.opencsv.bean.concurrent.CompleteFileReader
-
Runs a nice, tight loop to simply read input and submit for conversion.
- run() - Method in class com.opencsv.bean.concurrent.ProcessCsvBean
- run() - Method in class com.opencsv.bean.concurrent.ProcessCsvLine
S
- sb - Variable in class com.opencsv.CSVParser.StringFragmentCopier
- selectAnnotationForProfile(A[], Function<A, String[]>) - Method in class com.opencsv.bean.AbstractMappingStrategy
-
Determines which one of a list of annotations applies to the currently selected profile.
- separator - Variable in class com.opencsv.AbstractCSVParser
-
This is the character that the CSVParser will treat as the separator.
- separator - Variable in class com.opencsv.bean.CsvToBeanBuilder
- separator - Variable in class com.opencsv.bean.StatefulBeanToCsv
- separator - Variable in class com.opencsv.bean.StatefulBeanToCsvBuilder
- separator - Variable in class com.opencsv.CSVParserBuilder
- separator - Variable in class com.opencsv.CSVWriter
- separator - Variable in class com.opencsv.CSVWriterBuilder
- separator - Variable in class com.opencsv.RFC4180ParserBuilder
- separatorAsString - Variable in class com.opencsv.AbstractCSVParser
-
This is the separator in Stirng form to reduce the number of calls to toString.
- serialVersionUID - Static variable in class com.opencsv.bean.comparator.LiteralComparator
-
Deprecated.
- serialVersionUID - Static variable in exception com.opencsv.exceptions.CsvBadConverterException
- serialVersionUID - Static variable in exception com.opencsv.exceptions.CsvBeanIntrospectionException
- serialVersionUID - Static variable in exception com.opencsv.exceptions.CsvConstraintViolationException
- serialVersionUID - Static variable in exception com.opencsv.exceptions.CsvDataTypeMismatchException
- serialVersionUID - Static variable in exception com.opencsv.exceptions.CsvException
- serialVersionUID - Static variable in exception com.opencsv.exceptions.CsvMalformedLineException
- serialVersionUID - Static variable in exception com.opencsv.exceptions.CsvMultilineLimitBrokenException
- serialVersionUID - Static variable in exception com.opencsv.exceptions.CsvRecursionException
- serialVersionUID - Static variable in exception com.opencsv.exceptions.CsvRequiredFieldEmptyException
- serialVersionUID - Static variable in exception com.opencsv.exceptions.CsvRuntimeException
- serialVersionUID - Static variable in exception com.opencsv.exceptions.CsvValidationException
- 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.
- setDateFormat(String, Locale) - Method in class com.opencsv.bean.ConverterDate
- setDateTimeFormat(String) - Method in class com.opencsv.ResultSetHelperService
-
Set a default date time format pattern that will be used by the service.
- setDateTimeFormatter(String, Locale) - Method in class com.opencsv.bean.ConverterDate
- setErrorLocale(Locale) - Method in class com.opencsv.bean.AbstractBeanField
- setErrorLocale(Locale) - Method in class com.opencsv.bean.AbstractCsvConverter
- setErrorLocale(Locale) - Method in class com.opencsv.bean.AbstractFieldMap
- setErrorLocale(Locale) - Method in class com.opencsv.bean.AbstractFieldMapEntry
- setErrorLocale(Locale) - Method in class com.opencsv.bean.AbstractMappingStrategy
- setErrorLocale(Locale) - Method in interface com.opencsv.bean.BeanField
-
Sets the locale for all error messages.
- setErrorLocale(Locale) - Method in interface com.opencsv.bean.ComplexFieldMapEntry
-
Sets the locale to be used for error messages.
- setErrorLocale(Locale) - Method in interface com.opencsv.bean.CsvConverter
-
Sets the locale for all error messages.
- setErrorLocale(Locale) - Method in class com.opencsv.bean.CsvToBean
-
Sets the locale for error messages.
- setErrorLocale(Locale) - Method in interface com.opencsv.bean.FieldMap
-
Sets the locale to be used for error messages.
- setErrorLocale(Locale) - Method in interface com.opencsv.bean.MappingStrategy
-
Sets the locale for all error messages.
- setErrorLocale(Locale) - Method in class com.opencsv.bean.StatefulBeanToCsv
-
Sets the locale for all error messages.
- setErrorLocale(Locale) - Method in class com.opencsv.CSVIterator
-
Sets the locale for error messages.
- setErrorLocale(Locale) - Method in class com.opencsv.CSVParser
- setErrorLocale(Locale) - Method in class com.opencsv.CSVReader
-
Sets the locale for all error messages.
- setErrorLocale(Locale) - Method in interface com.opencsv.ICSVParser
-
Sets the locale for all error messages.
- setErrorLocale(Locale) - Method in class com.opencsv.ResultSetColumnNameHelperService
-
Sets the locale for error messages.
- setErrorLocale(Locale) - Method in class com.opencsv.RFC4180Parser
- setExceptionHandler(CsvExceptionHandler) - Method in class com.opencsv.bean.CsvToBean
-
Sets the handler for recoverable exceptions raised during processing of records.
- setExecutor(LineExecutor<T>) - Method in class com.opencsv.bean.concurrent.CompleteFileReader
-
Sets the executor that will convert text input to bean output.
- setField(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.
- setFloatingPointFormat(NumberFormat) - Method in class com.opencsv.ResultSetHelperService
-
Set a default number formatter for integer numbers that will be used by the service.
- setIgnoreEmptyLines(boolean) - Method in class com.opencsv.bean.CsvToBean
-
Ignores any blank lines in the data that are not part of a field.
- setIntegerFormat(NumberFormat) - Method in class com.opencsv.ResultSetHelperService
-
Set a default number formatter for floating point numbers that will be used by the service.
- setLine(String[]) - Method in exception com.opencsv.exceptions.CsvChainedException
-
Sets the line for all exceptions collected.
- setLine(String[]) - Method in exception com.opencsv.exceptions.CsvException
- setLineNumber(long) - Method in exception com.opencsv.exceptions.CsvChainedException
-
Sets the line number for all exceptions collected.
- setLineNumber(long) - Method in exception com.opencsv.exceptions.CsvException
- setLocale(String) - Method in class com.opencsv.bean.AbstractCsvConverter
- setLocale(String) - Method in interface com.opencsv.bean.CsvConverter
-
If not null or empty, specifies the locale used for converting locale-specific data types for reading.
- setMappingStrategy(MappingStrategy<? extends T>) - Method in class com.opencsv.bean.CsvToBean
-
Sets the mapping strategy to be used by this bean.
- setMaxIndex(int) - Method in class com.opencsv.bean.FieldMapByPosition
-
Sets the maximum index for all ranges specified in the entire field map.
- setMustStop(boolean) - Method in class com.opencsv.bean.concurrent.AccumulateCsvResults
-
Tells the accumulator whether it should stop.
- setOrderedResults(boolean) - Method in class com.opencsv.bean.CsvToBean
-
Sets whether or not results must be returned in the same order in which they appear in the input.
- setOrderedResults(boolean) - Method in class com.opencsv.bean.StatefulBeanToCsv
-
Sets whether or not results must be written in the same order in which they appear in the list of beans provided as input.
- setParameterString(String) - Method in class com.opencsv.bean.processor.ConvertEmptyOrBlankStringsToDefault
- setParameterString(String) - Method in class com.opencsv.bean.processor.ConvertEmptyOrBlankStringsToNull
-
This method is unused in this implementation as we are converting to null.
- setParameterString(String) - Method in class com.opencsv.bean.processor.ConvertWordNullToNull
-
This method is unused in this implementation as we are converting to null.
- setParameterString(String) - Method in interface com.opencsv.bean.processor.StringProcessor
-
This allows the validator extending
StringProcessor
to be used by multiple fields by allowing you to pass in data for the processor to be used. - setParameterString(String) - Method in class com.opencsv.bean.validators.MustMatchRegexExpression
- setParameterString(String) - Method in interface com.opencsv.bean.validators.StringValidator
-
This allows the validator extending
StringValidator
to be used by multiple fields by allowing you to pass in data for the validator to be used. - setProfile(String) - Method in class com.opencsv.bean.AbstractMappingStrategy
-
Sets the profile this mapping strategy will use when configuring bean fields.
- setProfile(String) - Method in interface com.opencsv.bean.MappingStrategy
-
Sets the profile this mapping strategy will use when configuring bean fields.
- setRequired(boolean) - Method in class com.opencsv.bean.AbstractBeanField
- setRequired(boolean) - Method in interface com.opencsv.bean.BeanField
-
Determines whether or not a field is required.
- setResultService(ResultSetHelper) - Method in class com.opencsv.AbstractCSVWriter
- setResultService(ResultSetHelper) - Method in interface com.opencsv.ICSVWriter
-
Sets the result service.
- setThrowExceptions(boolean) - Method in class com.opencsv.bean.CsvToBean
-
Determines whether errors during import should be thrown or kept in a list for later retrieval via
CsvToBean.getCapturedExceptions()
. - setType(Class<?>) - Method in class com.opencsv.bean.AbstractBeanField
- setType(Class<?>) - Method in class com.opencsv.bean.AbstractCsvConverter
- setType(Class<?>) - 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.
- setValidators(List<LineValidator>) - Method in class com.opencsv.validators.LineValidatorAggregator
-
Setter created for unit test.
- setValidators(List<RowValidator>) - Method in class com.opencsv.validators.RowValidatorAggregator
-
Setter created for unit test.
- 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.
- shouldConvertEmptyToNull(boolean) - Method in class com.opencsv.CSVParser
- shutdownNow() - Method in class com.opencsv.bean.concurrent.IntolerantThreadPoolExecutor
- simpleMap - Variable in class com.opencsv.bean.AbstractFieldMap
-
A map for all simple, that is one-to-one, mappings represented in this
FieldMap
. - SingleLineReader - Class in com.opencsv.bean.concurrent
-
This class exists to isolate the logic for reading a single line of input that is common to
CsvToBean.iterator()
andCompleteFileReader
. - SingleLineReader(CSVReader, boolean) - Constructor for class com.opencsv.bean.concurrent.SingleLineReader
-
The only constructor.
- skip(int) - Method in class com.opencsv.CSVReader
-
Skip a given number of lines.
- skipLines - Variable in class com.opencsv.bean.CsvToBeanBuilder
- skipLines - Variable in class com.opencsv.CSVReader
- skipLines - Variable in class com.opencsv.CSVReaderBaseBuilder
- sourceObject - Variable in exception com.opencsv.exceptions.CsvConstraintViolationException
- sourceObject - Variable in exception com.opencsv.exceptions.CsvDataTypeMismatchException
- SPECIAL_REGEX_CHARS - Static variable in class com.opencsv.AbstractCSVParser
-
This is needed by the split command in case the separator character is a regex special character.
- splitOn - Variable in class com.opencsv.bean.BeanFieldSplit
- 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.
- splitWhileNotInQuotes(String, boolean) - Method in class com.opencsv.RFC4180Parser
- startsButDoesNotEndWithQuote(String) - Method in class com.opencsv.RFC4180Parser
- StatefulBeanToCsv<T> - Class in com.opencsv.bean
-
This class writes beans out in CSV format to a
Writer
, keeping state information and making an intelligent guess at the mapping strategy to be applied. - StatefulBeanToCsv(char, String, MappingStrategy<T>, char, char, CsvExceptionHandler, Writer, boolean, MultiValuedMap<Class<?>, Field>, String) - Constructor for class com.opencsv.bean.StatefulBeanToCsv
-
Constructor used when supplying a Writer instead of a CsvWriter class.
- StatefulBeanToCsv(MappingStrategy<T>, CsvExceptionHandler, boolean, ICSVWriter, MultiValuedMap<Class<?>, Field>, String) - Constructor for class com.opencsv.bean.StatefulBeanToCsv
-
Constructor used to allow building of a
StatefulBeanToCsv
with a user-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.
- strictQuotes - Variable in class com.opencsv.bean.CsvToBeanBuilder
- strictQuotes - Variable in class com.opencsv.CSVParser
-
Determines if the field is between quotes (true) or between separators (false).
- strictQuotes - Variable in class com.opencsv.CSVParserBuilder
- stringContainsSpecialCharacters(String) - Method in class com.opencsv.CSVWriter
-
Checks to see if the line contains special characters.
- StringFragmentCopier(String) - Constructor for class com.opencsv.CSVParser.StringFragmentCopier
- 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. - submitAllLines(Iterator<T>) - Method in class com.opencsv.bean.StatefulBeanToCsv
- submitBean(long, MappingStrategy<T>, T, CsvExceptionHandler) - Method in class com.opencsv.bean.concurrent.BeanExecutor
-
Submit one bean for conversion.
- submitLine(long, MappingStrategy<? extends T>, CsvToBeanFilter, List<BeanVerifier<T>>, String[], CsvExceptionHandler) - Method in class com.opencsv.bean.concurrent.LineExecutor
-
Submit one record for conversion to a bean.
T
- takeInput() - Method in class com.opencsv.CSVParser.StringFragmentCopier
- takeOutput() - Method in class com.opencsv.CSVParser.StringFragmentCopier
- terminalException - Variable in class com.opencsv.bean.concurrent.CompleteFileReader
-
The exception that brought execution to a grinding halt.
- terminalException - Variable in class com.opencsv.bean.concurrent.IntolerantThreadPoolExecutor
-
The exception that caused this Executor to stop executing.
- testFunction - Variable in class com.opencsv.validators.RowFunctionValidator
- thrownExceptionsMap - Variable in class com.opencsv.bean.concurrent.AccumulateCsvResults
-
All access to this variable must be synchronized.
- thrownExceptionsMap - Variable in class com.opencsv.bean.concurrent.IntolerantThreadPoolExecutor
-
A multi-valued map for any exceptions captured.
- thrownExceptionsQueue - Variable in class com.opencsv.bean.concurrent.AccumulateCsvResults
- thrownExceptionsQueue - Variable in class com.opencsv.bean.concurrent.IntolerantThreadPoolExecutor
-
A queue of exceptions thrown by threads during processing.
- thrownExceptionsQueue - Variable in class com.opencsv.bean.concurrent.ProcessCsvBean
- thrownExceptionsQueue - Variable in class com.opencsv.bean.concurrent.ProcessCsvLine
- thrownExceptionsQueue - Variable in class com.opencsv.bean.CsvToBean.CsvToBeanIterator
- throwsExceptions - Variable in class com.opencsv.bean.CsvToBeanBuilder
- tokenizeStringIntoArray(String) - Method in class com.opencsv.RFC4180Parser
- tokensOnLastCompleteLine - Variable in class com.opencsv.CSVParser
- 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. - TRUE_STRINGS - Static variable in class com.opencsv.bean.customconverter.ConvertFrenchToBoolean
- TRUE_STRINGS - Static variable in class com.opencsv.bean.customconverter.ConvertGermanToBoolean
- tryAdvance(Consumer<? super T>) - Method in class com.opencsv.bean.concurrent.IntolerantThreadPoolExecutor
- trySplit() - Method in class com.opencsv.bean.concurrent.IntolerantThreadPoolExecutor
- 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.RecursiveType
- type - Variable in class com.opencsv.bean.AbstractMappingStrategy
-
This is the class of the bean to be manipulated.
- type - Variable in class com.opencsv.bean.CsvToBeanBuilder
- type - Variable in class com.opencsv.bean.FuzzyMappingStrategy.FuzzyComparison
U
- UUID_REGEX_PATTERN - Static variable in class com.opencsv.bean.ConverterUUID
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 LineValidators validate commands and if the string is invalid then it combines all the validation error messages in a single CsvValidationException.
- validate(String[]) - Method in class com.opencsv.validators.RowFunctionValidator
- validate(String[]) - Method in class com.opencsv.validators.RowMustHaveSameNumberOfColumnsAsFirstRowValidator
- validate(String[]) - Method in interface com.opencsv.validators.RowValidator
-
Performs the validation check on the row (an array of
String
s) and throws an exception if invalid. - validate(String[]) - Method in class com.opencsv.validators.RowValidatorAggregator
-
Runs all
RowValidator
s'RowValidator.validate(String[])
methods and if the string array 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.
- validateLine(long, String) - Method in class com.opencsv.CSVReader
-
Runs all line validators on the input.
- validateResult(String[], long) - Method in class com.opencsv.CSVReader
-
Increments the number of records read if the result passed in is not null.
- validateValue(PreAssignmentValidator, String) - Method in class com.opencsv.bean.AbstractBeanField
- validator() - Method in annotation type com.opencsv.bean.validators.PreAssignmentValidator
-
Returns the validator that will validate the string.
- validators - Variable in class com.opencsv.validators.LineValidatorAggregator
- validators - Variable in class com.opencsv.validators.RowValidatorAggregator
- value() - Method in annotation type com.opencsv.bean.CsvBindAndJoinByNames
- value() - Method in annotation type com.opencsv.bean.CsvBindAndJoinByPositions
- value() - Method in annotation type com.opencsv.bean.CsvBindAndSplitByNames
- value() - Method in annotation type com.opencsv.bean.CsvBindAndSplitByPositions
- value() - Method in annotation type com.opencsv.bean.CsvBindByNames
- value() - Method in annotation type com.opencsv.bean.CsvBindByPositions
- value() - Method in annotation type com.opencsv.bean.CsvCustomBindByNames
- value() - Method in annotation type com.opencsv.bean.CsvCustomBindByPositions
- value() - Method in annotation type com.opencsv.bean.CsvDate
-
A date/time format string.
- value() - Method in annotation type com.opencsv.bean.CsvDates
- value() - Method in annotation type com.opencsv.bean.CsvNumber
-
A decimal format string.
- value() - Method in annotation type com.opencsv.bean.CsvNumbers
- 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.
- verifiers - Variable in class com.opencsv.bean.concurrent.CompleteFileReader
-
Verifiers to be applied to the beans created.
- verifiers - Variable in class com.opencsv.bean.concurrent.ProcessCsvLine
- verifiers - Variable in class com.opencsv.bean.CsvToBean
-
All verifiers that should be run on beans after creation but before returning them to the caller.
- verifiers - Variable in class com.opencsv.bean.CsvToBeanBuilder
- verifyBean(T) - Method in interface com.opencsv.bean.BeanVerifier
-
Verifies and optionally filters the bean that has been created.
- verifyFormatString(String, Class<?>, Locale) - Static method in class com.opencsv.bean.util.OpencsvUtils
-
Verifies that the given format string works with one string parameter.
- verifyLineLength(int) - Method in class com.opencsv.bean.AbstractMappingStrategy
-
Must be called once the length of input for a line/record is known to verify that the line was complete.
- verifyLineLength(int) - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
- verifyLineLength(int) - Method in class com.opencsv.bean.HeaderNameBaseMappingStrategy
- verifyReader - Variable in class com.opencsv.bean.CsvToBeanBuilder
- verifyReader - Variable in class com.opencsv.CSVReader
- verifyReader - Variable in class com.opencsv.CSVReaderBaseBuilder
- verifyReader() - Method in class com.opencsv.CSVReader
-
Returns if the CSVReader will verify the reader before each read.
- VRAI - Static variable in class com.opencsv.bean.customconverter.ConvertFrenchToBoolean
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.
- withCSVParser(ICSVParser) - Method in class com.opencsv.CSVReaderHeaderAwareBuilder
-
Sets the parser to use to parse the input.
- withErrorLocale(Locale) - Method in class com.opencsv.bean.CsvToBeanBuilder
-
Sets the locale for all error messages.
- withErrorLocale(Locale) - Method in class com.opencsv.bean.StatefulBeanToCsvBuilder
-
Sets the locale to be used for all error messages.
- withErrorLocale(Locale) - Method in class com.opencsv.CSVParserBuilder
-
Sets the locale for all error messages.
- withErrorLocale(Locale) - Method in class com.opencsv.CSVReaderBuilder
-
Sets the locale for all error messages.
- withErrorLocale(Locale) - Method in class com.opencsv.CSVReaderHeaderAwareBuilder
-
Sets the locale for all error messages.
- withEscapechar(char) - Method in class com.opencsv.bean.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.
- withExceptionHandler(CsvExceptionHandler) - Method in class com.opencsv.bean.CsvToBeanBuilder
-
Sets the handler for recoverable exceptions raised during processing of records.
- withExceptionHandler(CsvExceptionHandler) - Method in class com.opencsv.bean.StatefulBeanToCsvBuilder
-
Sets the handler for recoverable exceptions raised during processing of records.
- withFieldAsNull(CSVReaderNullFieldIndicator) - Method in class com.opencsv.bean.CsvToBeanBuilder
- withFieldAsNull(CSVReaderNullFieldIndicator) - Method in class com.opencsv.CSVParserBuilder
-
Sets the NullFieldIndicator.
- withFieldAsNull(CSVReaderNullFieldIndicator) - Method in class com.opencsv.CSVReaderBuilder
-
Checks to see if it should treat a field with two separators, two quotes, or both as a null field.
- withFieldAsNull(CSVReaderNullFieldIndicator) - Method in class com.opencsv.CSVReaderHeaderAwareBuilder
-
Checks to see if it should treat a field with two separators, two quotes, or both as a null field.
- withFieldAsNull(CSVReaderNullFieldIndicator) - Method in class com.opencsv.RFC4180ParserBuilder
-
Sets the NullFieldIndicator.
- withFilter(CsvToBeanFilter) - Method in class com.opencsv.bean.CsvToBeanBuilder
- withForceCorrectRecordLength(boolean) - Method in class com.opencsv.bean.FuzzyMappingStrategyBuilder
-
Insists that every record will be considered to be of the correct length (that is, the same number of columns as the header).
- withForceCorrectRecordLength(boolean) - Method in class com.opencsv.bean.HeaderColumnNameMappingStrategyBuilder
-
Insists that every record will be considered to be of the correct length (that is, the same number of columns as the header).
- withForceCorrectRecordLength(boolean) - Method in class com.opencsv.bean.HeaderColumnNameTranslateMappingStrategyBuilder
-
Insists that every record will be considered to be of the correct length (that is, the same number of columns as the header).
- withIgnoreEmptyLine(boolean) - Method in class com.opencsv.bean.CsvToBeanBuilder
- withIgnoreField(Class<?>, Field) - Method in class com.opencsv.bean.CsvToBeanBuilder
-
Adds a
Field
to the list of fields opencsv should ignore completely. - withIgnoreField(Class<?>, Field) - Method in class com.opencsv.bean.StatefulBeanToCsvBuilder
-
Adds a
Field
to the list of fields opencsv should ignore completely. - withIgnoreLeadingWhiteSpace(boolean) - Method in class com.opencsv.bean.CsvToBeanBuilder
- withIgnoreLeadingWhiteSpace(boolean) - Method in class com.opencsv.CSVParserBuilder
-
Sets the ignore leading whitespace setting - if true, white space in front of a quote in a field is ignored.
- withIgnoreQuotations(boolean) - Method in class com.opencsv.bean.CsvToBeanBuilder
- withIgnoreQuotations(boolean) - Method in class com.opencsv.CSVParserBuilder
-
Sets the ignore quotations mode - if true, quotations are ignored.
- withKeepCarriageReturn(boolean) - Method in class com.opencsv.bean.CsvToBeanBuilder
- withKeepCarriageReturn(boolean) - Method in class com.opencsv.CSVReaderBuilder
-
Sets if the reader will keep or discard carriage returns.
- withKeepCarriageReturn(boolean) - Method in class com.opencsv.CSVReaderHeaderAwareBuilder
-
Sets if the reader will keep or discard carriage returns.
- withLineEnd(String) - Method in class com.opencsv.bean.StatefulBeanToCsvBuilder
- withLineEnd(String) - Method in class com.opencsv.CSVWriterBuilder
-
Sets the newline character that the ICSVWriter will use.
- withLineValidator(LineValidator) - Method in class com.opencsv.CSVReaderBuilder
-
Adds a
LineValidator
to theCSVReader
. - withLineValidator(LineValidator) - Method in class com.opencsv.CSVReaderHeaderAwareBuilder
-
Adds a
LineValidator
to theCSVReaderHeaderAware
. - withMappingStrategy(MappingStrategy<? extends T>) - Method in class com.opencsv.bean.CsvToBeanBuilder
- withMappingStrategy(MappingStrategy<T>) - Method in class com.opencsv.bean.StatefulBeanToCsvBuilder
-
Sets the mapping strategy for writing beans to a CSV destination.
- withMultilineLimit(int) - Method in class com.opencsv.bean.CsvToBeanBuilder
-
Sets the maximum number of lines allowed in a multiline record.
- withMultilineLimit(int) - Method in class com.opencsv.CSVReaderBuilder
-
Sets the maximum number of lines allowed in a multiline record.
- withMultilineLimit(int) - Method in class com.opencsv.CSVReaderHeaderAwareBuilder
-
Sets the maximum number of lines allowed in a multiline record.
- withOrderedResults(boolean) - Method in class com.opencsv.bean.CsvToBeanBuilder
-
Sets whether the resulting beans must be ordered as in the input.
- withOrderedResults(boolean) - Method in class com.opencsv.bean.StatefulBeanToCsvBuilder
-
Sets whether or not results must be written in the same order in which they appear in the list of beans provided as input.
- withParser(ICSVParser) - Method in class com.opencsv.CSVWriterBuilder
-
Sets the parser that the ICSVWriter will be using.
- withProfile(String) - Method in class com.opencsv.bean.CsvToBeanBuilder
-
Selects a profile for deciding which configurations to use for the bean fields.
- withProfile(String) - Method in class com.opencsv.bean.StatefulBeanToCsvBuilder
-
Selects a profile for deciding which configurations to use for the bean fields.
- withQuotechar(char) - Method in class com.opencsv.bean.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.
- withResultSetHelper(ResultSetHelper) - Method in class com.opencsv.CSVWriterBuilder
-
Sets the ResultSetHelper that the ICSVWriter will use.
- withRowProcessor(RowProcessor) - Method in class com.opencsv.CSVReaderBuilder
-
Adds a
RowProcessor
to theCSVReader
. - withRowProcessor(RowProcessor) - Method in class com.opencsv.CSVReaderHeaderAwareBuilder
-
Adds a
RowProcessor
to theCSVReaderHeaderAware
. - withRowValidator(RowValidator) - Method in class com.opencsv.CSVReaderBuilder
-
Adds a
RowValidator
to theCSVReader
. - withRowValidator(RowValidator) - Method in class com.opencsv.CSVReaderHeaderAwareBuilder
-
Adds a
RowValidator
to theCSVReaderHeaderAware
. - withSeparator(char) - Method in class com.opencsv.bean.CsvToBeanBuilder
- withSeparator(char) - Method in class com.opencsv.bean.StatefulBeanToCsvBuilder
- withSeparator(char) - Method in class com.opencsv.CSVParserBuilder
-
Sets the delimiter to use for separating entries.
- withSeparator(char) - Method in class com.opencsv.CSVWriterBuilder
-
Sets the separator that the ICSVWriter will be using.
- withSeparator(char) - Method in class com.opencsv.RFC4180ParserBuilder
-
Sets the delimiter to use for separating entries.
- withSkipLines(int) - Method in class com.opencsv.bean.CsvToBeanBuilder
- withSkipLines(int) - Method in class com.opencsv.CSVReaderBuilder
-
Sets the number of lines to skip before reading.
- withSkipLines(int) - Method in class com.opencsv.CSVReaderHeaderAwareBuilder
-
Sets the number of lines to skip before reading.
- withStrictQuotes(boolean) - Method in class com.opencsv.bean.CsvToBeanBuilder
- withStrictQuotes(boolean) - Method in class com.opencsv.CSVParserBuilder
-
Sets the strict quotes setting - if true, characters outside the quotes are ignored.
- withThrowExceptions(boolean) - Method in class com.opencsv.bean.CsvToBeanBuilder
-
Sets how the CsvToBean will act when an exception occurs.
- withThrowExceptions(boolean) - Method in class com.opencsv.bean.StatefulBeanToCsvBuilder
-
Sets the handler for recoverable exceptions that arise during the processing of records.
- withType(Class<? extends T>) - Method in class com.opencsv.bean.CsvToBeanBuilder
-
Sets the type of the bean to be populated.
- withVerifier(BeanVerifier<T>) - Method in class com.opencsv.bean.CsvToBeanBuilder
-
Adds a
BeanVerifier
to the list of verifiers to run on all beans created. - withVerifyReader(boolean) - Method in class com.opencsv.bean.CsvToBeanBuilder
- withVerifyReader(boolean) - Method in class com.opencsv.CSVReaderBuilder
-
Checks to see if the
CSVReader
should verify the reader state before reads or not. - withVerifyReader(boolean) - Method in class com.opencsv.CSVReaderHeaderAwareBuilder
-
Checks to see if the
CSVReaderHeaderAware
should verify the reader state before reads or not. - write(Object, I) - Method in class com.opencsv.bean.AbstractBeanField
-
This method takes the current value of the field in question in the bean passed in and converts it to a string.
- write(Object, I) - Method in interface com.opencsv.bean.BeanField
-
This method takes the current value of the field in question in the bean passed in and converts it to one or more strings.
- write(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 - Variable in class com.opencsv.bean.BeanFieldSplit
- 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.
- writeDtf - Variable in class com.opencsv.bean.ConverterDate
-
The formatter for all outputs from
TemporalAccessor
representations. - writeFormat - Variable in class com.opencsv.bean.BeanFieldSingleValue
-
The format string used for packaging values to be written.
- writeFormat - Variable in class com.opencsv.bean.BeanFieldSplit
- 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.
- writeFormatter - Variable in class com.opencsv.bean.ConverterNumber
- 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.ColumnPositionMappingStrategy
-
Holds a
Comparator
to sort columns on writing. - writeOrder - Variable in class com.opencsv.bean.FieldMapByName
-
Holds a
Comparator
to sort columns on writing. - writeOrder - Variable in class com.opencsv.bean.FieldMapByPosition
-
Holds a
Comparator
to sort columns on writing. - writeOrder - Variable in class com.opencsv.bean.HeaderNameBaseMappingStrategy
-
Holds a
Comparator
to sort columns on writing. - writer - Variable in class com.opencsv.AbstractCSVWriter
- writer - Variable in class com.opencsv.bean.StatefulBeanToCsv
- writer - Variable in class com.opencsv.bean.StatefulBeanToCsvBuilder
- writer - Variable in class com.opencsv.CSVWriterBuilder
- writeSdf - Variable in class com.opencsv.bean.ConverterDate
-
The formatter for all outputs from old-style date representations.
- writeTemporalConversionFunction - Variable in class com.opencsv.bean.ConverterDate
-
A reference to the function to use when converting from
TemporalAccessor
-based values to strings.
All Classes All Packages