public interface ObjectSerialiser
Modifier and Type | Method and Description |
---|---|
int |
getTag()
Returns an unique identifier for this object serialiser
|
Pair<InputStream,Object> |
readObject(InputStream inputStream)
Retreieves an object from a stream.
|
OutputStream |
writeObject(Object object,
OutputStream outputStream)
Writes an object to the supplied stream.
|
@NotNull OutputStream writeObject(Object object, OutputStream outputStream) throws IOException
IOException
Pair<InputStream,Object> readObject(InputStream inputStream) throws IOException, ClassNotFoundException
inputStream
- IOException
ClassNotFoundException
int getTag()
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.