fcmodeler.pathbinder
Class FilterUpdater

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

public class FilterUpdater
extends DefaultMonitorable

Author:
Jing Ding fcmodeler.pathbinder MetNet

Field Summary
static java.lang.String locSql
           
static java.lang.String[] meshFields
           
static java.lang.String taxSql
           
 
Fields inherited from class edu.iastate.jtm.gui.DefaultMonitorable
message, monitorable, progress
 
Constructor Summary
FilterUpdater(MySqlConnector db)
          Creates a new instance of Tax2Pmid
 
Method Summary
 void deleteDuplicate(java.lang.String table)
           
 void emptyTable(java.lang.String table)
           
 void updateEntry(java.lang.String id, java.util.List names, boolean tax, boolean exclude0, Limits date)
           
 void updateFile(java.io.File namefile, boolean cleaned, boolean tax, Limits date)
           
 
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
 

Field Detail

taxSql

public static final java.lang.String taxSql
See Also:
Constant Field Values

locSql

public static final java.lang.String locSql
See Also:
Constant Field Values

meshFields

public static final java.lang.String[] meshFields
Constructor Detail

FilterUpdater

public FilterUpdater(MySqlConnector db)
              throws java.io.UnsupportedEncodingException,
                     org.xml.sax.SAXException
Creates a new instance of Tax2Pmid

Throws:
org.xml.sax.SAXException
java.io.UnsupportedEncodingException
Method Detail

updateEntry

public void updateEntry(java.lang.String id,
                        java.util.List names,
                        boolean tax,
                        boolean exclude0,
                        Limits date)
                 throws org.dom4j.DocumentException,
                        java.io.IOException,
                        java.sql.SQLException
Throws:
org.dom4j.DocumentException
java.io.IOException
java.sql.SQLException

updateFile

public void updateFile(java.io.File namefile,
                       boolean cleaned,
                       boolean tax,
                       Limits date)
                throws java.io.IOException,
                       org.dom4j.DocumentException,
                       java.sql.SQLException
Throws:
java.io.IOException
org.dom4j.DocumentException
java.sql.SQLException

deleteDuplicate

public void deleteDuplicate(java.lang.String table)
                     throws java.sql.SQLException
Throws:
java.sql.SQLException

emptyTable

public void emptyTable(java.lang.String table)
                throws java.sql.SQLException
Throws:
java.sql.SQLException