- 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
-
Retrieves the header from the CSVReader.
- 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.
- checkError() - Method in class com.opencsv.CSVWriter
-
Checks to see if the there has been an error in the printstream.
- 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 simple bean binding interface for use with opencsv.
- convertValue(String, PropertyDescriptor) - Method in class com.opencsv.bean.CsvToBean
-
Convert a string value to its Object value.
- createBean() - Method in class com.opencsv.bean.HeaderColumnNameMappingStrategy
-
Creates an object to be mapped.
- 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.
- CSVIterator - Class in com.opencsv
-
Provides an Iterator over the data found in opencsv.
- CSVIterator(CSVReader) - Constructor for class com.opencsv.CSVIterator
-
- CSVParser - Class in com.opencsv
-
A very simple CSV parser released under a commercial-friendly license.
- CSVParser() - Constructor for class com.opencsv.CSVParser
-
Constructs CSVParser using a comma for the separator.
- CSVParser(char) - Constructor for class com.opencsv.CSVParser
-
Constructs CSVParser with supplied separator.
- CSVParser(char, char) - Constructor for class com.opencsv.CSVParser
-
Constructs CSVParser with supplied separator and quote char.
- CSVParser(char, char, char) - Constructor for class com.opencsv.CSVParser
-
Constructs CSVReader with supplied separator and quote char.
- CSVParser(char, char, char, boolean) - Constructor for class com.opencsv.CSVParser
-
Constructs CSVParser with supplied separator and quote char.
- CSVParser(char, char, char, boolean, boolean) - Constructor for class com.opencsv.CSVParser
-
Constructs CSVParser with supplied separator and quote char.
- CSVParser(char, char, char, boolean, boolean, boolean) - Constructor for class com.opencsv.CSVParser
-
Constructs CSVParser with supplied separator and quote char.
- CSVParserBuilder - Class in com.opencsv
-
Builder for creating a CSVParser.
- CSVParserBuilder() - Constructor for class com.opencsv.CSVParserBuilder
-
Default constructor.
- CSVReader - Class in com.opencsv
-
A very simple CSV reader released under a commercial-friendly license.
- CSVReader(Reader) - Constructor for class com.opencsv.CSVReader
-
Constructs CSVReader using a comma for the separator.
- CSVReader(Reader, char) - Constructor for class com.opencsv.CSVReader
-
Constructs CSVReader with supplied separator.
- CSVReader(Reader, char, char) - Constructor for class com.opencsv.CSVReader
-
Constructs CSVReader with supplied separator and quote char.
- CSVReader(Reader, char, char, boolean) - Constructor for class com.opencsv.CSVReader
-
Constructs CSVReader with supplied separator, quote char and quote handling
behavior.
- CSVReader(Reader, char, char, char) - Constructor for class com.opencsv.CSVReader
-
Constructs CSVReader with supplied separator and quote char.
- CSVReader(Reader, char, char, int) - Constructor for class com.opencsv.CSVReader
-
Constructs CSVReader with supplied separator and quote char.
- CSVReader(Reader, char, char, char, int) - Constructor for class com.opencsv.CSVReader
-
Constructs CSVReader with supplied separator and quote char.
- CSVReader(Reader, char, char, char, int, boolean) - Constructor for class com.opencsv.CSVReader
-
Constructs CSVReader with supplied separator and quote char.
- CSVReader(Reader, char, char, char, int, boolean, boolean) - Constructor for class com.opencsv.CSVReader
-
Constructs CSVReader with supplied separator and quote char.
- CSVReader(Reader, int, CSVParser) - Constructor for class com.opencsv.CSVReader
-
Constructs CSVReader with supplied separator and quote char.
- CSVReaderBuilder - Class in com.opencsv
-
Builder for creating a CSVReader.
- CsvToBean<T> - Class in com.opencsv.bean
-
Converts CSV data to objects.
- CsvToBean() - Constructor for class com.opencsv.bean.CsvToBean
-
Default constructor.
- CsvToBeanFilter - Interface in com.opencsv.bean
-
Here's an example showing how to use
CsvToBean
with a column
name mapping and line filtering.
- CSVWriter - Class in com.opencsv
-
A very simple CSV writer released under a commercial-friendly license.
- CSVWriter(Writer) - Constructor for class com.opencsv.CSVWriter
-
Constructs CSVWriter using a comma for the separator.
- CSVWriter(Writer, char) - Constructor for class com.opencsv.CSVWriter
-
Constructs CSVWriter with supplied separator.
- CSVWriter(Writer, char, char) - Constructor for class com.opencsv.CSVWriter
-
Constructs CSVWriter with supplied separator and quote char.
- CSVWriter(Writer, char, char, char) - Constructor for class com.opencsv.CSVWriter
-
Constructs CSVWriter with supplied separator and quote char.
- CSVWriter(Writer, char, char, String) - Constructor for class com.opencsv.CSVWriter
-
Constructs CSVWriter with supplied separator and quote char.
- CSVWriter(Writer, char, char, char, String) - Constructor for class com.opencsv.CSVWriter
-
Constructs CSVWriter with supplied separator, quote char, escape char and line ending.
- getColumnIndex(String) - Method in class com.opencsv.bean.ColumnPositionMappingStrategy
-
gets the column position for a given column name.
- getColumnIndex(String) - Method in class com.opencsv.bean.HeaderColumnNameMappingStrategy
-
Gets the column index that corresponds to a specific colum name.
- getColumnIndex(String) - Method in interface com.opencsv.bean.MappingStrategy
-
Gets the column index that corresponds to a specific colum 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
-
Retrieves the column name for a given column position
- getColumnNames(ResultSet) - Method in interface com.opencsv.ResultSetHelper
-
Returns the column Names from the ResultSet.
- getColumnNames(ResultSet) - Method in class com.opencsv.ResultSetHelperService
-
Returns the column names 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
-
Get all the column values from the result set.
- getColumnValues(ResultSet, boolean) - Method in class com.opencsv.ResultSetHelperService
-
Get all the column values from the result set.
- getColumnValues(ResultSet, boolean, String, String) - Method in class com.opencsv.ResultSetHelperService
-
Get all the column values from the result set.
- getCsvParser() - Method in class com.opencsv.CSVReaderBuilder
-
used by unit tests.
- getEscape() - Method in class com.opencsv.CSVParser
-
- getEscapeChar() - Method in class com.opencsv.CSVParserBuilder
-
- getParser() - Method in class com.opencsv.CSVReader
-
- getPropertyEditor(PropertyDescriptor) - Method in class com.opencsv.bean.CsvToBean
-
Attempt to find custom property editor on descriptor first, else try the propery editor manager.
- getQuotechar() - Method in class com.opencsv.CSVParser
-
- getQuoteChar() - Method in class com.opencsv.CSVParserBuilder
-
- getReader() - Method in class com.opencsv.CSVReaderBuilder
-
Used by unit tests.
- getSeparator() - Method in class com.opencsv.CSVParser
-
- getSeparator() - Method in class com.opencsv.CSVParserBuilder
-
- getSkipLines() - Method in class com.opencsv.CSVReader
-
Returns the number of lines in the csv file to skip before processing.
- getSkipLines() - Method in class com.opencsv.CSVReaderBuilder
-
used by unit tests.
- getType() - Method in class com.opencsv.bean.HeaderColumnNameMappingStrategy
-
Deprecated.