Package org.gephi.io.importer.spi
Interface Importer
-
- All Known Subinterfaces:
DatabaseImporter,FileImporter,WizardImporter
public interface ImporterInterface for classes which imports data from files, databases, streams or other sources.Importers are built from
ImporterBuilderservices and can be configured byImporterUIclasses.- Author:
- Mathieu Bastian
- See Also:
ImportController
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanexecute(ContainerLoader loader)Run the import process.ContainerLoadergetContainer()Returns the import container.ReportgetReport()Returns the import report, filled with logs and potential issues.
-
-
-
Method Detail
-
execute
boolean execute(ContainerLoader loader)
Run the import process.- Parameters:
loader- the container where imported data will be pushed- Returns:
trueif the import is successful orfalseif 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
-
-