public class XStreamObjectSerialiser extends Object implements ObjectSerialiser
Constructor and Description |
---|
XStreamObjectSerialiser(XStreamManager xStreamManager) |
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.
|
public XStreamObjectSerialiser(XStreamManager xStreamManager)
@NotNull public OutputStream writeObject(Object object, OutputStream outputStream) throws IOException
ObjectSerialiser
writeObject
in interface ObjectSerialiser
IOException
public Pair<InputStream,Object> readObject(InputStream inputStream) throws IOException, ClassNotFoundException
ObjectSerialiser
readObject
in interface ObjectSerialiser
IOException
ClassNotFoundException
public int getTag()
ObjectSerialiser
getTag
in interface ObjectSerialiser
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.