Uses of Interface
com.univocity.parsers.common.ParsingContext
Packages that use ParsingContext
Package
Description
-
Uses of ParsingContext in com.univocity.parsers.common
Classes in com.univocity.parsers.common that implement ParsingContextModifier and TypeClassDescriptionclass
The defaultParsingContext
implementation used internally byAbstractParser
to expose information about a parsing process in execution.(package private) class
AParsingContext
implementation that does nothing.class
A snapshot of aParsingContext
which retains copies of variable attributes of a givenParsingContext
to store the state of the parsing process at a given point in time.class
A simple a wrapper for aParsingContext
.Fields in com.univocity.parsers.common declared as ParsingContextMethods in com.univocity.parsers.common that return ParsingContextModifier and TypeMethodDescriptionprotected ParsingContext
AbstractParser.createParsingContext()
final ParsingContext
AbstractParser.getContext()
Returns the current parsing context with information about the status of the parser at any given time.Methods in com.univocity.parsers.common that return types with arguments of type ParsingContextModifier and TypeMethodDescriptionfinal IterableResult<String[],
ParsingContext> Provides anIterableResult
for iterating rows parsed from the input.final IterableResult<String[],
ParsingContext> Provides anIterableResult
for iterating rows parsed from the input.final IterableResult<String[],
ParsingContext> Provides anIterableResult
for iterating rows parsed from the input.final IterableResult<String[],
ParsingContext> AbstractParser.iterate
(InputStream input) Provides anIterableResult
for iterating rows parsed from the input.final IterableResult<String[],
ParsingContext> AbstractParser.iterate
(InputStream input, String encoding) Provides anIterableResult
for iterating rows parsed from the input.final IterableResult<String[],
ParsingContext> AbstractParser.iterate
(InputStream input, Charset encoding) Provides anIterableResult
for iterating rows parsed from the input.final IterableResult<String[],
ParsingContext> Provides anIterableResult
for iterating rows parsed from the input.final IterableResult<Record,
ParsingContext> AbstractParser.iterateRecords
(File input) Provides anIterableResult
for iterating records parsed from the input.final IterableResult<Record,
ParsingContext> AbstractParser.iterateRecords
(File input, String encoding) Provides anIterableResult
for iterating records parsed from the input.final IterableResult<Record,
ParsingContext> AbstractParser.iterateRecords
(File input, Charset encoding) Provides anIterableResult
for iterating records parsed from the input.final IterableResult<Record,
ParsingContext> AbstractParser.iterateRecords
(InputStream input) Provides anIterableResult
for iterating records parsed from the input.final IterableResult<Record,
ParsingContext> AbstractParser.iterateRecords
(InputStream input, String encoding) Provides anIterableResult
for iterating records parsed from the input.final IterableResult<Record,
ParsingContext> AbstractParser.iterateRecords
(InputStream input, Charset encoding) Provides anIterableResult
for iterating records parsed from the input.final IterableResult<Record,
ParsingContext> AbstractParser.iterateRecords
(Reader input) Provides anIterableResult
for iterating records parsed from the input.Methods in com.univocity.parsers.common with parameters of type ParsingContextModifier and TypeMethodDescriptionvoid
NoopRowProcessorErrorHandler.handleError
(DataProcessingException error, Object[] inputRow, ParsingContext context) Rethrows theDataProcessingException
private void
TextParsingException.setParsingContext
(ParsingContext parsingContext) Constructors in com.univocity.parsers.common with parameters of type ParsingContextModifierConstructorDescriptionParsingContextSnapshot
(ParsingContext context) Creates a snapshot of a givenContext
ParsingContextWrapper
(ParsingContext context) Wraps aParsingContext
.TextParsingException
(ParsingContext context) Creates a new exception with information about an error that occurred when parsing some input.TextParsingException
(ParsingContext context, String message) Creates a new exception with information about an error that occurred when parsing some input.TextParsingException
(ParsingContext context, Throwable cause) Creates a new exception with information about an error that occurred when parsing some input. -
Uses of ParsingContext in com.univocity.parsers.common.iterators
Methods in com.univocity.parsers.common.iterators that return ParsingContextMethods in com.univocity.parsers.common.iterators that return types with arguments of type ParsingContextModifier and TypeMethodDescriptionfinal ResultIterator<T,
ParsingContext> ParserIterator.iterator()
-
Uses of ParsingContext in com.univocity.parsers.common.processor
Methods in com.univocity.parsers.common.processor that return ParsingContextModifier and TypeMethodDescriptionprotected ParsingContext
ConcurrentRowProcessor.copyContext
(ParsingContext context) protected ParsingContext
ConcurrentRowProcessor.wrapContext
(ParsingContext context) protected final ParsingContext
InputValueSwitch.wrapContext
(ParsingContext context) Methods in com.univocity.parsers.common.processor with parameters of type ParsingContextModifier and TypeMethodDescriptionprotected ParsingContext
ConcurrentRowProcessor.copyContext
(ParsingContext context) void
RowProcessor.processEnded
(ParsingContext context) This method will by invoked by the parser once, after the parsing process stopped and all resources were closed.void
RowProcessor.processStarted
(ParsingContext context) This method will by invoked by the parser once, when it is ready to start processing the input.void
RowProcessor.rowProcessed
(String[] row, ParsingContext context) Invoked by the parser after all values of a valid record have been processed.protected ParsingContext
ConcurrentRowProcessor.wrapContext
(ParsingContext context) protected final ParsingContext
InputValueSwitch.wrapContext
(ParsingContext context) -
Uses of ParsingContext in com.univocity.parsers.common.routine
Methods in com.univocity.parsers.common.routine that return types with arguments of type ParsingContextModifier and TypeMethodDescription<T> IterableResult<T,
ParsingContext> Iterates over a file to produce instances of annotated java beans on demand.<T> IterableResult<T,
ParsingContext> Iterates over a file to produce instances of annotated java beans on demand.<T> IterableResult<T,
ParsingContext> Iterates over a file to produce instances of annotated java beans on demand.<T> IterableResult<T,
ParsingContext> AbstractRoutines.iterate
(Class<T> beanType, InputStream input) Iterates over an input stream to produce instances of annotated java beans on demand.<T> IterableResult<T,
ParsingContext> AbstractRoutines.iterate
(Class<T> beanType, InputStream input, String encoding) Iterates over an input stream to produce instances of annotated java beans on demand.<T> IterableResult<T,
ParsingContext> AbstractRoutines.iterate
(Class<T> beanType, InputStream input, Charset encoding) Iterates over an input stream to produce instances of annotated java beans on demand.<T> IterableResult<T,
ParsingContext> Iterates over an input to produce instances of annotated java beans on demand. -
Uses of ParsingContext in com.univocity.parsers.fixed
Methods in com.univocity.parsers.fixed that return ParsingContextModifier and TypeMethodDescriptionprotected ParsingContext
FixedWidthParser.createParsingContext()
Methods in com.univocity.parsers.fixed with parameters of type ParsingContextModifier and TypeMethodDescription(package private) void
Lookup.initializeLookupContext
(ParsingContext context, NormalizedString[] headersToUse)