Uses of Class
com.opencsv.exceptions.CsvValidationException
Packages that use CsvValidationException
Package
Description
A very simple CSV parser for Java released under a commercial-friendly license.
A bean binding interface for use with opencsv.
This package collects all classes necessary for the parallel processing of
beans.
-
Uses of CsvValidationException in com.opencsv
Methods in com.opencsv that throw CsvValidationExceptionModifier and TypeMethodDescriptionprivate String[]
CSVReader.flexibleRead
(boolean popLine, boolean validate) Reads a line of input, popping or validating as desired.CSVReaderHeaderAware.readMap()
Reads the next line and returns a map of header values and data values.String[]
CSVReader.readNext()
Reads the next line from the buffer and converts to a string array.String[]
Retrieves a specific data element from a line based on the value of the header.private void
CSVReader.validateLine
(long lastSuccessfulLineRead, String nextLine) Runs all line validators on the input.protected void
CSVReader.validateResult
(String[] result, long lineStartOfRow) Increments the number of records read if the result passed in is not null.Constructors in com.opencsv that throw CsvValidationException -
Uses of CsvValidationException in com.opencsv.bean
Methods in com.opencsv.bean that throw CsvValidationExceptionModifier and TypeMethodDescriptionprivate String
AbstractBeanField.preProcessValue
(PreAssignmentProcessor processor, String value) private void
CsvToBean.CsvToBeanIterator.readLineWithPossibleError()
final void
AbstractBeanField.setFieldValue
(Object bean, String value, String header) protected void
AbstractMappingStrategy.setFieldValue
(Map<Class<?>, Object> beanTree, String value, int column) Populates the field corresponding to the column position indicated of the bean passed in according to the rules of the mapping strategy.void
BeanField.setFieldValue
(Object bean, String value, String header) Populates the selected field of the bean.private void
AbstractBeanField.validateValue
(PreAssignmentValidator validator, String value) -
Uses of CsvValidationException in com.opencsv.bean.concurrent
Methods in com.opencsv.bean.concurrent that throw CsvValidationExceptionModifier and TypeMethodDescriptionString[]
SingleLineReader.readNextLine()
Reads from theCSVReader
provided on instantiation until a usable line of input is found. -
Uses of CsvValidationException in com.opencsv.bean.validators
Methods in com.opencsv.bean.validators that throw CsvValidationException -
Uses of CsvValidationException in com.opencsv.validators
Methods in com.opencsv.validators that throw CsvValidationExceptionModifier and TypeMethodDescriptionvoid
Performs the validation check on the string and throws an exception if invalid.void
Runs all LineValidators validate commands and if the string is invalid then it combines all the validation error messages in a single CsvValidationException.void
void
void
Performs the validation check on the row (an array ofString
s) and throws an exception if invalid.void
Runs allRowValidator
s'RowValidator.validate(String[])
methods and if the string array is invalid, then it combines all the validation error messages in a single CsvValidationException.