Package | Description |
---|---|
com.univocity.parsers.common | |
com.univocity.parsers.common.iterators | |
com.univocity.parsers.common.processor | |
com.univocity.parsers.common.routine |
Modifier and Type | Class and Description |
---|---|
class |
DefaultParsingContext
The default
ParsingContext implementation used internally by AbstractParser to expose information about a parsing process in execution. |
(package private) class |
NoopParsingContext
A
ParsingContext implementation that does nothing. |
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 . |
Modifier and Type | Field and Description |
---|---|
protected ParsingContext |
AbstractParser.context |
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
IterableResult<java.lang.String[],ParsingContext> |
AbstractParser.iterate(java.io.File input)
Provides an
IterableResult for iterating rows parsed from the input. |
IterableResult<java.lang.String[],ParsingContext> |
AbstractParser.iterate(java.io.File input,
java.nio.charset.Charset encoding)
Provides an
IterableResult for iterating rows parsed from the input. |
IterableResult<java.lang.String[],ParsingContext> |
AbstractParser.iterate(java.io.File input,
java.lang.String encoding)
Provides an
IterableResult for iterating rows parsed from the input. |
IterableResult<java.lang.String[],ParsingContext> |
AbstractParser.iterate(java.io.InputStream input)
Provides an
IterableResult for iterating rows parsed from the input. |
IterableResult<java.lang.String[],ParsingContext> |
AbstractParser.iterate(java.io.InputStream input,
java.nio.charset.Charset encoding)
Provides an
IterableResult for iterating rows parsed from the input. |
IterableResult<java.lang.String[],ParsingContext> |
AbstractParser.iterate(java.io.InputStream input,
java.lang.String encoding)
Provides an
IterableResult for iterating rows parsed from the input. |
IterableResult<java.lang.String[],ParsingContext> |
AbstractParser.iterate(java.io.Reader input)
Provides an
IterableResult for iterating rows parsed from the input. |
IterableResult<Record,ParsingContext> |
AbstractParser.iterateRecords(java.io.File input)
Provides an
IterableResult for iterating records parsed from the input. |
IterableResult<Record,ParsingContext> |
AbstractParser.iterateRecords(java.io.File input,
java.nio.charset.Charset encoding)
Provides an
IterableResult for iterating records parsed from the input. |
IterableResult<Record,ParsingContext> |
AbstractParser.iterateRecords(java.io.File input,
java.lang.String encoding)
Provides an
IterableResult for iterating records parsed from the input. |
IterableResult<Record,ParsingContext> |
AbstractParser.iterateRecords(java.io.InputStream input)
Provides an
IterableResult for iterating records parsed from the input. |
IterableResult<Record,ParsingContext> |
AbstractParser.iterateRecords(java.io.InputStream input,
java.nio.charset.Charset encoding)
Provides an
IterableResult for iterating records parsed from the input. |
IterableResult<Record,ParsingContext> |
AbstractParser.iterateRecords(java.io.InputStream input,
java.lang.String encoding)
Provides an
IterableResult for iterating records parsed from the input. |
IterableResult<Record,ParsingContext> |
AbstractParser.iterateRecords(java.io.Reader input)
Provides an
IterableResult for iterating records parsed from the input. |
Modifier and Type | Method and Description |
---|---|
void |
NoopRowProcessorErrorHandler.handleError(DataProcessingException error,
java.lang.Object[] inputRow,
ParsingContext context)
Rethrows the
DataProcessingException |
private void |
TextParsingException.setParsingContext(ParsingContext parsingContext) |
Constructor and Description |
---|
ParsingContextSnapshot(ParsingContext context)
Creates a snapshot of a given
Context |
ParsingContextWrapper(ParsingContext context)
Wraps a
ParsingContext . |
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.
|
Modifier and Type | Method and Description |
---|---|
ParsingContext |
ParserIterator.getContext() |
Modifier and Type | Method and Description |
---|---|
ResultIterator<T,ParsingContext> |
ParserIterator.iterator() |
Modifier and Type | Method and Description |
---|---|
protected ParsingContext |
ConcurrentRowProcessor.copyContext(ParsingContext context) |
protected ParsingContext |
ConcurrentRowProcessor.wrapContext(ParsingContext context) |
Modifier and Type | Method and 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) |
Modifier and Type | Method and 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.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.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.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.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.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.Reader input)
Iterates over an input to produce instances of annotated java beans on demand.
|