|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ByteCoder
An utility interface for converting Objects to bytes for storage or network
transport. For some common, general-purpose ByteCoder
s, see the
GlazedLists
factory class.
Method Summary | |
---|---|
java.lang.Object |
decode(java.io.InputStream source)
Decode the Object from the specified InputStream . |
void |
encode(java.lang.Object source,
java.io.OutputStream target)
Encode the specified Object over the specified OutputStream . |
Method Detail |
---|
void encode(java.lang.Object source, java.io.OutputStream target) throws java.io.IOException
OutputStream
.
java.io.IOException
java.lang.Object decode(java.io.InputStream source) throws java.io.IOException
InputStream
. The stream should contain
exactly one Object and no further bytes before the end of the stream.
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |