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