public final class MasterMoleculeStorageSerialization extends AbstractSerialization<MasterMoleculeStorageImpl,MasterMoleculeStorage>
MasterMoleculeStorage instances.| Modifier and Type | Method and Description |
|---|---|
MasterMoleculeStorage |
deserialize(ObjectInputStream ois,
SubProgressObserver po)
Deserialize.
|
void |
serialize(MasterMoleculeStorageImpl obj,
ObjectOutputStream oos,
SubProgressObserver po)
Create custom serialization.
|
static void |
writeMms(MasterMoleculeStorageImpl mms,
ObjectOutputStream oos,
SubProgressObserver po)
Write
Deserializer conform representation. |
getDeserializedType, writepublic MasterMoleculeStorage deserialize(ObjectInputStream ois, SubProgressObserver po) throws IOException, ClassNotFoundException
Deserializerois - Stream to read from. Will not be closed upon finishing.po - Progess observer to track progress. Possibly will be swithced to determinate using
ProgressObserver.switchToDeterminate(long). Method ProgressObserver.done() will be called
upon finishing.IOException - when deserialization failedClassNotFoundExceptionpublic void serialize(MasterMoleculeStorageImpl obj, ObjectOutputStream oos, SubProgressObserver po) throws IOException
Serializerobj - Object to writeoos - Object output stream to write topo - Progress observer to track progressIOExceptionpublic static void writeMms(MasterMoleculeStorageImpl mms, ObjectOutputStream oos, SubProgressObserver po) throws IOException
Deserializer conform representation.mms - Object to be serialized by the delegated Serializeroos - Stream to write topo - Observer to track progressIOException - propagated