aQute.lib.codec
Class HCodec
java.lang.Object
aQute.lib.codec.HCodec
- All Implemented Interfaces:
- Codec
public class HCodec
- extends Object
- implements Codec
|
Method Summary |
|
decode(File in,
Class<T> t)
|
|
decode(InputStream in,
Class<T> t)
|
Object |
decode(InputStream in,
Type 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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HCodec
public HCodec(Codec codec)
decode
public Object decode(Reader in,
Type type)
throws Exception
- Specified by:
decode in interface Codec
- Throws:
Exception
decode
public <T> T decode(InputStream in,
Class<T> t)
throws Exception
- Throws:
Exception
decode
public <T> T decode(Reader in,
Class<T> t)
throws Exception
- Throws:
Exception
decode
public Object decode(InputStream in,
Type t)
throws Exception
- Throws:
Exception
encode
public void encode(Type t,
Object o,
Appendable out)
throws Exception
- Specified by:
encode in interface Codec
- Throws:
Exception
encode
public void encode(Type t,
Object o,
OutputStream out)
throws Exception
- Throws:
Exception
decode
public <T> T decode(File in,
Class<T> t)
throws Exception
- Throws:
Exception
encode
public void encode(Type t,
Object o,
File out)
throws Exception
- Throws:
Exception
Copyright © 2014 aQute SARL. All rights reserved.