com.univocity.parsers.common.processor
Class ObjectRowProcessor

java.lang.Object
  extended by com.univocity.parsers.common.DefaultConversionProcessor
      extended by com.univocity.parsers.common.processor.core.AbstractObjectProcessor<ParsingContext>
          extended by com.univocity.parsers.common.processor.ObjectRowProcessor
All Implemented Interfaces:
ConversionProcessor, Processor<ParsingContext>, RowProcessor

public abstract class ObjectRowProcessor
extends AbstractObjectProcessor<ParsingContext>
implements RowProcessor

A RowProcessor implementation for converting rows extracted from any implementation of AbstractParser into arrays of objects.

This uses the value conversions provided by Conversion instances.

For each row processed, a sequence of conversions will be executed and stored in an object array, at its original position.

The row with the result of these conversions will then be sent to the AbstractObjectProcessor.rowProcessed(Object[], Context) method, where the user can access it.

Author:
uniVocity Software Pty Ltd - parsers@univocity.com
See Also:
AbstractParser, RowProcessor

Constructor Summary
ObjectRowProcessor()
           
 
Method Summary
 
Methods inherited from class com.univocity.parsers.common.processor.core.AbstractObjectProcessor
processEnded, processStarted, rowProcessed, rowProcessed
 
Methods inherited from class com.univocity.parsers.common.DefaultConversionProcessor
applyConversions, convertAll, convertFields, convertIndexes, convertType, handleConversionError, initializeConversions, reverseConversions, toDataProcessingException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.univocity.parsers.common.processor.RowProcessor
processEnded, processStarted, rowProcessed
 

Constructor Detail

ObjectRowProcessor

public ObjectRowProcessor()


Copyright © 2017 uniVocity Software Pty Ltd. All rights reserved.