T - The type of the bean being createdpublic class ProcessCsvLine<T> extends Object implements Runnable
| Constructor and Description |
|---|
ProcessCsvLine(long lineNumber,
MappingStrategy<? extends T> mapper,
CsvToBeanFilter filter,
List<BeanVerifier<T>> verifiers,
String[] line,
BlockingQueue<OrderedObject<T>> resultantBeanQueue,
BlockingQueue<OrderedObject<CsvException>> thrownExceptionsQueue,
boolean throwExceptions)
The only constructor for creating a bean out of a line of input.
|
public ProcessCsvLine(long lineNumber,
MappingStrategy<? extends T> mapper,
CsvToBeanFilter filter,
List<BeanVerifier<T>> verifiers,
String[] line,
BlockingQueue<OrderedObject<T>> resultantBeanQueue,
BlockingQueue<OrderedObject<CsvException>> thrownExceptionsQueue,
boolean throwExceptions)
lineNumber - Which record in the input file is being processedmapper - The mapping strategy to be usedfilter - A filter to remove beans from the running, if necessary.
May be null.verifiers - The list of verifiers to run on beans after creationline - The line of input to be transformed into a beanresultantBeanQueue - A queue in which to place the bean createdthrownExceptionsQueue - A queue in which to place a thrown
exception, if one is thrownthrowExceptions - Whether exceptions should be thrown, ending
processing, or suppressed and saved for later processingCopyright © 2019. All rights reserved.