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, write
public MasterStringStorage deserialize(ObjectInputStream ois, SubProgressObserver po) throws IOException, ClassNotFoundException
Deserializer
ois
- 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 failedClassNotFoundException
public void serialize(CompactStringStorage obj, ObjectOutputStream oos, SubProgressObserver po) throws IOException
Serializer
obj
- Object to writeoos
- Object output stream to write topo
- Progress observer to track progressIOException
public static void writeCss(CompactStringStorage css, ObjectOutputStream oos, SubProgressObserver po) throws IOException
Deserializer
conform representation.css
- Object to be serialized by the delegated Serializer
oos
- Stream to write topo
- Observer to track progressIOException
- propagated