Uses of Interface
com.univocity.parsers.common.processor.core.Processor
-
Packages that use Processor Package Description com.univocity.parsers.common com.univocity.parsers.common.processor com.univocity.parsers.common.processor.core -
-
Uses of Processor in com.univocity.parsers.common
Fields in com.univocity.parsers.common declared as Processor Modifier and Type Field Description protected Processor
AbstractParser. processor
private Processor<? extends Context>
CommonParserSettings. processor
Methods in com.univocity.parsers.common that return Processor Modifier and Type Method Description <T extends Context>
Processor<T>CommonParserSettings. getProcessor()
Returns the callback implementation of the interfaceProcessor
which handles the lifecycle of the parsing process and processes each record extracted from the inputMethods in com.univocity.parsers.common with parameters of type Processor Modifier and Type Method Description static <C extends Context>
voidInternal. process(java.lang.String[] row, Processor<C> processor, C context, ProcessorErrorHandler<C> errorHandler)
void
CommonParserSettings. setProcessor(Processor<? extends Context> processor)
Defines the callback implementation of the interfaceProcessor
which handles the lifecycle of the parsing process and processes each record extracted from the inputprivate static void
Internal. throwDataProcessingException(Processor processor, java.lang.Throwable t, java.lang.String[] row, int errorContentLength)
-
Uses of Processor in com.univocity.parsers.common.processor
Subinterfaces of Processor in com.univocity.parsers.common.processor Modifier and Type Interface Description interface
RowProcessor
The essential callback interface to handle records parsed by any parser that extendsAbstractParser
.Classes in com.univocity.parsers.common.processor that implement Processor Modifier and Type Class Description class
AbstractRowProcessor
ARowProcessor
implementation that just implements all methods defined by the interface.class
BatchedColumnProcessor
ARowProcessor
implementation that stores values of columns in batches.class
BatchedObjectColumnProcessor
ARowProcessor
implementation for converting batches of rows extracted from any implementation ofAbstractParser
into columns of objects.class
BeanListProcessor<T>
A convenienceBeanProcessor
implementation for storing all java objects generated form the parsed input into a list.class
BeanProcessor<T>
ARowProcessor
implementation for converting rows extracted from any implementation ofAbstractParser
into java objects.class
ColumnProcessor
A simpleRowProcessor
implementation that stores values of columns.class
CompositeRowProcessor
A utilityRowProcessor
implementation that facilitates using multiple implementations ofRowProcessor
at the same time.class
ConcurrentRowProcessor
ARowProcessor
implementation to perform row processing tasks in parallel.class
InputValueSwitch
A concrete implementation ofRowProcessorSwitch
that allows switching among different implementations ofRowProcessor
based on values found on the rows parsed from the input.class
MasterDetailListProcessor
A convenienceMasterDetailProcessor
implementation for storing allMasterDetailRecord
generated form the parsed input into a list.class
MasterDetailProcessor
ARowProcessor
implementation for associating rows extracted from any implementation ofAbstractParser
intoMasterDetailRecord
instances.class
MultiBeanListProcessor
ARowProcessor
implementation for converting rows extracted from any implementation ofAbstractParser
into java objects, storing them into lists.class
MultiBeanProcessor
ARowProcessor
implementation for converting rows extracted from any implementation ofAbstractParser
into java objects.class
MultiBeanRowProcessor
ARowProcessor
implementation for converting rows extracted from any implementation ofAbstractParser
into java objects.class
NoopRowProcessor
A singleton instance of aRowProcessor
that does nothing.class
ObjectColumnProcessor
ARowProcessor
implementation for converting rows extracted from any implementation ofAbstractParser
into columns of objects.class
ObjectRowListProcessor
A convenienceRowProcessor
implementation for storing all rows parsed and converted to Object arrays into a list.class
ObjectRowProcessor
ARowProcessor
implementation for converting rows extracted from any implementation ofAbstractParser
into arrays of objects.class
RowListProcessor
A convenienceRowProcessor
implementation for storing all rows parsed into a list.class
RowProcessorSwitch
A specialRowProcessor
implementation that combines and allows switching among different RowProcessors.Constructors in com.univocity.parsers.common.processor with parameters of type Processor Constructor Description CompositeRowProcessor(Processor... processors)
Creates a newCompositeProcessor
with the list ofProcessor
implementations to be used. -
Uses of Processor in com.univocity.parsers.common.processor.core
Classes in com.univocity.parsers.common.processor.core that implement Processor Modifier and Type Class Description class
AbstractBatchedColumnProcessor<T extends Context>
AProcessor
implementation that stores values of columns in batches.class
AbstractBatchedObjectColumnProcessor<T extends Context>
AProcessor
implementation for converting batches of rows extracted from any implementation ofAbstractParser
into columns of objects.class
AbstractBeanListProcessor<T,C extends Context>
A convenienceProcessor
implementation for storing all java objects generated form the parsed input into a list.class
AbstractBeanProcessor<T,C extends Context>
AProcessor
implementation for converting rows extracted from any implementation ofAbstractParser
into java objects.class
AbstractColumnProcessor<T extends Context>
A simpleProcessor
implementation that stores values of columns.class
AbstractConcurrentProcessor<T extends Context>
AProcessor
implementation to perform row processing tasks in parallel.class
AbstractInputValueSwitch<T extends Context>
class
AbstractListProcessor<T extends Context>
A convenienceProcessor
implementation for storing all rows parsed into a list.class
AbstractMasterDetailListProcessor<T extends Context>
A convenienceProcessor
implementation for storing allMasterDetailRecord
generated form the parsed input into a list.class
AbstractMasterDetailProcessor<T extends Context>
AProcessor
implementation for associating rows extracted from any implementation ofAbstractParser
intoMasterDetailRecord
instances.class
AbstractMultiBeanListProcessor<C extends Context>
AProcessor
implementation for converting rows extracted from any implementation ofAbstractParser
into java objects, storing them into lists.class
AbstractMultiBeanProcessor<C extends Context>
AProcessor
implementation for converting rows extracted from any implementation ofAbstractParser
into java objects.class
AbstractMultiBeanRowProcessor<C extends Context>
AProcessor
implementation for converting rows extracted from any implementation ofAbstractParser
into java objects.class
AbstractObjectColumnProcessor<T extends Context>
AProcessor
implementation for converting rows extracted from any implementation ofAbstractParser
into columns of objects.class
AbstractObjectListProcessor<T extends Context>
A convenienceProcessor
implementation for storing all rows parsed and converted to Object arrays into a list.class
AbstractObjectProcessor<T extends Context>
AProcessor
implementation for converting rows extracted from any implementation ofAbstractParser
into arrays of objects.class
AbstractProcessor<T extends Context>
AProcessor
implementation that just implements all methods defined by the interface.class
AbstractProcessorSwitch<T extends Context>
A specialProcessor
implementation that combines and allows switching among different Processors.class
CompositeProcessor<C extends Context>
class
NoopProcessor
A singleton instance of aProcessor
that does nothing.Fields in com.univocity.parsers.common.processor.core declared as Processor Modifier and Type Field Description static Processor
NoopProcessor. instance
The singleton instance of the no-opProcessor
private Processor
AbstractConcurrentProcessor. processor
(package private) Processor<T>
AbstractInputValueSwitch.Switch. processor
private Processor[]
CompositeProcessor. processors
private Processor
AbstractProcessorSwitch. selectedProcessor
Fields in com.univocity.parsers.common.processor.core with type parameters of type Processor Modifier and Type Field Description private java.util.Map<Processor,T>
AbstractProcessorSwitch. processors
Methods in com.univocity.parsers.common.processor.core that return Processor Modifier and Type Method Description protected Processor<T>
AbstractInputValueSwitch. switchRowProcessor(java.lang.String[] row, T context)
protected abstract Processor<T>
AbstractProcessorSwitch. switchRowProcessor(java.lang.String[] row, T context)
Analyzes the input to determine whether or not the row processor implementation must be changedMethods in com.univocity.parsers.common.processor.core with parameters of type Processor Modifier and Type Method Description void
AbstractInputValueSwitch. addSwitchForValue(CustomMatcher matcher, Processor<T> processor)
Associates aProcessor
implementation with a custom matching algorithm to be executed in the column provided in the constructor of this class.void
AbstractInputValueSwitch. addSwitchForValue(CustomMatcher matcher, Processor<T> processor, int... indexesToUse)
Associates aProcessor
implementation with a custom matching algorithm to be executed in the column provided in the constructor of this class.void
AbstractInputValueSwitch. addSwitchForValue(CustomMatcher matcher, Processor<T> processor, java.lang.String... headersToUse)
Associates aProcessor
implementation with a custom matching algorithm to be executed in the column provided in the constructor of this class.void
AbstractInputValueSwitch. addSwitchForValue(java.lang.String value, Processor<T> processor)
Associates aProcessor
implementation with an expected value to be matched in the column provided in the constructor of this class.void
AbstractInputValueSwitch. addSwitchForValue(java.lang.String value, Processor<T> processor, int... indexesToUse)
Associates aProcessor
implementation with an expected value to be matched in the column provided in the constructor of this class.void
AbstractInputValueSwitch. addSwitchForValue(java.lang.String value, Processor<T> processor, java.lang.String... headersToUse)
Associates aProcessor
implementation with an expected value to be matched in the column provided in the constructor of this class.void
AbstractProcessorSwitch. processorSwitched(Processor<T> from, Processor<T> to)
Notifies a change ofProcessor
implementation.void
AbstractInputValueSwitch. setDefaultSwitch(Processor<T> processor)
Defines a defaultProcessor
implementation to use when no matching value is found in the input row.void
AbstractInputValueSwitch. setDefaultSwitch(Processor<T> processor, int... indexesToUse)
Defines a defaultProcessor
implementation to use when no matching value is found in the input row.void
AbstractInputValueSwitch. setDefaultSwitch(Processor<T> processor, java.lang.String... headersToUse)
Defines a defaultProcessor
implementation to use when no matching value is found in the input row.Constructors in com.univocity.parsers.common.processor.core with parameters of type Processor Constructor Description AbstractConcurrentProcessor(Processor<T> processor)
Creates a non-blockingAbstractConcurrentProcessor
, to perform processing of rows parsed from the input in a separate thread.AbstractConcurrentProcessor(Processor<T> processor, int limit)
Creates a blockingConcurrentProcessor
, to perform processing of rows parsed from the input in a separate thread.CompositeProcessor(Processor... processors)
Creates a newCompositeProcessor
with the list ofProcessor
implementations to be used.Switch(Processor<T> processor, java.lang.String[] headers, int[] indexes, java.lang.String value, CustomMatcher matcher)
-