|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectScript.Txt2MySQL
public class Txt2MySQL
Script for converting feature data from a text file to a MySQL DB.
| Constructor Summary | |
|---|---|
Txt2MySQL(java.lang.String file,
java.lang.String usr,
java.lang.String pwd,
java.lang.String db,
java.lang.String table)
Basic constructor. |
|
| Method Summary | |
|---|---|
boolean |
textToSql()
Inserts all images of the text DB into the MySQL DB. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Txt2MySQL(java.lang.String file,
java.lang.String usr,
java.lang.String pwd,
java.lang.String db,
java.lang.String table)
file - Path of the text file containing the features.usr - Username for the DB connection.pwd - Password for the DB connection.db - Name of the features database.table - Name of the features table.| Method Detail |
|---|
public boolean textToSql()
true if all images were successfully inserted, false otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||