ar.com.ktulu.dict
Class DBify

java.lang.Object
  |
  +--ar.com.ktulu.dict.DBify

public class DBify
extends java.lang.Object

Reads a dictionary from a flat file and store this information into a database using jdbc.

Its usage is:
DBify url name data index batch [batch_size]

The needed command line arguments are:

Author:
Luis Parravicini
See Also:
MAXST

Field Summary
static int MAXST
          Default value for the amount of inserts in each batch.
 
Constructor Summary
DBify()
           
 
Method Summary
 void doit(java.lang.String url, java.lang.String name, java.lang.String fidx, java.lang.String fname, boolean useBatchs, int max)
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAXST

public static int MAXST
Default value for the amount of inserts in each batch.

Constructor Detail

DBify

public DBify()
Method Detail

doit

public void doit(java.lang.String url,
                 java.lang.String name,
                 java.lang.String fidx,
                 java.lang.String fname,
                 boolean useBatchs,
                 int max)
          throws java.sql.SQLException,
                 java.io.IOException
java.sql.SQLException
java.io.IOException

main

public static void main(java.lang.String[] args)