DataType - the type of the object to be transformed (and also the type of the
resulting object)public interface DataTransformer<DataType>
Note that in case this transformation is slow (e.g.: waits for external
events, like reading a file), consider using AsyncDataTransformer or
simply an AsyncDataQuery for transformation.
DataConverter| Modifier and Type | Method and Description |
|---|---|
DataType |
transform(DataType data)
Transforms the data as defined by the implementation.
|
DataType transform(DataType data)
data - the object to be transformed. This argument can be
null if the transformation supports converting null
values.null, depending on the
implementation.