public abstract class CmdLineArgs extends CmdLine
History:
Notes:
It is illegal to have multiple arguments with one of them is NONE
For example: -a:aa~aaa~aab~NONE
Instead, it should change to -a:aa~aaa~aab~none
Modifier and Type | Field and Description |
---|---|
protected java.util.Hashtable<java.lang.String,java.lang.String> |
flagHelpList_ |
protected gov.nih.nlm.nls.lvg.CmdLineSyntax.Option |
option_ |
protected gov.nih.nlm.nls.lvg.CmdLineSyntax.Option |
systemOption_ |
fileOutput_, inReader_, outWriter_, promptFlag_, promptStr_, quitStrList_, runFlag_
Constructor and Description |
---|
CmdLineArgs()
Create a tool object (default).
|
Modifier and Type | Method and Description |
---|---|
protected void |
AddOptionHelpMenu(java.lang.String flag,
java.lang.String helpMenu) |
protected boolean |
CheckOption(gov.nih.nlm.nls.lvg.CmdLineSyntax.OptionItem inItem,
java.lang.String systemItemStr) |
protected abstract void |
ExecuteLocalOption(gov.nih.nlm.nls.lvg.CmdLineSyntax.OptionItem optionItem) |
protected void |
ExecuteOption(gov.nih.nlm.nls.lvg.CmdLineSyntax.OptionItem optionItem,
gov.nih.nlm.nls.lvg.CmdLineSyntax.Option systemOption) |
protected static java.util.Vector<java.lang.String> |
GetOptions(java.lang.String inStr) |
protected void |
HelpMenu() |
protected boolean |
PreProcess(java.lang.String[] args) |
protected java.lang.String |
ResizeWithSpace(java.lang.String inStr,
int size) |
protected abstract void |
SetLocalDefaultOption() |
protected abstract java.lang.String |
SetLocalFlagStr() |
protected abstract void |
SetLocalOptions() |
protected void |
SetOptionFlags() |
protected void |
SetSystemOptionFullName(java.lang.String item,
java.lang.String fullName) |
protected void |
SetValues() |
protected void |
SetValuesByCmdLineOptions() |
CloseLocalObjs, CloseObjs, GetPromptFlag, InitLocalObjs, PostProcess, Println, Process, ProcessLine, Run, SetPrompStr, SetToolInfo, SetValuesByDefault
protected gov.nih.nlm.nls.lvg.CmdLineSyntax.Option systemOption_
protected gov.nih.nlm.nls.lvg.CmdLineSyntax.Option option_
protected java.util.Hashtable<java.lang.String,java.lang.String> flagHelpList_
protected abstract java.lang.String SetLocalFlagStr()
protected abstract void SetLocalOptions()
protected abstract void ExecuteLocalOption(gov.nih.nlm.nls.lvg.CmdLineSyntax.OptionItem optionItem)
protected abstract void SetLocalDefaultOption()
protected boolean PreProcess(java.lang.String[] args)
PreProcess
in class CmdLine
protected void AddOptionHelpMenu(java.lang.String flag, java.lang.String helpMenu)
protected void SetSystemOptionFullName(java.lang.String item, java.lang.String fullName)
protected boolean CheckOption(gov.nih.nlm.nls.lvg.CmdLineSyntax.OptionItem inItem, java.lang.String systemItemStr)
protected java.lang.String ResizeWithSpace(java.lang.String inStr, int size)
protected void SetOptionFlags()
protected void SetValuesByCmdLineOptions()
protected static java.util.Vector<java.lang.String> GetOptions(java.lang.String inStr)
protected void ExecuteOption(gov.nih.nlm.nls.lvg.CmdLineSyntax.OptionItem optionItem, gov.nih.nlm.nls.lvg.CmdLineSyntax.Option systemOption)
Submit a bug or feature
Copyright © 2015 National Library of Medicine