SRCTYPE - Source data typeDSTTYPE - Destination data type@FunctionalInterface public interface IEncoder<SRCTYPE,DSTTYPE>
| 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–2022 Philip Helger. All rights reserved.