Gephi Toolkit Javadoc

org.gephi.io.importer.impl
Class ImportControllerImpl

java.lang.Object
  extended by org.gephi.io.importer.impl.ImportControllerImpl
All Implemented Interfaces:
ImportController

public class ImportControllerImpl
extends java.lang.Object
implements ImportController

Author:
Mathieu Bastian, Sebastien Heymann

Constructor Summary
ImportControllerImpl()
           
 
Method Summary
 FileImporter getFileImporter(java.io.File file)
           
 FileImporter getFileImporter(java.lang.String importerName)
           
 FileType[] getFileTypes()
           
 ImporterUI getUI(Importer importer)
           
 ImporterWizardUI getWizardUI(Importer importer)
           
 Container importDatabase(Database database, DatabaseImporter importer)
           
 Container importFile(java.io.File file)
           
 Container importFile(java.io.File file, FileImporter importer)
           
 Container importFile(java.io.InputStream stream, FileImporter importer)
           
 Container importFile(java.io.Reader reader, FileImporter importer)
           
 Container importSpigot(SpigotImporter importer)
           
 boolean isFileSupported(java.io.File file)
           
 void process(Container container)
           
 void process(Container container, Processor processor, Workspace workspace)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImportControllerImpl

public ImportControllerImpl()
Method Detail

getFileImporter

public FileImporter getFileImporter(java.io.File file)
Specified by:
getFileImporter in interface ImportController

getFileImporter

public FileImporter getFileImporter(java.lang.String importerName)
Specified by:
getFileImporter in interface ImportController

importFile

public Container importFile(java.io.File file)
                     throws java.io.FileNotFoundException
Specified by:
importFile in interface ImportController
Throws:
java.io.FileNotFoundException

importFile

public Container importFile(java.io.File file,
                            FileImporter importer)
                     throws java.io.FileNotFoundException
Specified by:
importFile in interface ImportController
Throws:
java.io.FileNotFoundException

importFile

public Container importFile(java.io.Reader reader,
                            FileImporter importer)
Specified by:
importFile in interface ImportController

importFile

public Container importFile(java.io.InputStream stream,
                            FileImporter importer)
Specified by:
importFile in interface ImportController

importDatabase

public Container importDatabase(Database database,
                                DatabaseImporter importer)
Specified by:
importDatabase in interface ImportController

importSpigot

public Container importSpigot(SpigotImporter importer)
Specified by:
importSpigot in interface ImportController

process

public void process(Container container)
Specified by:
process in interface ImportController

process

public void process(Container container,
                    Processor processor,
                    Workspace workspace)
Specified by:
process in interface ImportController

getFileTypes

public FileType[] getFileTypes()
Specified by:
getFileTypes in interface ImportController

isFileSupported

public boolean isFileSupported(java.io.File file)
Specified by:
isFileSupported in interface ImportController

getUI

public ImporterUI getUI(Importer importer)
Specified by:
getUI in interface ImportController

getWizardUI

public ImporterWizardUI getWizardUI(Importer importer)
Specified by:
getWizardUI in interface ImportController

Gephi Toolkit Javadoc