Interface IDecoder<SRCTYPE,DSTTYPE>

Type Parameters:
SRCTYPE - Source data type
DSTTYPE - Destination data type
All Known Subinterfaces:
IByteArrayCodec, IByteArrayDecoder, IByteArrayStreamDecoder, ICharArrayCodec, ICharArrayDecoder, ICharArrayStreamDecoder, ICodec<DATATYPE>
All Known Implementing Classes:
AbstractRFC1522Codec, ASCII85Codec, ASCIIHexCodec, Base16Codec, Base32Codec, Base64Codec, DCTCodec, FlateCodec, GZIPCodec, IdentityByteArrayCodec, IdentityCodec, LZWCodec, QuotedPrintableCodec, RFC1522BCodec, RFC1522QCodec, RFC2616Codec, RunLengthCodec, URLCodec, URLParameterDecoder
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface IDecoder<SRCTYPE,DSTTYPE>
The most basic decoding interface
Author:
Philip Helger
  • Method Summary

    Modifier and Type
    Method
    Description
    Decode the passed source object
  • Method Details

    • getDecoded

      @Nullable DSTTYPE getDecoded(@Nullable SRCTYPE aInput)
      Decode the passed source object
      Parameters:
      aInput - The source object to be decoded
      Returns:
      The decoded value.
      Throws:
      DecodeException - in case something goes wrong