Gephi Toolkit Javadoc

org.gephi.io.exporter.spi
Interface Exporter

All Known Subinterfaces:
ByteExporter, CharacterExporter, GraphExporter, VectorExporter
All Known Implementing Classes:
ExporterCSV, ExporterDL, ExporterGDF, ExporterGEXF, ExporterGML, ExporterGraphML, ExporterPajek, ExporterVNA, PDFExporter, PNGExporter, SVGExporter

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
 boolean execute()
          Run the export process.
 Workspace getWorkspace()
          Returns the workspace from where data are exported
 void 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

setWorkspace

void setWorkspace(Workspace workspace)
Sets the worksapce from where to export data

Parameters:
workspace - the workspace to export

getWorkspace

Workspace getWorkspace()
Returns the workspace from where data are exported

Returns:
the workspace the data are to be exported

Gephi Toolkit Javadoc