TC Java
2009 Version

gov.nih.nlm.nls.tc.Tools
Class Jdi

java.lang.Object
  extended by gov.nih.nlm.nls.lvg.CmdLineSyntax.SystemOption
      extended by gov.nih.nlm.nls.tc.Lib.TcSystemOption
          extended by gov.nih.nlm.nls.tc.Tools.Jdi

public class Jdi
extends TcSystemOption

This class provides Jd index tool

History:

Version:
V-2009
Author:
NLM Lexical Systems Group

Field Summary
protected static java.io.BufferedReader inReader_
           
protected static java.io.BufferedWriter outWriter_
           
protected  java.util.Vector<java.lang.String> quitStrList_
           
 
Fields inherited from class gov.nih.nlm.nls.tc.Lib.TcSystemOption
option_, properties_, runFlag_
 
Fields inherited from class gov.nih.nlm.nls.lvg.CmdLineSyntax.SystemOption
systemOption_
 
Constructor Summary
Jdi()
          Create a JDI tool object (default).
Jdi(java.lang.String optionStr)
          Create a JDI tool object by specifying option string.
 
Method Summary
 void Close()
          Close the input file, output file, and database.
protected  void DefineFlag()
           
protected  void ExecuteCommand(gov.nih.nlm.nls.lvg.CmdLineSyntax.OptionItem optionItem, gov.nih.nlm.nls.lvg.CmdLineSyntax.Option systemOption)
           
 boolean IsLegalOption()
          Get the boolean flag to indicate if the option is legal or not.
static void main(java.lang.String[] args)
           
 boolean Process()
          Process the JDI calculation
 
Methods inherited from class gov.nih.nlm.nls.tc.Lib.TcSystemOption
GetConfig, GetOptions, GetOptionStr, InitCmdLineOption, SetPropertiesInConfig
 
Methods inherited from class gov.nih.nlm.nls.lvg.CmdLineSyntax.SystemOption
CheckOption, CheckSyntax, ExecuteCommands, GetOption, ToBoolean, ToFloatArray, ToIntArray, ToStringArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

quitStrList_

protected java.util.Vector<java.lang.String> quitStrList_

inReader_

protected static java.io.BufferedReader inReader_

outWriter_

protected static java.io.BufferedWriter outWriter_
Constructor Detail

Jdi

public Jdi()
Create a JDI tool object (default).


Jdi

public Jdi(java.lang.String optionStr)
Create a JDI tool object by specifying option string.

Method Detail

main

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

Process

public boolean Process()
                throws java.sql.SQLException,
                       java.io.IOException
Process the JDI calculation

Returns:
true or false as the process is to be executed or exit
Throws:
java.sql.SQLException
java.io.IOException

IsLegalOption

public boolean IsLegalOption()
Get the boolean flag to indicate if the option is legal or not.

Overrides:
IsLegalOption in class TcSystemOption
Returns:
a boolean flag to indicate if the option is legal or not.

Close

public void Close()
Close the input file, output file, and database. This mehtod must be called before exit.


DefineFlag

protected void DefineFlag()
Specified by:
DefineFlag in class gov.nih.nlm.nls.lvg.CmdLineSyntax.SystemOption

ExecuteCommand

protected void ExecuteCommand(gov.nih.nlm.nls.lvg.CmdLineSyntax.OptionItem optionItem,
                              gov.nih.nlm.nls.lvg.CmdLineSyntax.Option systemOption)
Specified by:
ExecuteCommand in class gov.nih.nlm.nls.lvg.CmdLineSyntax.SystemOption

TC Java
2009 Version

Submit a bug or feature

Copyright © 2009 National Library of Medicine