Interface TypeConverter

    • Method Detail

      • convert

        Object convert​(Object source,
                       Type... parameters)
                throws TypeConversionException
        Converts an object from one type to another.
        Parameters:
        source - the source object
        parameters - the optional type parameters when using Generics.
        Returns:
        the converted object
        Throws:
        TypeConversionException - the source object was not able to be converted to the target type
      • getConversionType

        Class[] getConversionType()
        Array of classes that this type converter can convert objects to
        Returns:
        the classes that this converter can convert to