|
Joram 5.2.6 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Streamable
This interface allows to read/write the content of an object on a IO stream.
Method Summary | |
---|---|
void |
readFrom(java.io.InputStream is)
The object implements the readFrom method to restore its contents from the input stream. |
void |
writeTo(java.io.OutputStream os)
The object implements the writeTo method to write its contents to the output stream. |
Method Detail |
---|
void writeTo(java.io.OutputStream os) throws java.io.IOException
os
- the stream to write the object to
java.io.IOException
void readFrom(java.io.InputStream is) throws java.io.IOException
is
- the stream to read data from in order to restore the object
java.io.IOException
|
Joram 5.2.6 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |