com.univocity.parsers.annotations.Convert annotation,
O should be compatible with the type of the annotated field.
ObjectRowProcessor and ObjectRowWriterProcessor.
Annotations in package com.univocity.parsers.annotations are associated with different Conversion
implementations in com.univocity.parsers.conversions .
com.univocity.parsers.common.processor.ObjectRowProcessor , com.univocity.parsers.common.processor.ObjectRowWriterProcessor
| Modifier and Type | Method and Description |
|---|---|
| public O | Returns: the conversion result.the input of type I to be converted to an object of type O input)Converts a value of type I to a value of type O. |
| public I | Returns: the conversion result.the input of type O to be converted to an object of type I input)Converts a value of type O to a value of type I. |
| execute | back to summary |
|---|---|
| public O execute(I input) Converts a value of type I to a value of type O.
When used in conjunction with the
| |
| revert | back to summary |
|---|---|
| public I revert(O input) Converts a value of type O to a value of type I.
When used in conjunction with the
| |