Uses of Interface
com.univocity.parsers.common.ParsingContext
-
Packages that use ParsingContext Package Description com.univocity.parsers.common com.univocity.parsers.common.processor com.univocity.parsers.common.routine -
-
Uses of ParsingContext in com.univocity.parsers.common
Classes in com.univocity.parsers.common that implement ParsingContext Modifier and Type Class Description class
DefaultParsingContext
The defaultParsingContext
implementation used internally byAbstractParser
to expose information about a parsing process in execution.class
ParsingContextSnapshot
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
ParsingContextWrapper
A simple a wrapper for aParsingContext
.Fields in com.univocity.parsers.common declared as ParsingContext Modifier and Type Field Description protected ParsingContext
AbstractParser. context
Methods in com.univocity.parsers.common that return ParsingContext Modifier and Type Method Description protected ParsingContext
AbstractParser. createParsingContext()
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 ParsingContext Modifier and Type Method Description IterableResult<java.lang.String[],ParsingContext>
AbstractParser. iterate(java.io.File input)
Provides anIterableResult
for iterating rows parsed from the input.IterableResult<java.lang.String[],ParsingContext>
AbstractParser. iterate(java.io.File input, java.lang.String encoding)
Provides anIterableResult
for iterating rows parsed from the input.IterableResult<java.lang.String[],ParsingContext>
AbstractParser. iterate(java.io.File input, java.nio.charset.Charset encoding)
Provides anIterableResult
for iterating rows parsed from the input.IterableResult<java.lang.String[],ParsingContext>
AbstractParser. iterate(java.io.InputStream input)
Provides anIterableResult
for iterating rows parsed from the input.IterableResult<java.lang.String[],ParsingContext>
AbstractParser. iterate(java.io.InputStream input, java.lang.String encoding)
Provides anIterableResult
for iterating rows parsed from the input.IterableResult<java.lang.String[],ParsingContext>
AbstractParser. iterate(java.io.InputStream input, java.nio.charset.Charset encoding)
Provides anIterableResult
for iterating rows parsed from the input.IterableResult<java.lang.String[],ParsingContext>
AbstractParser. iterate(java.io.Reader input)
Provides anIterableResult
for iterating rows parsed from the input.IterableResult<Record,ParsingContext>
AbstractParser. iterateRecords(java.io.File input)
Provides anIterableResult
for iterating records parsed from the input.IterableResult<Record,ParsingContext>
AbstractParser. iterateRecords(java.io.File input, java.lang.String encoding)
Provides anIterableResult
for iterating records parsed from the input.IterableResult<Record,ParsingContext>
AbstractParser. iterateRecords(java.io.File input, java.nio.charset.Charset encoding)
Provides anIterableResult
for iterating records parsed from the input.IterableResult<Record,ParsingContext>
AbstractParser. iterateRecords(java.io.InputStream input)
Provides anIterableResult
for iterating records parsed from the input.IterableResult<Record,ParsingContext>
AbstractParser. iterateRecords(java.io.InputStream input, java.lang.String encoding)
Provides anIterableResult
for iterating records parsed from the input.IterableResult<Record,ParsingContext>
AbstractParser. iterateRecords(java.io.InputStream input, java.nio.charset.Charset encoding)
Provides anIterableResult
for iterating records parsed from the input.IterableResult<Record,ParsingContext>
AbstractParser. iterateRecords(java.io.Reader input)
Provides anIterableResult
for iterating records parsed from the input.Constructors in com.univocity.parsers.common with parameters of type ParsingContext Constructor Description ParsingContextSnapshot(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, java.lang.String message)
Creates a new exception with information about an error that occurred when parsing some input.TextParsingException(ParsingContext context, java.lang.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.processor
Methods in com.univocity.parsers.common.processor that return ParsingContext Modifier and Type Method Description protected ParsingContext
ConcurrentRowProcessor. copyContext(ParsingContext context)
protected ParsingContext
ConcurrentRowProcessor. wrapContext(ParsingContext context)
Methods in com.univocity.parsers.common.processor with parameters of type ParsingContext Modifier and Type Method Description protected 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(java.lang.String[] row, ParsingContext context)
Invoked by the parser after all values of a valid record have been processed.protected ParsingContext
ConcurrentRowProcessor. 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 ParsingContext Modifier and Type Method Description <T> IterableResult<T,ParsingContext>
AbstractRoutines. iterate(java.lang.Class<T> beanType, java.io.File input)
Iterates over a file to produce instances of annotated java beans on demand.<T> IterableResult<T,ParsingContext>
AbstractRoutines. iterate(java.lang.Class<T> beanType, java.io.File input, java.lang.String encoding)
Iterates over a file to produce instances of annotated java beans on demand.<T> IterableResult<T,ParsingContext>
AbstractRoutines. iterate(java.lang.Class<T> beanType, java.io.File input, java.nio.charset.Charset encoding)
Iterates over a file to produce instances of annotated java beans on demand.<T> IterableResult<T,ParsingContext>
AbstractRoutines. iterate(java.lang.Class<T> beanType, java.io.InputStream input)
Iterates over an input stream to produce instances of annotated java beans on demand.<T> IterableResult<T,ParsingContext>
AbstractRoutines. iterate(java.lang.Class<T> beanType, java.io.InputStream input, java.lang.String encoding)
Iterates over an input stream to produce instances of annotated java beans on demand.<T> IterableResult<T,ParsingContext>
AbstractRoutines. iterate(java.lang.Class<T> beanType, java.io.InputStream input, java.nio.charset.Charset encoding)
Iterates over an input stream to produce instances of annotated java beans on demand.<T> IterableResult<T,ParsingContext>
AbstractRoutines. iterate(java.lang.Class<T> beanType, java.io.Reader input)
Iterates over an input to produce instances of annotated java beans on demand.
-