public interface Streamable
Modifier and Type | Method and Description |
---|---|
void |
readFrom(InputStream is)
The object implements the readFrom method to restore its contents from
the input stream.
|
void |
writeTo(OutputStream os)
The object implements the writeTo method to write its contents to
the output stream.
|
void writeTo(OutputStream os) throws IOException
os
- the stream to write the object toIOException
void readFrom(InputStream is) throws IOException
is
- the stream to read data from in order to restore the objectIOException
Copyright © 2020 ScalAgent D.T.. All rights reserved.