edu.mssm.crover.webapps.dimlib.util
Class Setup

java.lang.Object
  |
  +--edu.mssm.crover.webapps.dimlib.util.Setup

public class Setup
extends java.lang.Object


Constructor Summary
Setup()
           
 
Method Summary
 java.util.Vector getAllowedDatabases()
          Returns a Vector of the databases that are recognised by the database.
 java.io.BufferedReader getAllowedOrganismList()
          Returns a BufferedReader of the organism list file.
 java.util.Hashtable getAllowedOrganisms()
          Returns a Hashtable of the organisms recognised by the database.
 java.util.Hashtable getColors()
           
 java.util.HashMap getCuratedList()
           
 java.util.Hashtable getDatabaseConcordance()
           
 java.lang.String getGpcrdbColour(java.lang.String letter)
          Returns the hex colour for that residue in the GPCRDB colouring scheme.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Setup

public Setup()
Method Detail

getAllowedDatabases

public java.util.Vector getAllowedDatabases()
Returns a Vector of the databases that are recognised by the database. Finds the list in the context parameter dimlib.database.list.


getDatabaseConcordance

public java.util.Hashtable getDatabaseConcordance()

getColors

public java.util.Hashtable getColors()

getAllowedOrganisms

public java.util.Hashtable getAllowedOrganisms()
Returns a Hashtable of the organisms recognised by the database. The Hashtable includes the common English name, and the Latin name. It is found in the file specified by the context parameter dimlib.organism.list.


getAllowedOrganismList

public java.io.BufferedReader getAllowedOrganismList()
                                              throws java.lang.NullPointerException
Returns a BufferedReader of the organism list file. The organiam list file is formatted as two columns: the Latin name, and the common or English name.

java.lang.NullPointerException

getGpcrdbColour

public java.lang.String getGpcrdbColour(java.lang.String letter)
Returns the hex colour for that residue in the GPCRDB colouring scheme.


getCuratedList

public java.util.HashMap getCuratedList()


Copyright @ 2003 Mount Sinai School of Medicine. All Rights Reserved.