Class Transforms


  • public class Transforms
    extends Object
    Provides a set of transforms and a means to find the wanted one.
    • Method Detail

      • findTransform

        public static Transform findTransform​(Class<?> sourceType,
                                              Class<?> targetType)
        Find a transformer for the given source and target type.
        Parameters:
        sourceType - type of the source
        targetType - type of the target
        Returns:
        an appropriate transformer or null if one is not available