public static class Common.CustomEnumDataFormat<E extends Enum<E> & Common.CustomEnumValues> extends DataFormat<E>
| Constructor and Description |
|---|
Common.CustomEnumDataFormat(Class<E> clazz) |
| Modifier and Type | Method and Description |
|---|---|
E |
decode(ByteBuffer buffer) |
ByteBuffer |
encode(ByteBuffer buffer,
E value) |
getName, toStringpublic E decode(ByteBuffer buffer) throws IOException
IOExceptionpublic ByteBuffer encode(ByteBuffer buffer, E value) throws IOException
IOExceptionCopyright © 2014. All Rights Reserved.