Package org.gephi.io.importer.api
Interface ImportController
-
public interface ImportController
Manage and control the import execution flow.This controller is a singleton and can therefore be found in Lookup:
ImportController ic = Lookup.getDefault().lookup(ImportController.class);
- Author:
- Mathieu Bastian
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FileImporter
getFileImporter(File file)
FileImporter
getFileImporter(String importerName)
FileImporter
getFileImporter(org.openide.filesystems.FileObject fileObject)
FileType[]
getFileTypes()
ImporterUI
getUI(Importer importer)
ImporterWizardUI
getWizardUI(Importer importer)
Container
importDatabase(Database database, DatabaseImporter importer)
Container
importFile(File file)
Container
importFile(File file, FileImporter importer)
Container
importFile(InputStream stream, FileImporter importer)
Container
importFile(Reader reader, FileImporter importer)
Container
importWizard(WizardImporter importer)
boolean
isFileSupported(File file)
void
process(Container container)
void
process(Container[] containers, Processor processor, Workspace workspace)
void
process(Container container, Processor processor, Workspace workspace)
-
-
-
Method Detail
-
importFile
Container importFile(File file) throws FileNotFoundException
- Throws:
FileNotFoundException
-
importFile
Container importFile(File file, FileImporter importer) throws FileNotFoundException
- Throws:
FileNotFoundException
-
importFile
Container importFile(Reader reader, FileImporter importer)
-
importFile
Container importFile(InputStream stream, FileImporter importer)
-
importWizard
Container importWizard(WizardImporter importer)
-
getFileImporter
FileImporter getFileImporter(org.openide.filesystems.FileObject fileObject)
-
getFileImporter
FileImporter getFileImporter(File file)
-
getFileImporter
FileImporter getFileImporter(String importerName)
-
importDatabase
Container importDatabase(Database database, DatabaseImporter importer)
-
process
void process(Container container)
-
getFileTypes
FileType[] getFileTypes()
-
isFileSupported
boolean isFileSupported(File file)
-
getUI
ImporterUI getUI(Importer importer)
-
getWizardUI
ImporterWizardUI getWizardUI(Importer importer)
-
-