|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.ebi.intenz.tools.importer.Importer
public abstract class Importer
This interface defines the imported for all data.
| 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 |
|---|
protected Properties importerProps
| Constructor Detail |
|---|
protected Importer()
throws IOException
IOException| Method Detail |
|---|
public final void doImport()
throws Exception
Exception
protected abstract void setup()
throws Exception
Exception
protected abstract void importData()
throws Exception
Exception
protected abstract void loadData()
throws Exception
Exceptionprotected abstract void destroy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||