SRCTYPE
- Source data typeDSTTYPE
- Destination data type@FunctionalInterface public interface IEncoder<SRCTYPE,DSTTYPE> extends Serializable
Modifier and Type | Method and Description |
---|---|
DSTTYPE |
getEncoded(SRCTYPE aInput)
Encode the passed source object
|
@Nullable DSTTYPE getEncoded(@Nullable SRCTYPE aInput)
aInput
- The source object to be encodedEncodeException
- In case something goes wrongCopyright © 2014–2019 Philip Helger. All rights reserved.