Package | Description |
---|---|
com.opencsv.bean |
A bean binding interface for use with opencsv.
|
com.opencsv.exceptions |
This package contains all of the exceptions specific to opencsv.
|
Modifier and Type | Method and Description |
---|---|
T |
AbstractMappingStrategy.populateNewBean(String[] line) |
T |
MappingStrategy.populateNewBean(String[] line)
Takes a line of input from a CSV file and creates a bean out of it.
|
String[] |
AbstractMappingStrategy.transmuteBean(T bean) |
String[] |
MappingStrategy.transmuteBean(T bean)
Transmutes a bean instance into an array of
String s to be written
to a CSV file. |
Modifier and Type | Class and Description |
---|---|
class |
CsvConstraintViolationException
This exception is thrown when logical connections between data fields would
be violated by the imported data.
|
class |
CsvDataTypeMismatchException
This exception should be thrown when the provided string value for conversion
cannot be converted to the required type of the destination field.
|
class |
CsvRequiredFieldEmptyException
This exception should be thrown when a field marked as required is empty in
the CSV file.
|
class |
CsvValidationException
Exception thrown by a
LineValidator or
LineValidatorAggregator when a single line is invalid. |
Modifier and Type | Method and Description |
---|---|
CsvFieldAssignmentException |
CsvChainedException.getFirstException()
Convenience method to return the first exception from the exception chain.
|
Modifier and Type | Method and Description |
---|---|
List<CsvFieldAssignmentException> |
CsvChainedException.getExceptionChain() |
Modifier and Type | Method and Description |
---|---|
void |
CsvChainedException.add(CsvFieldAssignmentException csve)
Add an exception to the chain of collections.
|
Constructor and Description |
---|
CsvChainedException(CsvFieldAssignmentException csve)
Constructor.
|
Copyright © 2005–2023. All rights reserved.