uk.ac.ebi.intenz.tools.importer
Class Importer

java.lang.Object
  extended by uk.ac.ebi.intenz.tools.importer.Importer
Direct Known Subclasses:
GoLinkImporter, KrakenLinkImporter

public abstract class Importer
extends Object

This interface defines the imported for all data.

Version:
$id 31-May-2005 13:46:10 History: Developer Date Description local_admin 31-May-2005 Created class
Author:
local_admin

Field Summary
protected  Properties importerProps
           
 
Constructor Summary
protected Importer()
           
 
Method Summary
protected abstract  void destroy()
          Method used to close all loose ends.
 void doImport()
          Using the template pattern to do the import.
protected abstract  void importData()
          Used to import the data from the source
protected abstract  void loadData()
          Method called after the data has been imported succesfully.
protected abstract  void setup()
          Used to setup all network connections.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

importerProps

protected Properties importerProps
Constructor Detail

Importer

protected Importer()
            throws IOException
Throws:
IOException
Method Detail

doImport

public final void doImport()
                    throws Exception
Using the template pattern to do the import.

Throws:
Exception

setup

protected abstract void setup()
                       throws Exception
Used to setup all network connections.

Throws:
Exception

importData

protected abstract void importData()
                            throws Exception
Used to import the data from the source

Throws:
Exception

loadData

protected abstract void loadData()
                          throws Exception
Method called after the data has been imported succesfully.

Throws:
Exception

destroy

protected abstract void destroy()
Method used to close all loose ends.



Copyright © 2013 EMBL-EBI. All Rights Reserved.