|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Context | |
|---|---|
| com.univocity.parsers.common | |
| com.univocity.parsers.common.processor.core | |
| com.univocity.parsers.common.record | |
| Uses of Context in com.univocity.parsers.common |
|---|
| Classes in com.univocity.parsers.common with type parameters of type Context | |
|---|---|
class |
ContextSnapshot<T extends Context>
A snapshot of a Context which retains copies of variable attributes of a given Context to
store the state of the parsing process at a given point in time. |
class |
ContextWrapper<T extends Context>
A simple a wrapper for a Context. |
interface |
IterableResult<T,C extends Context>
An Iterable result that provides the current parsing context
through the IterableResult.getContext() method |
class |
NoopProcessorErrorHandler<T extends Context>
An (singleton) implementation of ProcessorErrorHandler that simply rethrows any DataProcessingException
that comes into its NoopProcessorErrorHandler.handleError(DataProcessingException, Object[], Context)} method |
interface |
ProcessorErrorHandler<T extends Context>
The ProcessorErrorHandler is a callback used by the parser/writer to handle non-fatal DataProcessingExceptions that may occur when
processing rows using a Processor or RowWriterProcessor. |
interface |
ResultIterator<T,C extends Context>
An Iterator that provides the current parsing context
through the ResultIterator.getContext() method |
class |
RetryableErrorHandler<T extends Context>
A ProcessorErrorHandler implementation that gives the user a chance to provide a default value for
columns that could not be processed due to an exception, through the method RetryableErrorHandler.setDefaultValue(Object). |
| Subinterfaces of Context in com.univocity.parsers.common | |
|---|---|
interface |
ParsingContext
Parsing context information available to instances of RowProcessor. |
| Classes in com.univocity.parsers.common that implement Context | |
|---|---|
class |
ContextSnapshot<T extends Context>
A snapshot of a Context which retains copies of variable attributes of a given Context to
store the state of the parsing process at a given point in time. |
class |
ContextWrapper<T extends Context>
A simple a wrapper for a Context. |
class |
DefaultContext
Default implementation of the Context interface with essential information about the output being produced. |
class |
DefaultParsingContext
The default ParsingContext implementation used internally by AbstractParser to expose information about a parsing process in execution. |
class |
ParsingContextSnapshot
A snapshot of a ParsingContext which retains copies of variable attributes of a given ParsingContext to
store the state of the parsing process at a given point in time. |
class |
ParsingContextWrapper
A simple a wrapper for a ParsingContext. |
| Fields in com.univocity.parsers.common declared as Context | |
|---|---|
protected T |
ContextWrapper.context
|
| Methods in com.univocity.parsers.common with type parameters of type Context | ||
|---|---|---|
|
CommonParserSettings.getProcessor()
Returns the callback implementation of the interface Processor which handles the lifecycle of the parsing process and processes each record extracted from the input |
|
|
CommonSettings.getProcessorErrorHandler()
Returns the custom error handler to be used to capture and handle errors that might happen while processing records with a Processor
or a RowWriterProcessor (i.e. |
|
| Methods in com.univocity.parsers.common with parameters of type Context | |
|---|---|
Object[] |
DefaultConversionProcessor.applyConversions(String[] row,
Context context)
Executes the sequences of conversions defined using DefaultConversionProcessor.convertFields(Conversion...), DefaultConversionProcessor.convertIndexes(Conversion...) and DefaultConversionProcessor.convertAll(Conversion...), for every field in the given row. |
protected void |
DefaultConversionProcessor.initializeConversions(String[] row,
Context context)
|
protected void |
TextParsingException.setContext(Context context)
|
| Method parameters in com.univocity.parsers.common with type arguments of type Context | |
|---|---|
void |
CommonParserSettings.setProcessor(Processor<? extends Context> processor)
Defines the callback implementation of the interface Processor which handles the lifecycle of the parsing process and processes each record extracted from the input |
void |
CommonSettings.setProcessorErrorHandler(ProcessorErrorHandler<? extends Context> processorErrorHandler)
Defines a custom error handler to capture and handle errors that might happen while processing records with a Processor
or a RowWriterProcessor (i.e. |
| Constructors in com.univocity.parsers.common with parameters of type Context | |
|---|---|
ColumnMap(Context context,
ParserOutput output)
|
|
TextParsingException(Context context,
String message,
Throwable cause)
Creates a new exception with information about an error that occurred when parsing some input. |
|
| Uses of Context in com.univocity.parsers.common.processor.core |
|---|
| Classes in com.univocity.parsers.common.processor.core with type parameters of type Context | |
|---|---|
class |
AbstractBatchedColumnProcessor<T extends Context>
A Processor implementation that stores values of columns in batches. |
class |
AbstractBatchedObjectColumnProcessor<T extends Context>
A Processor implementation for converting batches of rows extracted from any implementation of AbstractParser into columns of objects. |
class |
AbstractBeanListProcessor<T,C extends Context>
A convenience Processor implementation for storing all java objects generated form the parsed input into a list. |
class |
AbstractBeanProcessor<T,C extends Context>
A Processor implementation for converting rows extracted from any implementation of AbstractParser into java objects. |
class |
AbstractColumnProcessor<T extends Context>
A simple Processor implementation that stores values of columns. |
class |
AbstractConcurrentProcessor<T extends Context>
A Processor implementation to perform row processing tasks in parallel. |
class |
AbstractInputValueSwitch<T extends Context>
A concrete implementation of Processor that allows switching among different implementations of
Processor based on values found on the rows parsed from the input. |
class |
AbstractListProcessor<T extends Context>
A convenience Processor implementation for storing all rows parsed into a list. |
class |
AbstractMasterDetailListProcessor<T extends Context>
A convenience Processor implementation for storing all MasterDetailRecord generated form the parsed input into a list. |
class |
AbstractMasterDetailProcessor<T extends Context>
A Processor implementation for associating rows extracted from any implementation of AbstractParser into MasterDetailRecord instances. |
class |
AbstractMultiBeanListProcessor<C extends Context>
A Processor implementation for converting rows extracted from any implementation of AbstractParser into java objects, storing
them into lists. |
class |
AbstractMultiBeanProcessor<C extends Context>
A Processor implementation for converting rows extracted from any implementation of AbstractParser into java objects. |
class |
AbstractMultiBeanRowProcessor<C extends Context>
A Processor implementation for converting rows extracted from any implementation of AbstractParser into java objects. |
class |
AbstractObjectColumnProcessor<T extends Context>
A Processor implementation for converting rows extracted from any implementation of AbstractParser into columns of objects. |
class |
AbstractObjectListProcessor<T extends Context>
A convenience Processor implementation for storing all rows parsed and converted to Object arrays into a list. |
class |
AbstractObjectProcessor<T extends Context>
A Processor implementation for converting rows extracted from any implementation of AbstractParser into arrays of objects. |
class |
AbstractProcessor<T extends Context>
A Processor implementation that just implements all methods defined by the interface. |
class |
AbstractProcessorSwitch<T extends Context>
A special Processor implementation that combines and allows switching among different
Processors. |
class |
CompositeProcessor<C extends Context>
A utility Processor implementation that facilitates using multiple implementations of Processor at the
same time. |
interface |
Processor<T extends Context>
The essential callback interface to handle records parsed by any parser that extends AbstractParser. |
| Methods in com.univocity.parsers.common.processor.core with parameters of type Context | |
|---|---|
T |
BeanConversionProcessor.createBean(String[] row,
Context context)
Converts a record with values extracted from the parser into a java bean instance. |
| Uses of Context in com.univocity.parsers.common.record |
|---|
| Methods in com.univocity.parsers.common.record with parameters of type Context | |
|---|---|
com.univocity.parsers.common.record.RecordMetaDataImpl |
RecordFactory.createMetaData(Context context)
|
abstract M |
AbstractRecordFactory.createMetaData(Context context)
|
| Constructors in com.univocity.parsers.common.record with parameters of type Context | |
|---|---|
AbstractRecordFactory(Context context)
Creates a new factory of Record based the state of a parser |
|
RecordFactory(Context context)
Creates a new factory of Record based the state of a parser |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||