Package org.gephi.io.exporter.spi
Interface Exporter
-
- All Known Subinterfaces:
ByteExporter,CharacterExporter,GraphExporter,VectorExporter
public interface ExporterDefine a class that can export data. Different sub-interfaces are available for byte and character targets.- Author:
- Mathieu Bastian
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanexecute()Run the export process.WorkspacegetWorkspace()Returns the workspace from where data are exportedvoidsetWorkspace(Workspace workspace)Sets the worksapce from where to export data
-
-
-
Method Detail
-
execute
boolean execute()
Run the export process.- Returns:
trueif the operation is successful,falseif it has been cancelled
-
getWorkspace
Workspace getWorkspace()
Returns the workspace from where data are exported- Returns:
- the workspace the data are to be exported
-
setWorkspace
void setWorkspace(Workspace workspace)
Sets the worksapce from where to export data- Parameters:
workspace- the workspace to export
-
-