Package | Description |
---|---|
gov.nih.nlm.nls.cSpell.CmdLineSyntax |
Provides Java classes necessary to create a command line interface tool.
|
gov.nih.nlm.nls.cSpell.Tools |
Contains Java classes of CSpell command line tool.
|
Modifier and Type | Field and Description |
---|---|
protected Option |
SystemOption.systemOption_ |
Modifier and Type | Method and Description |
---|---|
Option |
SystemOption.GetOption()
Get the defined system option of the command line syntax system
|
static Option |
Option.GetOptonByArgs(java.lang.String[] args)
Get the Option from the input arguments
|
Modifier and Type | Method and Description |
---|---|
static boolean |
SystemOption.CheckSyntax(Option option,
Option systemOption,
boolean printRun,
boolean printError)
Check if the input option is legal according to the given system option
This method can be used as syntax error checker
|
static java.lang.String |
OptionUtility.ConvertName(java.lang.String optionStr,
Option systemOption,
boolean fullNameFlag)
Convert between full name and short name for a given option string
|
protected void |
OptionTest.ExecuteCommand(OptionItem optionItem,
Option systemOption,
Out out)
Execute input command based on the predefined system command option
|
protected abstract void |
SystemOption.ExecuteCommand(OptionItem optionItem,
Option systemOption,
Out out) |
void |
SystemOption.ExecuteCommands(Option inOption,
Option systemOption,
Out out)
Execute a given option in a command line system (with given system option)
|
static OptionItem |
OptionUtility.GetItemByName(OptionItem inputItem,
Option systemOption,
boolean fullNameFlag)
Get the optionItem from an given inputItem by specifying the known name
|
Modifier and Type | Method and Description |
---|---|
protected void |
CSpell.ExecuteCommand(OptionItem optionItem,
Option systemOption,
Out out) |
protected void |
CSpellSystemOption.InitCmdLineOption(Option option,
Out out) |
boolean |
CSpellSystemOption.IsLegalOption(Option option)
Get the boolean flag to indicate if the option is legal or not.
|
boolean |
CSpell.IsLegalOption(Option option)
Get the boolean flag to indicate if the option is legal or not.
|
Constructor and Description |
---|
CSpell(Option option,
Out out)
Create a CSpell tool object by specifying option.
|
Submit a bug or feature
Copyright © 2018 National Library of Medicine