Gephi Toolkit Javadoc

org.gephi.io.importer.spi
Interface Importer

All Known Subinterfaces:
DatabaseImporter, FileImporter, SpigotImporter
All Known Implementing Classes:
ImporterCSV, ImporterDL, ImporterDOT, ImporterEdgeList, ImporterGDF, ImporterGEXF, ImporterGML, ImporterGraphML, ImporterPajek, ImporterTLP, ImporterVNA

public interface Importer

Interface for classes which imports data from files, databases, streams or other sources.

Importers are built from ImporterBuilder services and can be configured by ImporterUI classes.

Author:
Mathieu Bastian
See Also:
ImportController

Method Summary
 boolean execute(ContainerLoader loader)
          Run the import processus.
 ContainerLoader getContainer()
          Returns the import container.
 Report getReport()
          Returns the import report, filled with logs and potential issues.
 

Method Detail

execute

boolean execute(ContainerLoader loader)
Run the import processus.

Parameters:
loader - the container where imported data will be pushed
Returns:
true if the import is successfull or false if it has been cancelled

getContainer

ContainerLoader getContainer()
Returns the import container. The container is the import "result", all data found during import are being pushed to the container.

Returns:
the import container

getReport

Report getReport()
Returns the import report, filled with logs and potential issues.

Returns:
the import report

Gephi Toolkit Javadoc