public class DictionaryToDatabaseWithUsageCount extends Object
Constructor and Description |
---|
DictionaryToDatabaseWithUsageCount(Connection conn)
Create a new DictionaryToDatabase with a database connection.
|
Modifier and Type | Method and Description |
---|---|
void |
createTables(String scriptFilePath)
Create the database tables.
|
void |
insertData()
Inserts the data into the database.
|
static void |
main(String[] args)
Run the program, requires 4 arguments.
|
public DictionaryToDatabaseWithUsageCount(Connection conn)
conn
- - the database connectionpublic static void main(String[] args)
args
- public void createTables(String scriptFilePath) throws IOException, SQLException
scriptFilePath
- - the sql script filenameIOException
SQLException
Copyright © 2015. All rights reserved.