|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectnet.sf.ciccgrid.pws.Synonyms
public class Synonyms
Methods to get synonyms from ID's and SMILES and vice versa.
| Constructor Summary | |
|---|---|
Synonyms()
|
|
| Method Summary | |
|---|---|
java.lang.String[] |
getCompoundSynonyms(java.lang.String identifier,
boolean isCID)
Get the synonyms for a compound. |
java.lang.String[] |
getSmilesBySynonym(java.lang.String synonym)
Returns the SMILES corresponding to a given synonym. |
java.lang.String[] |
getSubstanceSynonyms(java.lang.String identifier)
Get the synonyms for a substance. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Synonyms()
throws java.sql.SQLException,
java.lang.ClassNotFoundException
java.sql.SQLException
java.lang.ClassNotFoundException| Method Detail |
|---|
public java.lang.String[] getCompoundSynonyms(java.lang.String identifier,
boolean isCID)
throws java.sql.SQLException,
java.lang.ClassNotFoundException
identifier - The CID or SMILES stringisCID - true if the identifier is a CID, false if it is a SMILES string
java.sql.SQLException
java.lang.ClassNotFoundException
public java.lang.String[] getSubstanceSynonyms(java.lang.String identifier)
throws java.sql.SQLException,
java.lang.ClassNotFoundException
identifier - The substance identifier
java.sql.SQLException
java.lang.ClassNotFoundException
public java.lang.String[] getSmilesBySynonym(java.lang.String synonym)
throws java.lang.Exception
synonym - The synonym of interest
java.lang.Exception
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||