Class AbstractTypeConvertor

    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractTypeConvertor​(java.lang.Class<?> fromType, java.lang.Class<?> toType)
      Construct a Converter between given fromType an toType.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object clone()
      Creates and returns a copy of this object.
      java.lang.Class<?> fromType()
      Get the type being converted from.
      java.lang.String toString()
      java.lang.Class<?> toType()
      Get the type being converted to.
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AbstractTypeConvertor

        public AbstractTypeConvertor​(java.lang.Class<?> fromType,
                                     java.lang.Class<?> toType)
        Construct a Converter between given fromType an toType.
        Parameters:
        fromType - The type being converted from.
        toType - The type being converted to.
    • Method Detail

      • clone

        public final java.lang.Object clone()
        Creates and returns a copy of this object.
        Specified by:
        clone in interface TypeConvertor
        Overrides:
        clone in class java.lang.Object
        Returns:
        A clone of this instance.
      • fromType

        public final java.lang.Class<?> fromType()
        Get the type being converted from.
        Specified by:
        fromType in interface TypeConvertor
        Returns:
        The type being converted from.
      • toType

        public final java.lang.Class<?> toType()
        Get the type being converted to.
        Specified by:
        toType in interface TypeConvertor
        Returns:
        The type being converted to.
      • toString

        public final java.lang.String toString()
        Overrides:
        toString in class java.lang.Object