public abstract class RowProcessorSwitch extends com.univocity.parsers.common.processor.core.AbstractProcessorSwitch<HtmlParsingContext> implements RowProcessor
A special RowProcessor implementation that combines and allows switching among different RowProcessors. Each RowProcessor will have its own HtmlParsingContext. Concrete implementations of this class are expected to implement the AbstractProcessorSwitch.switchRowProcessor(String[], Context) method and analyze the input row to determine whether or not the current RowProcessor implementation must be changed to handle a special circumstance (determined by the concrete implementation) such as a different row format.
When the row processor is switched, the AbstractProcessorSwitch.processorSwitched(Processor, Processor) will be called, and must be overridden, to notify the change to the user.
| Constructor and Description |
|---|
RowProcessorSwitch() |
getHeaders, getIndexes, preventColumnReordering, processEnded, processorSwitched, processStarted, rowProcessed, rowProcessorSwitched, switchRowProcessorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprocessEnded, processStarted, rowProcessedCopyright © 2018 uniVocity Software Pty Ltd. All rights reserved.