org.intermine.dataloader
Class DataLoader

java.lang.Object
  extended by org.intermine.dataloader.DataLoader
Direct Known Subclasses:
DirectDataLoader, ObjectStoreDataLoader, XmlDataLoader

public abstract class DataLoader
extends java.lang.Object

Loads information from a data source into the InterMine database. This class defines a member variable referencing an IntegrationWriter, which all DataLoaders require.


Constructor Summary
DataLoader(IntegrationWriter iw)
          Construct a DataLoader
 
Method Summary
 IntegrationWriter getIntegrationWriter()
          Return the IntegrationWriter that was passed to the constructor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataLoader

public DataLoader(IntegrationWriter iw)
Construct a DataLoader

Parameters:
iw - an IntegrationWriter to write to
Method Detail

getIntegrationWriter

public IntegrationWriter getIntegrationWriter()
Return the IntegrationWriter that was passed to the constructor.

Returns:
the IntegrationWriter