|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.didion.jwnl.utilities.DictionaryToDatabaseWithUsageCount
public class DictionaryToDatabaseWithUsageCount
DictionaryToDatabase is used to transfer a WordNet file database into an actual database structure.
| Constructor Summary | |
|---|---|
DictionaryToDatabaseWithUsageCount(java.sql.Connection conn)
Create a new DictionaryToDatabase with a database connection. |
|
| Method Summary | |
|---|---|
void |
createTables(java.lang.String scriptFilePath)
Create the database tables. |
void |
insertData()
Inserts the data into the database. |
static void |
main(java.lang.String[] args)
Run the program, requires 4 arguments. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DictionaryToDatabaseWithUsageCount(java.sql.Connection conn)
conn - - the database connection| Method Detail |
|---|
public static void main(java.lang.String[] args)
args -
public void createTables(java.lang.String scriptFilePath)
throws java.io.IOException,
java.sql.SQLException
scriptFilePath - - the sql script filename
java.io.IOException
java.sql.SQLException
public void insertData()
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||