public interface WorkspaceBytesPersistenceProvider extends WorkspacePersistenceProvider
Modifier and Type | Method and Description |
---|---|
void |
readBytes(DataInputStream stream,
Workspace workspace)
This is automatically called when loading a project file.
|
void |
writeBytes(DataOutputStream stream,
Workspace workspace)
This is automatically called when saving a project file.
|
getIdentifier
void writeBytes(DataOutputStream stream, Workspace workspace)
stream
- DataOutputStream stream to write toworkspace
- current workspace being serializedvoid readBytes(DataInputStream stream, Workspace workspace)
stream
- DataInputStream stream to read fromworkspace
- current workspace being deserializedCopyright © 2007–2015 Gephi Consortium. All rights reserved.