public abstract class ContextSnapshot<T extends Context> extends ContextWrapper<T>
Context which retains copies of variable attributes of a given Context to
store the state of the parsing process at a given point in time. All runtime operations such as ContextWrapper.stop()
will still work and affect the current parsing process.context| Constructor and Description |
|---|
ContextSnapshot(T context)
Creates a snapshot of a given
Context |
| Modifier and Type | Method and Description |
|---|---|
int |
currentColumn()
Returns the column index of the record being processed.
|
long |
currentRecord()
Returns the index of the last valid record parsed from the input
|
columnsReordered, errorContentLength, extractedFieldIndexes, headers, indexOf, indexOf, isStopped, recordMetaData, selectedHeaders, stop, toRecordpublic int currentColumn()
ContextcurrentColumn in interface ContextcurrentColumn in class ContextWrapper<T extends Context>public long currentRecord()
ContextcurrentRecord in interface ContextcurrentRecord in class ContextWrapper<T extends Context>Copyright © 2021 Univocity Software Pty Ltd. All rights reserved.