Package org.gephi.project.spi
Interface WorkspaceBytesPersistenceProvider
-
- All Superinterfaces:
WorkspacePersistenceProvider
public interface WorkspaceBytesPersistenceProvider extends WorkspacePersistenceProvider
Binary Workspace persistence provider.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.-
Methods inherited from interface org.gephi.project.spi.WorkspacePersistenceProvider
getIdentifier
-
-
-
-
Method Detail
-
writeBytes
void writeBytes(DataOutputStream stream, Workspace workspace)
This is automatically called when saving a project file.- Parameters:
stream
- DataOutputStream stream to write toworkspace
- current workspace being serialized
-
readBytes
void readBytes(DataInputStream stream, Workspace workspace)
This is automatically called when loading a project file.- Parameters:
stream
- DataInputStream stream to read fromworkspace
- current workspace being deserialized
-
-