uk.ac.ebi.ep.mm.app
Class DatabaseResources
java.lang.Object
uk.ac.ebi.ep.mm.app.DatabaseResources
- Direct Known Subclasses:
- CompoundsDAOImpl
public abstract class DatabaseResources
- extends Object
- Author:
- joseph
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DatabaseResources
public DatabaseResources(String dbConfig)
- Parameters:
dbConfig
- the database configuration filename
getConnection
public final Connection getConnection(String dbConfig)
throws IOException
- Throws:
IOException
getMegaMapper
public MegaMapper getMegaMapper()
writeEntry
public void writeEntry(Entry entry)
throws IOException
- Throws:
IOException
writeEntries
public void writeEntries(Collection<Entry> entries)
throws IOException
- Throws:
IOException
writeXref
public void writeXref(XRef ref)
throws IOException
- Throws:
IOException
writeXrefs
public void writeXrefs(Collection<XRef> xRefs)
throws IOException
- Throws:
IOException
Copyright © 2012 EMBL-EBI. All Rights Reserved.