Cytoscape 2.6.2 (c) 2006,2007 ISB, MSKCC, UCSD

cytoscape.data.ontology.readers
Class DBCrossReferenceReader

java.lang.Object
  extended by cytoscape.data.ontology.readers.DBCrossReferenceReader

public class DBCrossReferenceReader
extends Object

Reader for database cross reference file.

The resource file location is hard-coded. This will be in the cytoscape.jar.

Since:
Cytoscape 2.4
Version:
0.9
Author:
kono

Constructor Summary
DBCrossReferenceReader()
          Constructor.
 
Method Summary
 Map<String,DBReference> getXrefMap()
          Get the references as a map.
 void readResourceFile()
          Read the resource file in the jar.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBCrossReferenceReader

public DBCrossReferenceReader()
Constructor.
Create a new map for the DB references.

Method Detail

readResourceFile

public void readResourceFile()
                      throws IOException
Read the resource file in the jar.

Throws:
IOException

getXrefMap

public Map<String,DBReference> getXrefMap()
Get the references as a map.

Returns:

www.cytoscape.org