| Modifier and Type | Method and Description |
|---|---|
<T> T |
decode(File in,
Class<T> t) |
<T> T |
decode(InputStream in,
Class<T> t) |
Object |
decode(InputStream in,
Type t) |
<T> T |
decode(Reader in,
Class<T> t) |
Object |
decode(Reader in,
Type type) |
void |
encode(Type t,
Object o,
Appendable out) |
void |
encode(Type t,
Object o,
File out) |
void |
encode(Type t,
Object o,
OutputStream out) |
public HCodec(Codec codec)
public <T> T decode(InputStream in, Class<T> t) throws Exception
Exceptionpublic Object decode(InputStream in, Type t) throws Exception
Exceptionpublic void encode(Type t, Object o, Appendable out) throws Exception
public void encode(Type t, Object o, OutputStream out) throws Exception
ExceptionCopyright © 2019 aQute SARL. All rights reserved.