Gephi Toolkit Javadoc

org.gephi.io.importer.plugin.database
Class ImporterEdgeList

java.lang.Object
  extended by org.gephi.io.importer.plugin.database.ImporterEdgeList
All Implemented Interfaces:
DatabaseImporter, Importer

public class ImporterEdgeList
extends java.lang.Object
implements DatabaseImporter

Author:
Mathieu Bastian

Constructor Summary
ImporterEdgeList()
           
 
Method Summary
 boolean execute(ContainerLoader container)
          Run the import processus.
 ContainerLoader getContainer()
          Returns the import container.
 Database getDatabase()
          Returns the current database description, connexion details and queries
 Report getReport()
          Returns the import report, filled with logs and potential issues.
 void setDatabase(Database database)
          Sets the database description, connexion details and queries
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImporterEdgeList

public ImporterEdgeList()
Method Detail

execute

public boolean execute(ContainerLoader container)
Description copied from interface: Importer
Run the import processus.

Specified by:
execute in interface Importer
Parameters:
container - the container where imported data will be pushed
Returns:
true if the import is successfull or false if it has been cancelled

setDatabase

public void setDatabase(Database database)
Description copied from interface: DatabaseImporter
Sets the database description, connexion details and queries

Specified by:
setDatabase in interface DatabaseImporter
Parameters:
database - the database that is to be used to import

getDatabase

public Database getDatabase()
Description copied from interface: DatabaseImporter
Returns the current database description, connexion details and queries

Specified by:
getDatabase in interface DatabaseImporter
Returns:
the database that is to be used to import

getContainer

public ContainerLoader getContainer()
Description copied from interface: Importer
Returns the import container. The container is the import "result", all data found during import are being pushed to the container.

Specified by:
getContainer in interface Importer
Returns:
the import container

getReport

public Report getReport()
Description copied from interface: Importer
Returns the import report, filled with logs and potential issues.

Specified by:
getReport in interface Importer
Returns:
the import report

Gephi Toolkit Javadoc