Interface TypeConvertor

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Object convert​(java.lang.Object object)
      Convert the object from one type to another.
    • Method Detail

      • convert

        java.lang.Object convert​(java.lang.Object object)
                          throws java.lang.ClassCastException
        Convert the object from one type to another.
        Parameters:
        object - The object to convert.
        Returns:
        The converted object.
        Throws:
        java.lang.ClassCastException - The object is not of the type supported by this convertor.