Package org.gephi.io.importer.spi
Interface Importer
-
- All Known Subinterfaces:
DatabaseImporter
,FileImporter
,WizardImporter
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 byImporterUI
classes.- Author:
- Mathieu Bastian
- See Also:
ImportController
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
execute(ContainerLoader loader)
Run the import process.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 process.- Parameters:
loader
- the container where imported data will be pushed- Returns:
true
if the import is successful orfalse
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
-
-