fcmodeler.pathbinder
Class DictionaryBuilder

java.lang.Object
  extended by edu.iastate.jtm.gui.DefaultMonitorable
      extended by fcmodeler.pathbinder.DictionaryBuilder
All Implemented Interfaces:
Monitorable

public class DictionaryBuilder
extends DefaultMonitorable

Create dictionaries from the Entity and EntitySynonym tables.

Author:
Jing Ding fcmodeler.pathbinder MetNet

Field Summary
 
Fields inherited from class edu.iastate.jtm.gui.DefaultMonitorable
message, monitorable, progress
 
Constructor Summary
DictionaryBuilder(MySqlConnector db)
           
 
Method Summary
 void createLocDic(java.io.File dic)
           
 void createTermDic(java.io.File dic)
           
 void loadStoplist(java.io.File stop)
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class edu.iastate.jtm.gui.DefaultMonitorable
getMessage, getProgress, isDeterministic, isFinished, isMonitorable, isRunning, setMessage, setMonitorable, setProgress
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DictionaryBuilder

public DictionaryBuilder(MySqlConnector db)
Method Detail

loadStoplist

public void loadStoplist(java.io.File stop)
                  throws java.io.IOException
Throws:
java.io.IOException

createTermDic

public void createTermDic(java.io.File dic)
                   throws java.sql.SQLException,
                          java.io.IOException
Throws:
java.sql.SQLException
java.io.IOException

createLocDic

public void createLocDic(java.io.File dic)
                  throws java.io.IOException,
                         java.sql.SQLException
Throws:
java.io.IOException
java.sql.SQLException

main

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