| Modifier and Type | Field and Description |
|---|---|
| private final CsvExceptionHandler | |
| private final SortedSet | |
| private final CsvToBeanFilter | |
| private final String[] | |
| private final long | |
| private final MappingStrategy | |
| private final BlockingQueue | |
| private final BlockingQueue | |
| private final List |
| Access | Constructor and Description |
|---|---|
| public | ProcessCsvLine(long
Which record in the input file is being processed lineNumber, MappingStrategy<? extends T> The mapping strategy to be used mapper, CsvToBeanFilter A filter to remove beans from the running, if necessary.
May be null. filter, List<BeanVerifier<T>> The list of verifiers to run on beans after creation verifiers, String[] The line of input to be transformed into a bean line, BlockingQueue<OrderedObject<T>> A queue in which to place the bean created resultantBeanQueue, BlockingQueue<OrderedObject<CsvException>> A queue in which to place a thrown
exception, if one is thrown thrownExceptionsQueue, SortedSet<Long> A list of outstanding record numbers so gaps
in ordering due to filtered input or exceptions
while converting can be detected. expectedRecords, CsvExceptionHandler The handler for exceptions thrown during record
processing exceptionHandler)The only constructor for creating a bean out of a line of input. |
| Modifier and Type | Method and Description |
|---|---|
| private T | Returns: Object containing the values.Creates a single object from a line from the CSV file. |
| public void |
| exceptionHandler | back to summary |
|---|---|
| private final CsvExceptionHandler exceptionHandler | |
| expectedRecords | back to summary |
|---|---|
| private final SortedSet<Long> expectedRecords | |
| filter | back to summary |
|---|---|
| private final CsvToBeanFilter filter | |
| line | back to summary |
|---|---|
| private final String[] line | |
| lineNumber | back to summary |
|---|---|
| private final long lineNumber | |
| mapper | back to summary |
|---|---|
| private final MappingStrategy<? extends T> mapper | |
| resultantBeanQueue | back to summary |
|---|---|
| private final BlockingQueue<OrderedObject<T>> resultantBeanQueue | |
| thrownExceptionsQueue | back to summary |
|---|---|
| private final BlockingQueue<OrderedObject<CsvException>> thrownExceptionsQueue | |
| verifiers | back to summary |
|---|---|
| private final List<BeanVerifier<T>> verifiers | |
| ProcessCsvLine | back to summary |
|---|---|
| public ProcessCsvLine(long lineNumber, MappingStrategy<? extends T> mapper, CsvToBeanFilter filter, List<BeanVerifier<T>> verifiers, String[] line, BlockingQueue<OrderedObject<T>> resultantBeanQueue, BlockingQueue<OrderedObject<CsvException>> thrownExceptionsQueue, SortedSet<Long> expectedRecords, CsvExceptionHandler exceptionHandler) The only constructor for creating a bean out of a line of input.
| |
| processLine | back to summary |
|---|---|
| private T processLine() throws CsvBeanIntrospectionException, CsvBadConverterException, CsvFieldAssignmentException, CsvChainedException Creates a single object from a line from the CSV file.
| |
| run | back to summary |
|---|---|
| public void run() Implements java. Doc from java. Runs this operation.
| |