public final class CompactStringStorageSerialization extends AbstractSerialization<CompactStringStorage,MasterStringStorage>
CompactStringStorage instances.| Modifier and Type | Method and Description |
|---|---|
MasterStringStorage |
deserialize(ObjectInputStream ois,
SubProgressObserver po)
Deserialize.
|
void |
serialize(CompactStringStorage obj,
ObjectOutputStream oos,
SubProgressObserver po)
Create custom serialization.
|
static void |
writeCss(CompactStringStorage css,
ObjectOutputStream oos,
SubProgressObserver po)
Write
Deserializer conform representation. |
getDeserializedType, writepublic MasterStringStorage 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(CompactStringStorage obj, ObjectOutputStream oos, SubProgressObserver po) throws IOException
Serializerobj - Object to writeoos - Object output stream to write topo - Progress observer to track progressIOExceptionpublic static void writeCss(CompactStringStorage css, ObjectOutputStream oos, SubProgressObserver po) throws IOException
Deserializer conform representation.css - Object to be serialized by the delegated Serializeroos - Stream to write topo - Observer to track progressIOException - propagated