Interface ConversionProcessor<T>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.function.Function<java.math.BigDecimal,​T> convertBigDecimal()
      Converts an BigDecimal type.
      java.util.function.Function<java.math.BigInteger,​T> convertBigInteger()
      Converts an BigInteger type.
      java.util.function.Function<java.lang.Boolean,​T> convertBoolean()
      Converts a Boolean type.
      java.util.function.Function<java.lang.Byte,​T> convertByte()
      Converts a Byte type.
      java.util.function.Function<byte[],​T> convertByteArray()
      Converts a byte[] type.
      java.util.function.Function<java.lang.Character,​T> convertCharacter()
      Converts a Character type.
      java.util.function.Function<java.lang.Double,​T> convertDouble()
      Converts a Double type.
      java.util.function.Function<java.lang.Float,​T> convertFloat()
      Converts an Float type.
      java.util.function.Function<java.lang.Integer,​T> convertInteger()
      Converts an Integer type.
      java.util.function.Function<java.lang.Long,​T> convertLong()
      Converts a Long type.
      java.util.function.Function<java.lang.Short,​T> convertShort()
      Converts a Short type.
      java.util.function.Function<java.lang.String,​T> convertString()
      Converts a String type.
    • Method Detail

      • convertByte

        java.util.function.Function<java.lang.Byte,​T> convertByte()
        Converts a Byte type.
        Returns:
        the converted value
      • convertByteArray

        java.util.function.Function<byte[],​T> convertByteArray()
        Converts a byte[] type.
        Returns:
        the converted value
        Throws:
        TypeConversionException - if the number of bytes in the array is less than the minimum required to create the destination type
      • convertShort

        java.util.function.Function<java.lang.Short,​T> convertShort()
        Converts a Short type.
        Returns:
        the converted value
      • convertInteger

        java.util.function.Function<java.lang.Integer,​T> convertInteger()
        Converts an Integer type.
        Returns:
        the converted value
      • convertLong

        java.util.function.Function<java.lang.Long,​T> convertLong()
        Converts a Long type.
        Returns:
        the converted value
      • convertFloat

        java.util.function.Function<java.lang.Float,​T> convertFloat()
        Converts an Float type.
        Returns:
        the converted value
      • convertDouble

        java.util.function.Function<java.lang.Double,​T> convertDouble()
        Converts a Double type.
        Returns:
        the converted value
      • convertCharacter

        java.util.function.Function<java.lang.Character,​T> convertCharacter()
        Converts a Character type.
        Returns:
        the converted value
      • convertBoolean

        java.util.function.Function<java.lang.Boolean,​T> convertBoolean()
        Converts a Boolean type.
        Returns:
        the converted value
      • convertString

        java.util.function.Function<java.lang.String,​T> convertString()
        Converts a String type.
        Returns:
        the converted value
      • convertBigInteger

        java.util.function.Function<java.math.BigInteger,​T> convertBigInteger()
        Converts an BigInteger type.
        Returns:
        the converted value
      • convertBigDecimal

        java.util.function.Function<java.math.BigDecimal,​T> convertBigDecimal()
        Converts an BigDecimal type.
        Returns:
        the converted value