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
IOExceptionPair<InputStream,Object> readObject(InputStream inputStream) throws IOException, ClassNotFoundException
inputStream - IOExceptionClassNotFoundExceptionint getTag()
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.