Uses of Class
com.opencsv.exceptions.CsvValidationException
-
Packages that use CsvValidationException Package Description com.opencsv A very simple CSV parser for Java released under a commercial-friendly license.com.opencsv.bean A bean binding interface for use with opencsv.com.opencsv.bean.concurrent This package collects all classes necessary for the parallel processing of beans.com.opencsv.bean.validators com.opencsv.validators -
-
Uses of CsvValidationException in com.opencsv
Methods in com.opencsv that throw CsvValidationException Modifier and Type Method Description private java.lang.String[]CSVReader. flexibleRead(boolean popLine, boolean validate)Reads a line of input, popping or validating as desired.java.util.Map<java.lang.String,java.lang.String>CSVReaderHeaderAware. readMap()Reads the next line and returns a map of header values and data values.java.lang.String[]CSVReader. readNext()Reads the next line from the buffer and converts to a string array.java.lang.String[]CSVReaderHeaderAware. readNext(java.lang.String... headerNames)Retrieves a specific data element from a line based on the value of the header.private voidCSVReader. validateLine(long lastSuccessfulLineRead, java.lang.String nextLine)Runs all line validators on the input.protected voidCSVReader. validateResult(java.lang.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 Constructor Description CSVIterator(CSVReader reader) -
Uses of CsvValidationException in com.opencsv.bean
Methods in com.opencsv.bean that throw CsvValidationException Modifier and Type Method Description private java.lang.StringAbstractBeanField. preProcessValue(PreAssignmentProcessor processor, java.lang.String value)private voidCsvToBean.CsvToBeanIterator. readLineWithPossibleError()voidAbstractBeanField. setFieldValue(java.lang.Object bean, java.lang.String value, java.lang.String header)protected voidAbstractMappingStrategy. setFieldValue(java.util.Map<java.lang.Class<?>,java.lang.Object> beanTree, java.lang.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(java.lang.Object bean, java.lang.String value, java.lang.String header)Populates the selected field of the bean.private voidAbstractBeanField. validateValue(PreAssignmentValidator validator, java.lang.String value) -
Uses of CsvValidationException in com.opencsv.bean.concurrent
Methods in com.opencsv.bean.concurrent that throw CsvValidationException Modifier and Type Method Description java.lang.String[]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 Modifier and Type Method Description voidMustMatchRegexExpression. validate(java.lang.String value, BeanField field)voidStringValidator. validate(java.lang.String value, BeanField field)Performs the validation check on the string and throws an exception if invalid. -
Uses of CsvValidationException in com.opencsv.validators
Methods in com.opencsv.validators that throw CsvValidationException Modifier and Type Method Description voidLineValidator. validate(java.lang.String line)Performs the validation check on the string and throws an exception if invalid.voidLineValidatorAggregator. validate(java.lang.String line)Runs all LineValidators validate commands and if the string is invalid then it combines all the validation error messages in a single CsvValidationException.voidRowFunctionValidator. validate(java.lang.String[] row)voidRowMustHaveSameNumberOfColumnsAsFirstRowValidator. validate(java.lang.String[] row)voidRowValidator. validate(java.lang.String[] row)Performs the validation check on the row (an array ofStrings) and throws an exception if invalid.voidRowValidatorAggregator. validate(java.lang.String[] row)Runs allRowValidators'RowValidator.validate(String[])methods and if the string array is invalid, then it combines all the validation error messages in a single CsvValidationException.
-