- captureHeader(CSVReader) - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
-
Captures the header from the reader - required by the MappingStrategy
interface and is a do nothing method for the
ColumnPositionMappingStrategy.
- captureHeader(CSVReader) - Method in class com.opencsv.bean.HeaderColumnNameMappingStrategy
-
- captureHeader(CSVReader) - Method in interface com.opencsv.bean.MappingStrategy
-
Implementation of this method can grab the header line before parsing
begins to use to map columns to bean properties.
- checkCharactersToEscape(char) - Method in class com.opencsv.CSVWriter
-
Checks whether the next character that is to be written out is a special
character that must be quoted.
- checkError() - Method in class com.opencsv.CSVWriter
-
Flushes the buffer and checks to see if the there has been an error in the printstream.
- checkForTrim(String, PropertyDescriptor) - Method in class com.opencsv.bean.AbstractCSVToBean
-
Returns the trimmed value of the string only if the property the string
is describing should be trimmed to be converted to that type.
- CLOBBUFFERSIZE - Static variable in class com.opencsv.ResultSetHelperService
-
- close() - Method in class com.opencsv.CSVReader
-
Closes the underlying reader.
- close() - Method in class com.opencsv.CSVWriter
-
Close the underlying stream writer flushing any buffered content.
- ColumnPositionMappingStrategy<T> - Class in com.opencsv.bean
-
Allows for the mapping of columns with their positions.
- ColumnPositionMappingStrategy() - Constructor for class com.opencsv.bean.ColumnPositionMappingStrategy
-
Default constructor.
- com.opencsv - package com.opencsv
-
A very simple CSV parser for Java released under a commercial-friendly license.
- com.opencsv.bean - package com.opencsv.bean
-
A bean binding interface for use with opencsv.
- com.opencsv.bean.concurrent - package com.opencsv.bean.concurrent
-
This package collects all classes necessary for the parallel processing of
beans.
- com.opencsv.bean.customconverter - package com.opencsv.bean.customconverter
-
Custom converters that are generally useful are collected here.
- com.opencsv.enums - package com.opencsv.enums
-
Enumerations relevant to opencsv's internal operations.
- com.opencsv.exceptions - package com.opencsv.exceptions
-
This package contains all of the exceptions specific to opencsv.
- com.opencsv.stream.reader - package com.opencsv.stream.reader
-
Collection of classes for customizing reading lines.
- combineResultsFromMultipleReads(String[], String[]) - Method in class com.opencsv.CSVReader
-
For multi-line records this method combines the current result with the result from previous read(s).
- compareTo(Object) - Method in class com.opencsv.bean.concurrent.OrderedObject
-
- convert(String) - Method in class com.opencsv.bean.AbstractBeanField
-
Method for converting from a string to the proper datatype of the
destination field.
- convert(String) - Method in class com.opencsv.bean.BeanFieldDate
-
- convert(String) - Method in class com.opencsv.bean.BeanFieldPrimitiveTypes
-
- convert(String) - Method in class com.opencsv.bean.customconverter.ConvertGermanToBoolean
-
Converts German text into a Boolean.
- convert(String) - Method in class com.opencsv.bean.customconverter.ConvertSplitOnWhitespace
-
Takes a string that is a list of substrings separated by whitespace and
returns a list of the substrings.
- ConvertGermanToBoolean<T> - Class in com.opencsv.bean.customconverter
-
This class converts common German representations of boolean values into a
Boolean.
- ConvertGermanToBoolean() - Constructor for class com.opencsv.bean.customconverter.ConvertGermanToBoolean
-
Silence code style checker by adding a useless constructor.
- ConvertSplitOnWhitespace<T> - Class in com.opencsv.bean.customconverter
-
This class takes a string and splits it on whitespace into a list of strings.
- ConvertSplitOnWhitespace() - Constructor for class com.opencsv.bean.customconverter.ConvertSplitOnWhitespace
-
Silence code style checker by adding a useless constructor.
- convertToWrite(Object) - Method in class com.opencsv.bean.AbstractBeanField
-
- convertToWrite(Object) - Method in class com.opencsv.bean.BeanFieldDate
-
This method converts the encapsulated date type to a string, respecting
any locales and conversion patterns that have been set through opencsv
annotations.
- convertToWrite(Object) - Method in class com.opencsv.bean.BeanFieldPrimitiveTypes
-
This method takes the current value of the field in question in the bean
passed in and converts it to a string.
- convertToWrite(Object) - Method in class com.opencsv.bean.customconverter.ConvertGermanToBoolean
-
This method takes the current value of the field in question in the bean
passed in and converts it to a string.
- convertToWrite(Object) - Method in class com.opencsv.bean.customconverter.ConvertSplitOnWhitespace
-
This method takes the current value of the field in question in the bean
passed in and converts it to a string.
- convertValue(String, PropertyDescriptor) - Method in class com.opencsv.bean.AbstractCSVToBean
-
Convert a string value to its Object value.
- createBean() - Method in class com.opencsv.bean.HeaderColumnNameMappingStrategy
-
- createBean() - Method in interface com.opencsv.bean.MappingStrategy
-
Implementation will return a bean of the type of object you are mapping.
- createIndexLookup(String[]) - Method in class com.opencsv.bean.HeaderColumnNameMappingStrategy
-
Creates an index map of column names to column position.
- CsvBadConverterException - Exception in com.opencsv.exceptions
-
This exception indicates that the custom converter provided did not behave as
expected in some way.
- CsvBadConverterException() - Constructor for exception com.opencsv.exceptions.CsvBadConverterException
-
Default constructor, in case no further information is necessary or
available.
- CsvBadConverterException(Class) - Constructor for exception com.opencsv.exceptions.CsvBadConverterException
-
Constructor for specifying the class of the offending converter.
- CsvBadConverterException(String) - Constructor for exception com.opencsv.exceptions.CsvBadConverterException
-
Constructor with a simple text.
- CsvBadConverterException(Class, String) - Constructor for exception com.opencsv.exceptions.CsvBadConverterException
-
Constructor for setting the class of the converter and an error message.
- CsvBeanIntrospectionException - Exception in com.opencsv.exceptions
-
This exception is to be thrown when anything goes bad during introspection of
beans given to opencsv.
- CsvBeanIntrospectionException() - Constructor for exception com.opencsv.exceptions.CsvBeanIntrospectionException
-
Nullary constructor.
- CsvBeanIntrospectionException(String) - Constructor for exception com.opencsv.exceptions.CsvBeanIntrospectionException
-
Constructor with a human-readable error message.
- CsvBeanIntrospectionException(Object, Field) - Constructor for exception com.opencsv.exceptions.CsvBeanIntrospectionException
-
Constructor to specify the bean and field whose manipulation caused this
exception.
- CsvBeanIntrospectionException(Object, Field, String) - Constructor for exception com.opencsv.exceptions.CsvBeanIntrospectionException
-
Constructor to provide all information connected to the error raised.
- CsvBindByName - Annotation Type in com.opencsv.bean
-
Specifies a binding between a column name of the CSV input and a field in a
bean.
- CsvBindByPosition - Annotation Type in com.opencsv.bean
-
Specifies a binding between a column number of the CSV input and a field in
a bean.
- CsvConstraintViolationException - Exception in com.opencsv.exceptions
-
This exception is thrown when logical connections between data fields would
be violated by the imported data.
- CsvConstraintViolationException() - Constructor for exception com.opencsv.exceptions.CsvConstraintViolationException
-
Default constructor, in case no further information is necessary or
available.
- CsvConstraintViolationException(Object) - Constructor for exception com.opencsv.exceptions.CsvConstraintViolationException
-
Constructor for setting the source object that triggered the constraint
violation.
- CsvConstraintViolationException(String) - Constructor for exception com.opencsv.exceptions.CsvConstraintViolationException
-
Constructor with a simple text.
- CsvConstraintViolationException(Object, String) - Constructor for exception com.opencsv.exceptions.CsvConstraintViolationException
-
Constructor for setting the source object and an error message.
- CsvCustomBindByName - Annotation Type in com.opencsv.bean
-
Allows us to specify a class that will perform the translation from source
to destination.
- CsvCustomBindByPosition - Annotation Type in com.opencsv.bean
-
Allows us to specify a class that will perform the translation from source
to destination.
- CsvDataTypeMismatchException - Exception in com.opencsv.exceptions
-
This exception should be thrown when the provided string value for conversion
cannot be converted to the required type of the destination field.
- CsvDataTypeMismatchException() - Constructor for exception com.opencsv.exceptions.CsvDataTypeMismatchException
-
Default constructor, in case no further information is necessary or
available.
- CsvDataTypeMismatchException(Object, Class) - Constructor for exception com.opencsv.exceptions.CsvDataTypeMismatchException
-
Constructor for setting the data and the class of the intended
destination field.
- CsvDataTypeMismatchException(String) - Constructor for exception com.opencsv.exceptions.CsvDataTypeMismatchException
-
Constructor with a simple text.
- CsvDataTypeMismatchException(Object, Class, String) - Constructor for exception com.opencsv.exceptions.CsvDataTypeMismatchException
-
Constructor for setting the data and the class of the intended
destination field along with an error message.
- CsvDate - Annotation Type in com.opencsv.bean
-
This annotation indicates that the destination field is an expression of time.
- CsvException - Exception in com.opencsv.exceptions
-
This is the base class for all exceptions for opencsv.
- CsvException() - Constructor for exception com.opencsv.exceptions.CsvException
-
Default constructor, in case no parameters are required.
- CsvException(String) - Constructor for exception com.opencsv.exceptions.CsvException
-
Constructor that allows a human-readable message.
- CSVIterator - Class in com.opencsv
-
Provides an Iterator over the data found in opencsv.
- CSVIterator(CSVReader) - Constructor for class com.opencsv.CSVIterator
-
- CSVParser - Class in com.opencsv
-
A very simple CSV parser released under a commercial-friendly license.
- CSVParser() - Constructor for class com.opencsv.CSVParser
-
Constructs CSVParser using default values for everything.
- CSVParser(char) - Constructor for class com.opencsv.CSVParser
-
- CSVParser(char, char) - Constructor for class com.opencsv.CSVParser
-
- CSVParser(char, char, char) - Constructor for class com.opencsv.CSVParser
-
- CSVParser(char, char, char, boolean) - Constructor for class com.opencsv.CSVParser
-
- CSVParser(char, char, char, boolean, boolean) - Constructor for class com.opencsv.CSVParser
-
- CSVParser(char, char, char, boolean, boolean, boolean) - Constructor for class com.opencsv.CSVParser
-
- CSVParserBuilder - Class in com.opencsv
-
Builder for creating a CSVParser.
- CSVParserBuilder() - Constructor for class com.opencsv.CSVParserBuilder
-
Default constructor.
- CSVReader - Class in com.opencsv
-
A very simple CSV reader released under a commercial-friendly license.
- CSVReader(Reader) - Constructor for class com.opencsv.CSVReader
-
Constructs CSVReader using defaults for all parameters.
- CSVReader(Reader, char) - Constructor for class com.opencsv.CSVReader
-
- CSVReader(Reader, char, char) - Constructor for class com.opencsv.CSVReader
-
- CSVReader(Reader, char, char, boolean) - Constructor for class com.opencsv.CSVReader
-
- CSVReader(Reader, char, char, char) - Constructor for class com.opencsv.CSVReader
-
- CSVReader(Reader, char, char, int) - Constructor for class com.opencsv.CSVReader
-
- CSVReader(Reader, char, char, char, int) - Constructor for class com.opencsv.CSVReader
-
- CSVReader(Reader, char, char, char, int, boolean) - Constructor for class com.opencsv.CSVReader
-
- CSVReader(Reader, char, char, char, int, boolean, boolean) - Constructor for class com.opencsv.CSVReader
-
- CSVReader(Reader, char, char, char, int, boolean, boolean, boolean) - Constructor for class com.opencsv.CSVReader
-
- CSVReader(Reader, int, ICSVParser) - Constructor for class com.opencsv.CSVReader
-
- CSVReaderBuilder - Class in com.opencsv
-
Builder for creating a CSVReader.
- CSVReaderBuilder(Reader) - Constructor for class com.opencsv.CSVReaderBuilder
-
Sets the reader to an underlying CSV source.
- CSVReaderNullFieldIndicator - Enum in com.opencsv.enums
-
Enumeration used to tell the CSVParser what to consider null.
- CsvRequiredFieldEmptyException - Exception in com.opencsv.exceptions
-
This exception should be thrown when a field marked as required is empty in
the CSV file.
- CsvRequiredFieldEmptyException() - Constructor for exception com.opencsv.exceptions.CsvRequiredFieldEmptyException
-
Default constructor, in case no further information is necessary.
- CsvRequiredFieldEmptyException(String) - Constructor for exception com.opencsv.exceptions.CsvRequiredFieldEmptyException
-
Constructor with a simple text.
- CsvRequiredFieldEmptyException(Class, Field) - Constructor for exception com.opencsv.exceptions.CsvRequiredFieldEmptyException
-
Constructor for setting the intended class and field of the target bean.
- CsvRequiredFieldEmptyException(Class, String) - Constructor for exception com.opencsv.exceptions.CsvRequiredFieldEmptyException
-
Constructor for setting the intended class of the target bean and a
human-readable error message.
- CsvRequiredFieldEmptyException(Class, Field, String) - Constructor for exception com.opencsv.exceptions.CsvRequiredFieldEmptyException
-
Constructor for setting the intended class and field of the target bean
along with an error message.
- CsvRuntimeException - Exception in com.opencsv.exceptions
-
The base class for all unchecked exceptions in opencsv.
- CsvRuntimeException() - Constructor for exception com.opencsv.exceptions.CsvRuntimeException
-
Nullary constructor.
- CsvRuntimeException(String) - Constructor for exception com.opencsv.exceptions.CsvRuntimeException
-
Constructor with a message.
- CsvToBean<T> - Class in com.opencsv.bean
-
Converts CSV data to objects.
- CsvToBean() - Constructor for class com.opencsv.bean.CsvToBean
-
Default constructor.
- CsvToBeanBuilder<T> - Class in com.opencsv.bean
-
This class makes it possible to bypass all the intermediate steps and classes
in setting up to read from a CSV source to a list of beans.
- CsvToBeanBuilder(Reader) - Constructor for class com.opencsv.bean.CsvToBeanBuilder
-
Constructor with the one parameter that is most definitely mandatory, and
always will be.
- CsvToBeanFilter - Interface in com.opencsv.bean
-
Filters allow lines of input to be ignored before a bean is created.
- CSVWriter - Class in com.opencsv
-
A very simple CSV writer released under a commercial-friendly license.
- CSVWriter(Writer) - Constructor for class com.opencsv.CSVWriter
-
Constructs CSVWriter using a comma for the separator.
- CSVWriter(Writer, char) - Constructor for class com.opencsv.CSVWriter
-
- CSVWriter(Writer, char, char) - Constructor for class com.opencsv.CSVWriter
-
- CSVWriter(Writer, char, char, char) - Constructor for class com.opencsv.CSVWriter
-
- CSVWriter(Writer, char, char, String) - Constructor for class com.opencsv.CSVWriter
-
- CSVWriter(Writer, char, char, char, String) - Constructor for class com.opencsv.CSVWriter
-
Constructs CSVWriter with supplied separator, quote char, escape char and line ending.
- generateHeader() - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
-
This method returns an empty array.
- generateHeader() - Method in class com.opencsv.bean.HeaderColumnNameMappingStrategy
-
This method generates a header that can be used for writing beans of the
type provided back to a file.
- generateHeader() - Method in interface com.opencsv.bean.MappingStrategy
-
Implementations of this method must return an array of column headers
based on the contents of the mapping strategy.
- getBean() - Method in exception com.opencsv.exceptions.CsvBeanIntrospectionException
-
- getBeanClass() - Method in exception com.opencsv.exceptions.CsvRequiredFieldEmptyException
-
Gets the class of the bean to which the value was to be assigned.
- getCapturedExceptions() - Method in class com.opencsv.bean.CsvToBean
-
Returns the list of all exceptions that would have been thrown during the
import, but were suppressed by setting
CsvToBean.throwExceptions
to
false
.
- getCapturedExceptions() - Method in class com.opencsv.bean.StatefulBeanToCsv
-
Any exceptions captured during writing of beans to a CSV destination can
be retrieved through this method.
- getColumnIndex(String) - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
-
- getColumnIndex(String) - Method in class com.opencsv.bean.HeaderColumnNameMappingStrategy
-
- getColumnIndex(String) - Method in interface com.opencsv.bean.MappingStrategy
-
Gets the column index that corresponds to a specific column name.
- getColumnMapping() - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
-
Retrieves the column mappings.
- getColumnMapping() - Method in class com.opencsv.bean.HeaderColumnNameTranslateMappingStrategy
-
Retrieves the column mappings of the strategy.
- getColumnName(int) - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
-
Gets a column name.
- getColumnName(int) - Method in class com.opencsv.bean.HeaderColumnNameMappingStrategy
-
Get the column name for a given column position.
- getColumnName(int) - Method in class com.opencsv.bean.HeaderColumnNameTranslateMappingStrategy
-
- getColumnNames(ResultSet) - Method in class com.opencsv.ResultSetColumnNameHelperService
-
Returns the column names from the result set.
- getColumnNames(ResultSet) - Method in interface com.opencsv.ResultSetHelper
-
Returns the column names from the ResultSet.
- getColumnNames(ResultSet) - Method in class com.opencsv.ResultSetHelperService
-
- getColumnValues(ResultSet) - Method in class com.opencsv.ResultSetColumnNameHelperService
-
Get all the column values from the result set.
- getColumnValues(ResultSet, boolean) - Method in class com.opencsv.ResultSetColumnNameHelperService
-
Get all the column values from the result set.
- getColumnValues(ResultSet, boolean, String, String) - Method in class com.opencsv.ResultSetColumnNameHelperService
-
Get all the column values from the result set.
- getColumnValues(ResultSet) - Method in interface com.opencsv.ResultSetHelper
-
Returns the column values from the result set.
- getColumnValues(ResultSet, boolean) - Method in interface com.opencsv.ResultSetHelper
-
Returns the column values from the result set with the values trimmed if desired.
- getColumnValues(ResultSet, boolean, String, String) - Method in interface com.opencsv.ResultSetHelper
-
Returns the column values from the result set with the values trimmed if desired.
- getColumnValues(ResultSet) - Method in class com.opencsv.ResultSetHelperService
-
- getColumnValues(ResultSet, boolean) - Method in class com.opencsv.ResultSetHelperService
-
- getColumnValues(ResultSet, boolean, String, String) - Method in class com.opencsv.ResultSetHelperService
-
- getConverterClass() - Method in exception com.opencsv.exceptions.CsvBadConverterException
-
- getCsvParser() - Method in class com.opencsv.CSVReaderBuilder
-
Used by unit tests.
- getCSVReader() - Method in class com.opencsv.bean.IterableCSVToBean
-
Deprecated.
Retrieves the CSVReader.
- getCsvReader() - Method in class com.opencsv.bean.IterableCSVToBeanBuilder
-
Deprecated.
Used by unit tests.
- getDestinationClass() - Method in exception com.opencsv.exceptions.CsvDataTypeMismatchException
-
Gets the type of the field to which the data were to be assigned.
- getDestinationField() - Method in exception com.opencsv.exceptions.CsvRequiredFieldEmptyException
-
Gets the field from the Reflection API that was to be assigned.
- getElement() - Method in class com.opencsv.bean.concurrent.OrderedObject
-
- getEscape() - Method in class com.opencsv.CSVParser
-
- getEscapeChar() - Method in class com.opencsv.CSVParserBuilder
-
- getField() - Method in class com.opencsv.bean.AbstractBeanField
-
- getField() - Method in interface com.opencsv.bean.BeanField
-
Gets the field to be processed.
- getField() - Method in exception com.opencsv.exceptions.CsvBeanIntrospectionException
-
- getFilter() - Method in class com.opencsv.bean.IterableCSVToBean
-
Deprecated.
Retrieves the CsvToBeanFilter
- getFilter() - Method in class com.opencsv.bean.IterableCSVToBeanBuilder
-
Deprecated.
Used by unit tests.
- getLineNumber() - Method in exception com.opencsv.exceptions.CsvException
-
- getLinesRead() - Method in class com.opencsv.CSVReader
-
Used for debugging purposes, this method returns the number of lines that
has been read from the reader passed into the CSVReader.
- getLocalizedMessage() - Method in exception com.opencsv.exceptions.CsvBeanIntrospectionException
-
- getMessage() - Method in exception com.opencsv.exceptions.CsvBeanIntrospectionException
-
Gets a human-readable error message.
- getMultilineLimit() - Method in class com.opencsv.CSVReader
-
Only useful for tests.
- getMultilineLimit() - Method in class com.opencsv.CSVReaderBuilder
-
Used by unit tests.
- getNextLine() - Method in class com.opencsv.CSVReader
-
Reads the next line from the file.
- getOrdinal() - Method in class com.opencsv.bean.concurrent.OrderedObject
-
- getParser() - Method in class com.opencsv.CSVReader
-
- getPropertyEditor(PropertyDescriptor) - Method in class com.opencsv.bean.AbstractCSVToBean
-
Attempt to find custom property editor on descriptor first, else try the
propery editor manager.
- getPropertyEditor(PropertyDescriptor) - Method in class com.opencsv.bean.concurrent.ProcessCsvLine
-
- getPropertyEditor(PropertyDescriptor) - Method in class com.opencsv.bean.IterableCSVToBean
-
Deprecated.
- getPropertyEditorValue(Class<?>) - Method in class com.opencsv.bean.AbstractCSVToBean
-
Returns the PropertyEditor for the given class.
- getQuotechar() - Method in class com.opencsv.CSVParser
-
- getQuoteChar() - Method in class com.opencsv.CSVParserBuilder
-
- getQuotechar() - Method in interface com.opencsv.ICSVParser
-
- getQuotechar() - Method in class com.opencsv.RFC4180Parser
-
- getQuoteChar() - Method in class com.opencsv.RFC4180ParserBuilder
-
- getReader() - Method in class com.opencsv.CSVReaderBuilder
-
Used by unit tests.
- getRecordsRead() - Method in class com.opencsv.CSVReader
-
Used for debugging purposes, this method returns the number of records
that has been read from the CSVReader.
- getSeparator() - Method in class com.opencsv.CSVParser
-
- getSeparator() - Method in class com.opencsv.CSVParserBuilder
-
- getSeparator() - Method in interface com.opencsv.ICSVParser
-
- getSeparator() - Method in class com.opencsv.RFC4180Parser
-
- getSeparator() - Method in class com.opencsv.RFC4180ParserBuilder
-
- getSkipLines() - Method in class com.opencsv.CSVReader
-
Returns the number of lines in the CSV file to skip before processing.
- getSkipLines() - Method in class com.opencsv.CSVReaderBuilder
-
Used by unit tests.
- getSourceObject() - Method in exception com.opencsv.exceptions.CsvConstraintViolationException
-
- getSourceObject() - Method in exception com.opencsv.exceptions.CsvDataTypeMismatchException
-
Gets the object that was to be assigned to a field of the wrong type.
- getStrategy() - Method in class com.opencsv.bean.IterableCSVToBean
-
Deprecated.
Retrieves the MappingStrategy.
- getStrategy() - Method in class com.opencsv.bean.IterableCSVToBeanBuilder
-
Deprecated.
Used by unit tests.
- getTerminalException() - Method in class com.opencsv.bean.concurrent.IntolerantThreadPoolExecutor
-
If an unrecoverable exception was thrown during processing, it can be
retrieved here.
- getType() - Method in class com.opencsv.bean.HeaderColumnNameMappingStrategy
-
Get the class type that the Strategy is mapping.
- separator - Variable in class com.opencsv.CSVWriter
-
- setColumnMapping(String...) - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
-
Setter for the ColumnMappings.
- setColumnMapping(Map<String, String>) - Method in class com.opencsv.bean.HeaderColumnNameTranslateMappingStrategy
-
Sets the column mapping to those passed in.
- setColumnNames(String[], String[]) - Method in class com.opencsv.ResultSetColumnNameHelperService
-
Set the JDBC column names to use, and the header text for the CSV file
- setCsvReader(CSVReader) - Method in class com.opencsv.bean.CsvToBean
-
Sets the reader to be used to read in the information from the CSV input.
- setDateFormat(String) - Method in class com.opencsv.ResultSetHelperService
-
Set a default date format pattern that will be used by the service.
- setDateTimeFormat(String) - Method in class com.opencsv.ResultSetHelperService
-
Set a default date time format pattern that will be used by the service.
- setErrorLocale(Locale) - Method in class com.opencsv.bean.AbstractBeanField
-
- setErrorLocale(Locale) - Method in interface com.opencsv.bean.BeanField
-
Sets the locale for all error messages.
- setErrorLocale(Locale) - Method in class com.opencsv.bean.CsvToBean
-
Sets the locale for error messages.
- setErrorLocale(Locale) - Method in class com.opencsv.bean.HeaderColumnNameMappingStrategy
-
- setErrorLocale(Locale) - Method in class com.opencsv.bean.IterableCSVToBean
-
Deprecated.
Sets the locale to be used for error messages.
- setErrorLocale(Locale) - Method in interface com.opencsv.bean.MappingStrategy
-
Sets the locale for all error messages.
- setErrorLocale(Locale) - Method in class com.opencsv.bean.StatefulBeanToCsv
-
Sets the locale for all error messages.
- setErrorLocale(Locale) - Method in class com.opencsv.CSVIterator
-
Sets the locale for error messages.
- setErrorLocale(Locale) - Method in class com.opencsv.ResultSetColumnNameHelperService
-
Sets the locale for error messages.
- setField(Field) - Method in class com.opencsv.bean.AbstractBeanField
-
- setField(Field) - Method in interface com.opencsv.bean.BeanField
-
Sets the field to be processed.
- setFieldValue(T, String) - Method in class com.opencsv.bean.AbstractBeanField
-
- setFieldValue(T, String) - Method in interface com.opencsv.bean.BeanField
-
Populates the selected field of the bean.
- setFilter(CsvToBeanFilter) - Method in class com.opencsv.bean.CsvToBean
-
Sets a filter to selectively remove some lines of input before they
become beans.
- setLineNumber(long) - Method in exception com.opencsv.exceptions.CsvException
-
- setMappingStrategy(MappingStrategy<T>) - Method in class com.opencsv.bean.CsvToBean
-
Sets the mapping strategy to be used by this bean.
- setMultilineLimit(int) - Method in class com.opencsv.CSVReader
-
- setMustStop(boolean) - Method in class com.opencsv.bean.concurrent.AccumulateCsvResults
-
Tells the accumulator whether it should stop.
- setOrderedResults(boolean) - Method in class com.opencsv.bean.CsvToBean
-
Sets whether or not results must be returned in the same order in which
they appear in the input.
- setOrderedResults(boolean) - Method in class com.opencsv.bean.StatefulBeanToCsv
-
Sets whether or not results must be written in the same order in which
they appear in the list of beans provided as input.
- setRequired(boolean) - Method in class com.opencsv.bean.AbstractBeanField
-
- setRequired(boolean) - Method in interface com.opencsv.bean.BeanField
-
Determines whether or not a field is required.
- setResultService(ResultSetHelper) - Method in class com.opencsv.CSVWriter
-
Sets the result service.
- setThrowExceptions(boolean) - Method in class com.opencsv.bean.CsvToBean
-
- setType(Class<? extends T>) - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
-
Sets the class type that is being mapped.
- setType(Class<? extends T>) - Method in class com.opencsv.bean.HeaderColumnNameMappingStrategy
-
Sets the class type that is being mapped.
- setType(Class<? extends T>) - Method in interface com.opencsv.bean.MappingStrategy
-
Sets the class type that is being mapped.
- skipLines - Variable in class com.opencsv.CSVReader
-
- StatefulBeanToCsv<T> - Class in com.opencsv.bean
-
This class writes beans out in CSV format to a
Writer
,
keeping state information and making an intelligent guess at the mapping
strategy to be applied.
- StatefulBeanToCsv(char, String, MappingStrategy<T>, char, char, boolean, Writer) - Constructor for class com.opencsv.bean.StatefulBeanToCsv
-
The only constructor that should be used.
- StatefulBeanToCsvBuilder<T> - Class in com.opencsv.bean
-
This is a builder for StatefulBeanToCsv, allowing one to set all parameters
necessary for writing a CSV file.
- StatefulBeanToCsvBuilder(Writer) - Constructor for class com.opencsv.bean.StatefulBeanToCsvBuilder
-
Default constructor - Being stateful the writer is required by the builder at the start and not added in later.
- stringContainsSpecialCharacters(String) - Method in class com.opencsv.CSVWriter
-
Checks to see if the line contains special characters.
- WAHR - Static variable in class com.opencsv.bean.customconverter.ConvertGermanToBoolean
-
- withCSVParser(ICSVParser) - Method in class com.opencsv.CSVReaderBuilder
-
Sets the parser to use to parse the input.
- withErrorLocale(Locale) - Method in class com.opencsv.bean.CsvToBeanBuilder
-
Sets the locale for all error messages.
- withErrorLocale(Locale) - Method in class com.opencsv.bean.IterableCSVToBeanBuilder
-
Deprecated.
Sets the locale for all error messages.
- withErrorLocale(Locale) - Method in class com.opencsv.bean.StatefulBeanToCsvBuilder
-
Sets the locale to be used for all error messages.
- withErrorLocale(Locale) - Method in class com.opencsv.CSVParserBuilder
-
Sets the locale for all error messages.
- withErrorLocale(Locale) - Method in class com.opencsv.CSVReaderBuilder
-
Sets the locale for all error messages.
- withEscapeChar(char) - Method in class com.opencsv.bean.CsvToBeanBuilder
-
- withEscapechar(char) - Method in class com.opencsv.bean.StatefulBeanToCsvBuilder
-
- withEscapeChar(char) - Method in class com.opencsv.CSVParserBuilder
-
Sets the character to use for escaping a separator or quote.
- withFieldAsNull(CSVReaderNullFieldIndicator) - Method in class com.opencsv.bean.CsvToBeanBuilder
-
- withFieldAsNull(CSVReaderNullFieldIndicator) - Method in class com.opencsv.CSVParserBuilder
-
Sets the NullFieldIndicator.
- withFieldAsNull(CSVReaderNullFieldIndicator) - Method in class com.opencsv.CSVReaderBuilder
-
Checks to see if it should treat a field with two separators, two quotes, or both as a null field.
- withFieldAsNull(CSVReaderNullFieldIndicator) - Method in class com.opencsv.RFC4180ParserBuilder
-
Sets the NullFieldIndicator.
- withFilter(CsvToBeanFilter) - Method in class com.opencsv.bean.CsvToBeanBuilder
-
- withFilter(CsvToBeanFilter) - Method in class com.opencsv.bean.IterableCSVToBeanBuilder
-
Deprecated.
Sets the filter used to remove unwanted data from the CSV file.
- withIgnoreLeadingWhiteSpace(boolean) - Method in class com.opencsv.bean.CsvToBeanBuilder
-
- withIgnoreLeadingWhiteSpace(boolean) - Method in class com.opencsv.CSVParserBuilder
-
Sets the ignore leading whitespace setting - if true, white space
in front of a quote in a field is ignored.
- withIgnoreQuotations(boolean) - Method in class com.opencsv.bean.CsvToBeanBuilder
-
- withIgnoreQuotations(boolean) - Method in class com.opencsv.CSVParserBuilder
-
Sets the ignore quotations mode - if true, quotations are ignored.
- withKeepCarriageReturn(boolean) - Method in class com.opencsv.bean.CsvToBeanBuilder
-
- withKeepCarriageReturn(boolean) - Method in class com.opencsv.CSVReaderBuilder
-
Sets if the reader will keep or discard carriage returns.
- withLineEnd(String) - Method in class com.opencsv.bean.StatefulBeanToCsvBuilder
-
- withMapper(MappingStrategy<T>) - Method in class com.opencsv.bean.IterableCSVToBeanBuilder
-
Deprecated.
Sets the MappingStrategy to be used by the builder.
- withMappingStrategy(MappingStrategy<T>) - Method in class com.opencsv.bean.CsvToBeanBuilder
-
- withMappingStrategy(MappingStrategy<T>) - Method in class com.opencsv.bean.StatefulBeanToCsvBuilder
-
Sets the mapping strategy for writing beans to a CSV destination.
- withMultilineLimit(int) - Method in class com.opencsv.bean.CsvToBeanBuilder
-
Sets the maximum number of lines allowed in a multiline record.
- withMultilineLimit(int) - Method in class com.opencsv.CSVReaderBuilder
-
Sets the maximum number of lines allowed in a multiline record.
- withOrderedResults(boolean) - Method in class com.opencsv.bean.CsvToBeanBuilder
-
Sets whether the resulting beans must be ordered as in the input.
- withOrderedResults(boolean) - Method in class com.opencsv.bean.StatefulBeanToCsvBuilder
-
Sets whether or not results must be written in the same order in which
they appear in the list of beans provided as input.
- withQuoteChar(char) - Method in class com.opencsv.bean.CsvToBeanBuilder
-
- withQuotechar(char) - Method in class com.opencsv.bean.StatefulBeanToCsvBuilder
-
- withQuoteChar(char) - Method in class com.opencsv.CSVParserBuilder
-
Sets the character to use for quoted elements.
- withQuoteChar(char) - Method in class com.opencsv.RFC4180ParserBuilder
-
Sets the character to use for quoted elements.
- withReader(CSVReader) - Method in class com.opencsv.bean.IterableCSVToBeanBuilder
-
Deprecated.
Sets the reader to be used by the builder.
- withSeparator(char) - Method in class com.opencsv.bean.CsvToBeanBuilder
-
- withSeparator(char) - Method in class com.opencsv.bean.StatefulBeanToCsvBuilder
-
- withSeparator(char) - Method in class com.opencsv.CSVParserBuilder
-
Sets the delimiter to use for separating entries.
- withSeparator(char) - Method in class com.opencsv.RFC4180ParserBuilder
-
Sets the delimiter to use for separating entries.
- withSkipLines(int) - Method in class com.opencsv.bean.CsvToBeanBuilder
-
- withSkipLines(int) - Method in class com.opencsv.CSVReaderBuilder
-
Sets the number of lines to skip before reading.
- withStrictQuotes(boolean) - Method in class com.opencsv.bean.CsvToBeanBuilder
-
- withStrictQuotes(boolean) - Method in class com.opencsv.CSVParserBuilder
-
Sets the strict quotes setting - if true, characters
outside the quotes are ignored.
- withThrowExceptions(boolean) - Method in class com.opencsv.bean.CsvToBeanBuilder
-
- withThrowExceptions(boolean) - Method in class com.opencsv.bean.StatefulBeanToCsvBuilder
-
- withType(Class<? extends T>) - Method in class com.opencsv.bean.CsvToBeanBuilder
-
Sets the type of the bean to be populated.
- withVerifyReader(boolean) - Method in class com.opencsv.bean.CsvToBeanBuilder
-
- withVerifyReader(boolean) - Method in class com.opencsv.CSVReaderBuilder
-
Checks to see if the CSVReader should verify the reader state before
reads or not.
- write(T) - Method in class com.opencsv.bean.AbstractBeanField
-
This method takes the current value of the field in question in the bean
passed in and converts it to a string.
- write(T) - Method in interface com.opencsv.bean.BeanField
-
This method takes the current value of the field in question in the bean
passed in and converts it to a string.
- write(T) - Method in class com.opencsv.bean.StatefulBeanToCsv
-
Writes a bean out to the
Writer
provided to the
constructor.
- write(List<T>) - Method in class com.opencsv.bean.StatefulBeanToCsv
-
Writes a list of beans out to the
Writer
provided to the
constructor.
- writeAll(Iterable<String[]>, boolean) - Method in class com.opencsv.CSVWriter
-
Writes iterable to a CSV file.
- writeAll(List<String[]>, boolean) - Method in class com.opencsv.CSVWriter
-
Writes the entire list to a CSV file.
- writeAll(Iterable<String[]>) - Method in class com.opencsv.CSVWriter
-
Writes iterable to a CSV file.
- writeAll(List<String[]>) - Method in class com.opencsv.CSVWriter
-
Writes the entire list to a CSV file.
- writeAll(ResultSet, boolean) - Method in class com.opencsv.CSVWriter
-
Writes the entire ResultSet to a CSV file.
- writeAll(ResultSet, boolean, boolean) - Method in class com.opencsv.CSVWriter
-
Writes the entire ResultSet to a CSV file.
- writeAll(ResultSet, boolean, boolean, boolean) - Method in class com.opencsv.CSVWriter
-
Writes the entire ResultSet to a CSV file.
- writeColumnNames(ResultSet, boolean) - Method in class com.opencsv.CSVWriter
-
Writes the column names.
- writeNext(String[], boolean) - Method in class com.opencsv.CSVWriter
-
Writes the next line to the file.
- writeNext(String[], boolean, Appendable) - Method in class com.opencsv.CSVWriter
-
Writes the next line to the file.
- writeNext(String[]) - Method in class com.opencsv.CSVWriter
-
Writes the next line to the file.
- writer - Variable in class com.opencsv.CSVWriter
-