Package com.helger.commons.codec
Interface IEncoder<SRCTYPE,DSTTYPE>
- Type Parameters:
SRCTYPE- Source data typeDSTTYPE- Destination data type
- All Known Subinterfaces:
IByteArrayCodec,IByteArrayEncoder,IByteArrayStreamEncoder,ICharArrayCodec,ICharArrayEncoder,ICharArrayStreamEncoder,ICodec<DATATYPE>
- All Known Implementing Classes:
AbstractRFC1522Codec,Base16Codec,Base32Codec,Base64Codec,FlateCodec,GZIPCodec,IdentityByteArrayCodec,IdentityCodec,LZWCodec,QuotedPrintableCodec,RFC1522BCodec,RFC1522QCodec,RFC2616Codec,URLCodec,URLParameterEncoder
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
The most basic encoding interface
- Author:
- Philip Helger
-
Method Summary
-
Method Details
-
getEncoded
Encode the passed source object- Parameters:
aInput- The source object to be encoded- Returns:
- The encoded value.
- Throws:
EncodeException- In case something goes wrong
-