Package | Description |
---|---|
com.univocity.parsers.common | |
com.univocity.parsers.common.processor |
Modifier and Type | Method | 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 | 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 | 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 | Description |
---|---|---|
protected RowWriterProcessor<?> |
OutputValueSwitch.switchRowProcessor(java.lang.Object row) |
|
protected abstract RowWriterProcessor<?> |
RowWriterProcessorSwitch.switchRowProcessor(java.lang.Object row) |
Analyzes an output row to determine whether or not the row writer processor implementation must be changed
|
Modifier and Type | Method | Description |
---|---|---|
void |
OutputValueSwitch.addSwitchForValue(java.lang.Object value,
RowWriterProcessor<java.lang.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(java.lang.Object value,
RowWriterProcessor<java.lang.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(java.lang.Object value,
RowWriterProcessor<java.lang.Object[]> rowProcessor,
java.lang.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 |
OutputValueSwitch.setDefaultSwitch(RowWriterProcessor<java.lang.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<java.lang.Object[]> rowProcessor,
java.lang.String... headersToUse) |
Defines a default
RowWriterProcessor implementation to use when no matching value is found in the output row. |