Uses of Interface
com.univocity.parsers.common.Context
-
Packages that use Context Package Description com.univocity.parsers.common com.univocity.parsers.common.processor.core com.univocity.parsers.common.record com.univocity.parsers.fixed -
-
Uses of Context in com.univocity.parsers.common
Classes in com.univocity.parsers.common with type parameters of type Context Modifier and Type Class Description classContextSnapshot<T extends Context>classContextWrapper<T extends Context>A simple a wrapper for aContext.interfaceIterableResult<T,C extends Context>AnIterableresult that provides the current parsing context through theIterableResult.getContext()methodclassNoopProcessorErrorHandler<T extends Context>An (singleton) implementation ofProcessorErrorHandlerthat simply rethrows anyDataProcessingExceptionthat comes into itsNoopProcessorErrorHandler.handleError(DataProcessingException, Object[], Context)} methodinterfaceProcessorErrorHandler<T extends Context>TheProcessorErrorHandleris a callback used by the parser/writer to handle non-fatalDataProcessingExceptions that may occur when processing rows using aProcessororRowWriterProcessor.interfaceResultIterator<T,C extends Context>AnIteratorthat provides the current parsing context through theResultIterator.getContext()methodclassRetryableErrorHandler<T extends Context>AProcessorErrorHandlerimplementation that gives the user a chance to provide a default value for columns that could not be processed due to an exception, through the methodRetryableErrorHandler.setDefaultValue(Object).Subinterfaces of Context in com.univocity.parsers.common Modifier and Type Interface Description interfaceParsingContextParsing context information available to instances ofRowProcessor.Classes in com.univocity.parsers.common that implement Context Modifier and Type Class Description classContextSnapshot<T extends Context>classContextWrapper<T extends Context>A simple a wrapper for aContext.classDefaultContextDefault implementation of theContextinterface with essential information about the output being produced.classDefaultParsingContextThe defaultParsingContextimplementation used internally byAbstractParserto expose information about a parsing process in execution.(package private) classNoopParsingContextAParsingContextimplementation that does nothing.classParsingContextSnapshotA snapshot of aParsingContextwhich retains copies of variable attributes of a givenParsingContextto store the state of the parsing process at a given point in time.classParsingContextWrapperA simple a wrapper for aParsingContext.Fields in com.univocity.parsers.common declared as Context Modifier and Type Field Description private ContextColumnMap. contextprotected TContextWrapper. context(package private) ContextDefaultConversionProcessor. contextFields in com.univocity.parsers.common with type parameters of type Context Modifier and Type Field Description private ProcessorErrorHandler<? extends Context>CommonSettings. errorHandlerprivate Processor<? extends Context>CommonParserSettings. processorMethods in com.univocity.parsers.common with type parameters of type Context Modifier and Type Method Description <T extends Context>
Processor<T>CommonParserSettings. getProcessor()Returns the callback implementation of the interfaceProcessorwhich handles the lifecycle of the parsing process and processes each record extracted from the input<T extends Context>
ProcessorErrorHandler<T>CommonSettings. getProcessorErrorHandler()Returns the custom error handler to be used to capture and handle errors that might happen while processing records with aProcessoror aRowWriterProcessor(i.e.static <C extends Context>
voidInternal. process(java.lang.String[] row, Processor<C> processor, C context, ProcessorErrorHandler<C> errorHandler)Methods in com.univocity.parsers.common with parameters of type Context Modifier and Type Method Description java.lang.Object[]DefaultConversionProcessor. applyConversions(java.lang.String[] row, Context context)Executes the sequences of conversions defined usingDefaultConversionProcessor.convertFields(Conversion...),DefaultConversionProcessor.convertIndexes(Conversion...)andDefaultConversionProcessor.convertAll(Conversion...), for every field in the given row.protected voidDefaultConversionProcessor. initializeConversions(java.lang.String[] row, Context context)protected voidTextParsingException. setContext(Context context)Method parameters in com.univocity.parsers.common with type arguments of type Context Modifier and Type Method Description voidCommonParserSettings. setProcessor(Processor<? extends Context> processor)Defines the callback implementation of the interfaceProcessorwhich handles the lifecycle of the parsing process and processes each record extracted from the inputvoidCommonSettings. setProcessorErrorHandler(ProcessorErrorHandler<? extends Context> processorErrorHandler)Defines a custom error handler to capture and handle errors that might happen while processing records with aProcessoror aRowWriterProcessor(i.e.Constructors in com.univocity.parsers.common with parameters of type Context Constructor Description ColumnMap(Context context, ParserOutput output)TextParsingException(Context context, java.lang.String message, java.lang.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 Modifier and Type Class Description classAbstractBatchedColumnProcessor<T extends Context>AProcessorimplementation that stores values of columns in batches.classAbstractBatchedObjectColumnProcessor<T extends Context>AProcessorimplementation for converting batches of rows extracted from any implementation ofAbstractParserinto columns of objects.classAbstractBeanListProcessor<T,C extends Context>A convenienceProcessorimplementation for storing all java objects generated form the parsed input into a list.classAbstractBeanProcessor<T,C extends Context>AProcessorimplementation for converting rows extracted from any implementation ofAbstractParserinto java objects.classAbstractColumnProcessor<T extends Context>A simpleProcessorimplementation that stores values of columns.classAbstractConcurrentProcessor<T extends Context>AProcessorimplementation to perform row processing tasks in parallel.classAbstractInputValueSwitch<T extends Context>private static classAbstractInputValueSwitch.Switch<T extends Context>classAbstractListProcessor<T extends Context>A convenienceProcessorimplementation for storing all rows parsed into a list.classAbstractMasterDetailListProcessor<T extends Context>A convenienceProcessorimplementation for storing allMasterDetailRecordgenerated form the parsed input into a list.classAbstractMasterDetailProcessor<T extends Context>AProcessorimplementation for associating rows extracted from any implementation ofAbstractParserintoMasterDetailRecordinstances.classAbstractMultiBeanListProcessor<C extends Context>AProcessorimplementation for converting rows extracted from any implementation ofAbstractParserinto java objects, storing them into lists.classAbstractMultiBeanProcessor<C extends Context>AProcessorimplementation for converting rows extracted from any implementation ofAbstractParserinto java objects.classAbstractMultiBeanRowProcessor<C extends Context>AProcessorimplementation for converting rows extracted from any implementation ofAbstractParserinto java objects.classAbstractObjectColumnProcessor<T extends Context>AProcessorimplementation for converting rows extracted from any implementation ofAbstractParserinto columns of objects.classAbstractObjectListProcessor<T extends Context>A convenienceProcessorimplementation for storing all rows parsed and converted to Object arrays into a list.classAbstractObjectProcessor<T extends Context>AProcessorimplementation for converting rows extracted from any implementation ofAbstractParserinto arrays of objects.classAbstractProcessor<T extends Context>AProcessorimplementation that just implements all methods defined by the interface.classAbstractProcessorSwitch<T extends Context>A specialProcessorimplementation that combines and allows switching among different Processors.classCompositeProcessor<C extends Context>interfaceProcessor<T extends Context>The essential callback interface to handle records parsed by any parser that extendsAbstractParser.Fields in com.univocity.parsers.common.processor.core declared as Context Modifier and Type Field Description private TAbstractProcessorSwitch. contextForProcessorprivate TAbstractConcurrentProcessor. currentContextMethods in com.univocity.parsers.common.processor.core with parameters of type Context Modifier and Type Method Description (package private) voidColumnSplitter. addValuesToColumns(T[] row, Context context)Splits the row and add stores the value of each column in its corresponding list inColumnSplitter.columnValuesTBeanConversionProcessor. createBean(java.lang.String[] row, Context context)Converts a record with values extracted from the parser into a java bean instance.private voidColumnSplitter. initialize(Context context)Initializes the list of column values, the headers of each column and which columns to read if fields have been selected usingCommonSettings.selectFields(String...)orCommonSettings.selectIndexes(Integer...)private voidBeanConversionProcessor. mapFieldIndexes(Context context, java.lang.Object[] row, NormalizedString[] headers, int[] indexes, boolean columnsReordered)Identifies which fields are associated with which columns in a row.(package private) voidBeanConversionProcessor. mapValuesToFields(T instance, java.lang.Object[] row, Context context)Goes through a list of objects and associates each value to a particular field of a java bean instance(package private) voidBeanConversionProcessor. processNestedAttributes(java.lang.String[] row, java.lang.Object instance, Context context) -
Uses of Context in com.univocity.parsers.common.record
Classes in com.univocity.parsers.common.record with type parameters of type Context Modifier and Type Class Description (package private) classRecordImpl<C extends Context>(package private) classRecordMetaDataImpl<C extends Context>Fields in com.univocity.parsers.common.record declared as Context Modifier and Type Field Description (package private) CRecordMetaDataImpl. contextMethods in com.univocity.parsers.common.record with parameters of type Context Modifier and Type Method Description abstract MAbstractRecordFactory. createMetaData(Context context)RecordMetaDataImplRecordFactory. createMetaData(Context context)Constructors in com.univocity.parsers.common.record with parameters of type Context Constructor Description AbstractRecordFactory(Context context)Creates a new factory ofRecordbased the state of a parserRecordFactory(Context context)Creates a new factory ofRecordbased the state of a parser -
Uses of Context in com.univocity.parsers.fixed
Fields in com.univocity.parsers.fixed declared as Context Modifier and Type Field Description (package private) ContextLookup. context
-