Interface Converter

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      <T> T convert​(java.lang.Class<T> type, java.lang.Object value)
      Convert the specified input object into an output object of the specified type.
    • Method Detail

      • convert

        <T> T convert​(java.lang.Class<T> type,
                      java.lang.Object value)
        Convert the specified input object into an output object of the specified type.
        Type Parameters:
        T - the desired result type
        Parameters:
        type - Data type to which this value should be converted
        value - The input value to be converted
        Returns:
        The converted value
        Throws:
        ConversionException - if conversion cannot be performed successfully