public class SerializedObject extends Object implements Serializable, RevisionHandler
| Constructor and Description |
|---|
SerializedObject(Object toStore)
Creates a new serialized object (without compression).
|
SerializedObject(Object toStore,
boolean compress)
Creates a new serialized object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object compareTo) |
Object |
getObject()
Returns a serialized object.
|
String |
getRevision()
Returns the revision string.
|
int |
hashCode()
Returns a hashcode for this object.
|
public SerializedObject(Object toStore) throws Exception
toStore - the object to storeException - if the object couldn't be serializedpublic int hashCode()
public Object getObject()
Exception - if the object couldn't be restoredpublic String getRevision()
getRevision in interface RevisionHandlerCopyright © 2016 University of Waikato, Hamilton, NZ. All Rights Reserved.