public interface DataCodec
| Modifier and Type | Method and Description |
|---|---|
String |
contentType() |
Object |
decode(InputStream stream,
Class<?> type) |
void |
encode(OutputStream stream,
Object value) |
static DataCodec |
getInstance(String contentType) |
String contentType()
void encode(OutputStream stream, Object value) throws IOException
IOExceptionObject decode(InputStream stream, Class<?> type) throws IOException
IOExceptionCopyright © 2015–2018. All rights reserved.