public class CSpell extends CSpellSystemOption
History:
Modifier and Type | Field and Description |
---|---|
protected java.io.BufferedReader |
inReader_ |
protected java.io.BufferedWriter |
outWriter_ |
protected java.util.Vector<java.lang.String> |
quitStrList_ |
properties_
systemOption_
Constructor and Description |
---|
CSpell(Option option,
Out out)
Create a CSpell tool object by specifying option.
|
Modifier and Type | Method and Description |
---|---|
void |
Close()
Close the input file, output file, and database.
|
protected void |
DefineFlag() |
protected void |
ExecuteCommand(OptionItem optionItem,
Option systemOption,
Out out) |
boolean |
IsLegalOption(Option option)
Get the boolean flag to indicate if the option is legal or not.
|
static void |
main(java.lang.String[] args) |
boolean |
Process(Out out)
Process the cSpell correction
|
GetConfig, GetOptions, GetOptionStr, InitCmdLineOption, SetPropertiesInConfig
CheckOption, CheckSyntax, ExecuteCommands, GetOption, ToBoolean, ToFloatArray, ToIntArray, ToStringArray
protected java.util.Vector<java.lang.String> quitStrList_
protected java.io.BufferedReader inReader_
protected java.io.BufferedWriter outWriter_
public static void main(java.lang.String[] args)
public boolean Process(Out out) throws java.io.IOException
out
- outputjava.io.IOException
- throws IOException when exception happenspublic boolean IsLegalOption(Option option)
IsLegalOption
in class CSpellSystemOption
option
- command line option objectpublic void Close()
protected void DefineFlag()
DefineFlag
in class SystemOption
protected void ExecuteCommand(OptionItem optionItem, Option systemOption, Out out)
ExecuteCommand
in class SystemOption
Submit a bug or feature
Copyright © 2018 National Library of Medicine