Package | Description |
---|---|
com.univocity.parsers.common | |
com.univocity.parsers.common.processor |
Modifier and Type | Method and Description |
---|---|
RowWriterProcessor<?> |
CommonWriterSettings.getRowWriterProcessor()
Returns the implementation of the interface
RowWriterProcessor which processes input objects into a manageable format for writing. |
Modifier and Type | Method and Description |
---|---|
void |
CommonWriterSettings.setRowWriterProcessor(RowWriterProcessor<?> rowWriterProcessor)
Defines a processor for input objects that converts them into a manageable format for writing.
|
Modifier and Type | Class and Description |
---|---|
class |
BeanWriterProcessor<T>
A
RowWriterProcessor implementation for converting annotated java objects into object arrays suitable for writing in any implementation of AbstractWriter . |
class |
ObjectRowWriterProcessor
A
RowWriterProcessor implementation for executing conversion sequences in object arrays before for writing them using any implementation of AbstractWriter . |
class |
OutputValueSwitch
A concrete implementation of
RowWriterProcessorSwitch that allows switching among different implementations of
RowWriterProcessor based on values found on rows to be written to an output |
class |
RowWriterProcessorSwitch
A special
RowWriterProcessor implementation that combines and allows switching among different
RowWriterProcessors. |
Modifier and Type | Method and Description |
---|---|
protected abstract RowWriterProcessor<?> |
RowWriterProcessorSwitch.switchRowProcessor(Object row)
Analyzes an output row to determine whether or not the row writer processor implementation must be changed
|
protected RowWriterProcessor<?> |
OutputValueSwitch.switchRowProcessor(Object row) |
Modifier and Type | Method and Description |
---|---|
void |
OutputValueSwitch.addSwitchForValue(Object value,
RowWriterProcessor<Object[]> rowProcessor)
Associates a
RowWriterProcessor implementation with an expected value to be matched in the column provided in the constructor of this class. |
void |
OutputValueSwitch.addSwitchForValue(Object value,
RowWriterProcessor<Object[]> rowProcessor,
int... indexesToUse)
Associates a
RowWriterProcessor implementation with an expected value to be matched in the column provided in the constructor of this class. |
void |
OutputValueSwitch.addSwitchForValue(Object value,
RowWriterProcessor<Object[]> rowProcessor,
String... headersToUse)
Associates a
RowWriterProcessor implementation with an expected value to be matched in the column provided in the constructor of this class. |
void |
RowWriterProcessorSwitch.rowProcessorSwitched(RowWriterProcessor<?> from,
RowWriterProcessor<?> to)
Notifies a change of row writer processor implementation.
|
void |
RowWriterProcessorSwitch.rowProcessorSwitched(RowWriterProcessor<?> from,
RowWriterProcessor<?> to)
Notifies a change of row writer processor implementation.
|
void |
OutputValueSwitch.setDefaultSwitch(RowWriterProcessor<Object[]> rowProcessor,
int... indexesToUse)
Defines a default
RowWriterProcessor implementation to use when no matching value is found in the output row. |
void |
OutputValueSwitch.setDefaultSwitch(RowWriterProcessor<Object[]> rowProcessor,
String... headersToUse)
Defines a default
RowWriterProcessor implementation to use when no matching value is found in the output row. |
Copyright © 2020 uniVocity Software Pty Ltd. All rights reserved.