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
Exception
public Object decode(InputStream in, Type t) throws Exception
Exception
public void encode(Type t, Object o, Appendable out) throws Exception
public void encode(Type t, Object o, OutputStream out) throws Exception
Exception
Copyright © 2015 aQute SARL. All rights reserved.