Package org.gephi.io.exporter.spi
Interface Exporter
-
- All Known Subinterfaces:
ByteExporter
,CharacterExporter
,GraphExporter
,VectorExporter
public interface Exporter
Define 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 boolean
execute()
Run the export process.Workspace
getWorkspace()
Returns the workspace from where data are exportedvoid
setWorkspace(Workspace workspace)
Sets the worksapce from where to export data
-
-
-
Method Detail
-
execute
boolean execute()
Run the export process.- Returns:
true
if the operation is successful,false
if 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
-
-