|
||||||||||
| 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 ByteCoders, see the
GlazedLists factory class.
| Method Summary | |
|---|---|
Object |
decode(InputStream source)
Decode the Object from the specified InputStream. |
void |
encode(Object source,
OutputStream target)
Encode the specified Object over the specified OutputStream. |
| Method Detail |
|---|
void encode(Object source,
OutputStream target)
throws IOException
OutputStream.
IOException
Object decode(InputStream source)
throws IOException
InputStream. The stream should contain
exactly one Object and no further bytes before the end of the stream.
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||