|
Project JXTA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Streamable
Streamable is an interface implemented by objects used by Filers and Indexers in order to serialize objects to and from IO streams.
Method Summary | |
---|---|
void |
read(DataInputStream is)
read reads the object state from the stream. |
void |
write(DataOutputStream os)
write writes the object state to the stream. |
Method Detail |
---|
void read(DataInputStream is) throws IOException
is
- The DataInputStream
IOException
- if an IOException occursvoid write(DataOutputStream os) throws IOException
os
- The DataOutputStream
IOException
- if an IOException occurs
|
JXTA J2SE | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |