Stuart McCulloch | bb01437 | 2012-06-07 21:57:32 +0000 | [diff] [blame] | 1 | package aQute.lib.codec; |
2 | |||||
3 | import java.io.*; | ||||
4 | import java.lang.reflect.*; | ||||
5 | |||||
6 | public interface Codec { | ||||
7 | Object decode(Reader in, Type type) throws Exception; | ||||
8 | void encode(Type t, Object o, Appendable out) throws Exception; | ||||
9 | } |