public class JavaObjectSerialiser extends Object implements ObjectSerialiser
| Constructor and Description |
|---|
JavaObjectSerialiser() |
| 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.
|
ObjectOutputStream |
writeObject(Object object,
OutputStream outputStream)
Writes an object to the supplied stream.
|
public ObjectOutputStream writeObject(Object object, OutputStream outputStream) throws IOException
ObjectSerialiserwriteObject in interface ObjectSerialiserIOExceptionpublic Pair<InputStream,Object> readObject(InputStream inputStream) throws IOException, ClassNotFoundException
ObjectSerialiserreadObject in interface ObjectSerialiserIOExceptionClassNotFoundExceptionpublic int getTag()
ObjectSerialisergetTag in interface ObjectSerialiserCopyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.