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 voidCSVReader.validateLine(long lastSuccessfulLineRead, String nextLine) Runs all line validators on the input.protected voidCSVReader.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 StringAbstractBeanField.preProcessValue(PreAssignmentProcessor processor, String value) private voidCsvToBean.CsvToBeanIterator.readLineWithPossibleError()final voidAbstractBeanField.setFieldValue(Object bean, String value, String header) protected voidAbstractMappingStrategy.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.voidBeanField.setFieldValue(Object bean, String value, String header) Populates the selected field of the bean.private voidAbstractBeanField.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 theCSVReaderprovided 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 TypeMethodDescriptionvoidPerforms the validation check on the string and throws an exception if invalid.voidRuns all LineValidators validate commands and if the string is invalid then it combines all the validation error messages in a single CsvValidationException.voidvoidvoidPerforms the validation check on the row (an array ofStrings) and throws an exception if invalid.voidRuns allRowValidators'RowValidator.validate(String[])methods and if the string array is invalid, then it combines all the validation error messages in a single CsvValidationException.