TC Java
2011 Version

gov.nih.nlm.nls.tc.Lib
Class TcSystemOption

java.lang.Object
  extended by gov.nih.nlm.nls.lvg.CmdLineSyntax.SystemOption
      extended by gov.nih.nlm.nls.tc.Lib.TcSystemOption
Direct Known Subclasses:
Jdi, Sti, Stri, StWsd

public abstract class TcSystemOption
extends gov.nih.nlm.nls.lvg.CmdLineSyntax.SystemOption

This class provides adaptor to SystemOption

History:

Version:
V-2011
Author:
NLM Lexical Systems Group

Field Summary
protected  gov.nih.nlm.nls.lvg.CmdLineSyntax.Option option_
           
protected  java.util.Hashtable<java.lang.String,java.lang.String> properties_
           
protected  boolean runFlag_
           
 
Fields inherited from class gov.nih.nlm.nls.lvg.CmdLineSyntax.SystemOption
systemOption_
 
Constructor Summary
TcSystemOption()
          Create a JDI tool object (default).
 
Method Summary
protected  Configuration GetConfig(java.lang.String configFile)
           
protected static java.util.Vector<java.lang.String> GetOptions(java.lang.String inStr)
           
protected static java.lang.String GetOptionStr(java.lang.String[] args)
           
protected  void InitCmdLineOption()
           
 boolean IsLegalOption()
          Get the boolean flag to indicate if the option is legal or not.
protected  boolean SetPropertiesInConfig(java.lang.String version)
           
 
Methods inherited from class gov.nih.nlm.nls.lvg.CmdLineSyntax.SystemOption
CheckOption, CheckSyntax, DefineFlag, ExecuteCommand, 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

runFlag_

protected boolean runFlag_

option_

protected gov.nih.nlm.nls.lvg.CmdLineSyntax.Option option_

properties_

protected java.util.Hashtable<java.lang.String,java.lang.String> properties_
Constructor Detail

TcSystemOption

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

Method Detail

IsLegalOption

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

Returns:
a boolean flag to indicate if the option is legal or not.

SetPropertiesInConfig

protected boolean SetPropertiesInConfig(java.lang.String version)

GetOptionStr

protected static java.lang.String GetOptionStr(java.lang.String[] args)

GetConfig

protected Configuration GetConfig(java.lang.String configFile)

InitCmdLineOption

protected void InitCmdLineOption()

GetOptions

protected static java.util.Vector<java.lang.String> GetOptions(java.lang.String inStr)

TC Java
2011 Version

Submit a bug or feature

Copyright © 2011 National Library of Medicine