public interface Transportable
Modifier and Type | Method and Description |
---|---|
KeyValuePair |
fromStream(InputStream is)
Read the object from the input stream.
|
void |
toStream(OutputStream os)
Write the object to the output stream.
|
KeyValuePair fromStream(InputStream is) throws IOException
is
- The stream to read from.IOException
void toStream(OutputStream os) throws IOException
os
- The stream to write into.IOException
Copyright © 2015. All rights reserved.