Cytoscape 2.8.0 API

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.
Create a new map for the DB references.
 
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
clone, equals, finalize, 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:

Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.