|
Lvg Java 2006p Version |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgov.nih.nlm.nls.lvg.Db.DbAcronym
public class DbAcronym
This class provides high level interfaces to Acronym table in LVG database.
History:
AcronymRecord,
Desgin Document | Constructor Summary | |
|---|---|
DbAcronym()
|
|
| Method Summary | |
|---|---|
static java.util.Vector |
GetAcronyms(java.lang.String inStr,
java.sql.Connection conn)
Get all acronym records for an expansion (no punctuation lower case) from LVG database. |
static java.util.Vector |
GetExpansions(java.lang.String inStr,
java.sql.Connection conn)
Get all acronym records for an acronym (no punctuation lower case) from LVG database. |
static boolean |
IsAcronym(java.lang.String inStr,
java.sql.Connection conn)
Check if the input string is an acronym in LVG database |
static void |
main(java.lang.String[] args)
Test driver for this class. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DbAcronym()
| Method Detail |
|---|
public static boolean IsAcronym(java.lang.String inStr,
java.sql.Connection conn)
throws java.sql.SQLException
inStr - string to be checked (no punctuation lower case)conn - database connection
java.sql.SQLException - if there is a database error happens
public static java.util.Vector GetAcronyms(java.lang.String inStr,
java.sql.Connection conn)
throws java.sql.SQLException
inStr - expansion of an acronym (no punctuation lower case)conn - database connection
java.sql.SQLException - if there is a database error happens
public static java.util.Vector GetExpansions(java.lang.String inStr,
java.sql.Connection conn)
throws java.sql.SQLException
inStr - acronym of an expension (no punctuation lower case)conn - database connection
java.sql.SQLException - if there is a database error happenspublic static void main(java.lang.String[] args)
|
Lvg Java 2006p Version |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||