Top Description Constructors Methods
com.univocity.parsers.common.processor

public abstract Class MultiBeanProcessor

extends AbstractMultiBeanProcessor<ParsingContext>
implements RowProcessor
Class Inheritance
All Implemented Interfaces
com.univocity.parsers.common.processor.RowProcessor, com.univocity.parsers.common.processor.core.Processor
Imports
com.univocity.parsers.common.*, com.univocity.parsers.common.processor.core.*

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

The class types passed to the constructor of this class must contain the annotations provided in com.univocity.parsers.annotations.

For each row processed, one or more java bean instances of any given class will be created with their fields populated.

Each individual instance will then be sent to the MultiBeanProcessor#beanProcessed(Class, Object, Context) method, where the user can access the beans parsed for each row.

Author
Univocity Software Pty Ltd - [email protected]
See Also
AbstractParser, RowProcessor, BeanProcessor

Constructor Summary

AccessConstructor and Description
public
MultiBeanProcessor(Class<T>...
the classes with their attributes mapped to fields of records parsed by an AbstractParser or written by an AbstractWriter.
beanTypes
)

Creates a processor for java beans of multiple types

Method Summary

Inherited from com.univocity.parsers.common.processor.core.AbstractMultiBeanProcessor:
beanProcessedconvertAllconvertFieldsconvertIndexesconvertTypegetBeanClassesgetProcessorOfTypeprocessEndedprocessStartedrowProcessed

Constructor Detail

MultiBeanProcessorback to summary
public MultiBeanProcessor(Class<T>... beanTypes)

Creates a processor for java beans of multiple types

Parameters
beanTypes:Class<T>[]

the classes with their attributes mapped to fields of records parsed by an AbstractParser or written by an AbstractWriter.