Package | Description |
---|---|
com.univocity.parsers.common | |
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. |
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<String[],ParsingContext> |
AbstractParser.iterate(File input)
Provides an
IterableResult for iterating rows parsed from the input. |
IterableResult<String[],ParsingContext> |
AbstractParser.iterate(File input,
Charset encoding)
Provides an
IterableResult for iterating rows parsed from the input. |
IterableResult<String[],ParsingContext> |
AbstractParser.iterate(File input,
String encoding)
Provides an
IterableResult for iterating rows parsed from the input. |
IterableResult<String[],ParsingContext> |
AbstractParser.iterate(InputStream input)
Provides an
IterableResult for iterating rows parsed from the input. |
IterableResult<String[],ParsingContext> |
AbstractParser.iterate(InputStream input,
Charset encoding)
Provides an
IterableResult for iterating rows parsed from the input. |
IterableResult<String[],ParsingContext> |
AbstractParser.iterate(InputStream input,
String encoding)
Provides an
IterableResult for iterating rows parsed from the input. |
IterableResult<String[],ParsingContext> |
AbstractParser.iterate(Reader input)
Provides an
IterableResult for iterating rows parsed from the input. |
IterableResult<Record,ParsingContext> |
AbstractParser.iterateRecords(File input)
Provides an
IterableResult for iterating records parsed from the input. |
IterableResult<Record,ParsingContext> |
AbstractParser.iterateRecords(File input,
Charset encoding)
Provides an
IterableResult for iterating records parsed from the input. |
IterableResult<Record,ParsingContext> |
AbstractParser.iterateRecords(File input,
String encoding)
Provides an
IterableResult for iterating records parsed from the input. |
IterableResult<Record,ParsingContext> |
AbstractParser.iterateRecords(InputStream input)
Provides an
IterableResult for iterating records parsed from the input. |
IterableResult<Record,ParsingContext> |
AbstractParser.iterateRecords(InputStream input,
Charset encoding)
Provides an
IterableResult for iterating records parsed from the input. |
IterableResult<Record,ParsingContext> |
AbstractParser.iterateRecords(InputStream input,
String encoding)
Provides an
IterableResult for iterating records parsed from the input. |
IterableResult<Record,ParsingContext> |
AbstractParser.iterateRecords(Reader input)
Provides an
IterableResult for iterating records parsed from the input. |
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,
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.
|
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(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(Class<T> beanType,
File input)
Iterates over a file to produce instances of annotated java beans on demand.
|
<T> IterableResult<T,ParsingContext> |
AbstractRoutines.iterate(Class<T> beanType,
File input,
Charset encoding)
Iterates over a file to produce instances of annotated java beans on demand.
|
<T> IterableResult<T,ParsingContext> |
AbstractRoutines.iterate(Class<T> beanType,
File input,
String encoding)
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,
Charset 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,
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,
Reader input)
Iterates over an input to produce instances of annotated java beans on demand.
|
Copyright © 2020 uniVocity Software Pty Ltd. All rights reserved.