Interface Converter<S,​T>

    • Method Detail

      • convert

        T convert​(S source)
           throws ConversionException
        Convert the source of type S to target type T.
        Parameters:
        source - the source object to converter, which must be an instance of S
        Returns:
        the converted object, which must be an instance of T
        Throws:
        ConversionException - if the source could not be converted to the desired target type