public class DbEui
extends java.lang.Object
History:
Constructor and Description |
---|
DbEui() |
Modifier and Type | Method and Description |
---|---|
static java.util.Vector<EuiRecord> |
GetEuisByInflectedTerm(java.lang.String ifTerm,
java.sql.Connection conn)
Get all EUIs (string) for an inflected term from LVG database.
|
static java.util.Vector<EuiRecord> |
GetEuisByUnflectedTerm(java.lang.String unTerm,
java.sql.Connection conn)
Get all EUIs (string) for an uninflected term from LVG database.
|
static java.lang.String |
GetEuisByUnflectedTermCat(java.lang.String unTerm,
int category,
java.sql.Connection conn)
Get all EUIs (string) for an uninflected term with specific category
from LVG database.
|
static void |
main(java.lang.String[] args)
Test driver for this class.
|
public static java.util.Vector<EuiRecord> GetEuisByInflectedTerm(java.lang.String ifTerm, java.sql.Connection conn) throws java.sql.SQLException
ifTerm
- an inflected term for finding EUIsconn
- database connectionjava.sql.SQLException
- if there is a database error happenspublic static java.util.Vector<EuiRecord> GetEuisByUnflectedTerm(java.lang.String unTerm, java.sql.Connection conn) throws java.sql.SQLException
unTerm
- an uninflected term for finding EUIsconn
- database connectionjava.sql.SQLException
- if there is a database error happenspublic static java.lang.String GetEuisByUnflectedTermCat(java.lang.String unTerm, int category, java.sql.Connection conn) throws java.sql.SQLException
unTerm
- an uninflected term for finding EUIscategory
- a specified category in a integer formatconn
- database connectionjava.sql.SQLException
- if there is a database error happenspublic static void main(java.lang.String[] args)
args
- arguments