public abstract class Importer extends Object
Modifier and Type | Field and Description |
---|---|
protected Properties |
importerProps |
Modifier | Constructor and Description |
---|---|
protected |
Importer() |
Modifier and Type | Method and Description |
---|---|
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.
|
protected Properties importerProps
protected Importer() throws IOException
IOException
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
Exception
protected abstract void destroy()
Copyright © 2014 EMBL-EBI. All rights reserved.