-
- All Known Implementing Classes:
Transforms.BooleanToBoolean
,Transforms.DoubleToBigDecimal
,Transforms.DoubleToDouble
,Transforms.DoubleToFloatingPointTolerance
,Transforms.DoubleToInt
,Transforms.DoubleToLong
,Transforms.IntegerToDouble
,Transforms.IntegerToInt
,Transforms.IntegerToLong
,Transforms.ObjectToJoinKey
,Transforms.ObjectToSortKey
,Transforms.StringToEnum
,Transforms.StringToFile
,Transforms.TextRecordToRecordTokenType
public interface Transform
Provides a transformation from a source data type to a target data type.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
supports(Class<?> sourceType, Class<?> targetClass)
Determines if this transformer supports the given types.Object
transform(Object source, Class<?> targetType)
Transform the given source object into the wanted target object.
-