Interface Converter<S,​T>

    • Method Detail

      • getSourceClass

        Class<?> getSourceClass()
        Returns the class of the objects this converter converts from.
      • getTargetClass

        Class<?> getTargetClass()
        Returns the class of the objects this converter converts to.
      • convert

        T convert​(S source)
        Converts the source object from S type to T type.
        Parameters:
        source - the object to convert
        Returns:
        the converted object