public class LvgLexItemApi extends LvgCmdApi
All LVG API consists methods for three phases:
History:
catFieldNum_, flowStrs_, flowStrsList_, inflFieldNum_, inReader_, promptFlag_, quitStrList_, runFlag_, termFieldNum_
systemOption_
Constructor and Description |
---|
LvgLexItemApi()
Creates an LvgLexItemApi object and initiate related data (default).
|
LvgLexItemApi(java.util.Hashtable<java.lang.String,java.lang.String> properties)
Creates an LvgLexItemApi object and initiate related data with
properties to be overwritten in configuration.
|
LvgLexItemApi(java.lang.String optionStr)
Creates an LvgLexItemApi object, initiate related data, using a command
string.
|
LvgLexItemApi(java.lang.String optionStr,
java.util.Hashtable<java.lang.String,java.lang.String> properties)
Creates an LvgLexItemApi object, initiate related data, using a command
string with properties to be overwritten in configuration.
|
LvgLexItemApi(java.lang.String optionStr,
java.lang.String configFile)
Creates an LvgLexItemApi object, initiate related data, using a command
string.
|
LvgLexItemApi(java.lang.String optionStr,
java.lang.String configFile,
java.util.Hashtable<java.lang.String,java.lang.String> properties)
Creates an LvgLexItemApi object, initiate related data, using a command
string with properties to be overwritten in configuration.
|
Modifier and Type | Method and Description |
---|---|
java.util.Vector<LexItem> |
MutateLexItem(java.lang.String inLine)
Performs flow mutation by processing the input term.
|
java.util.Vector<LexItem> |
ProcessLexItem(LexItem in)
Performs flow mutation by processing the input.
|
java.util.Vector<LexItem> |
ProcessLexItems(java.util.Vector<LexItem> ins)
Performs flow mutation by processing the input.
|
java.util.Vector<LexItem> |
ProcessLexItemsFromFCO(java.util.Vector<LexItem> ins)
Performs flow mutation by processing the input.
|
java.util.Vector<LexItem> |
ProcessLineLexItem()
Performs flow mutation by processing the a input from System in.
|
CleanUp, DefineFlag, ExecuteCommand, ExecuteFlow, GetConfiguration, GetConnection, GetFlowSpecificOptions, GetLvgOutputOption, GetPrompt, GetRunFlag, IsLegalOption, Mutate, MutateToString, PrintLvgHelp, ProcessLine, SetMinTermLength, SetOption, SetPromptStr, SetQuitStrList
CheckOption, CheckSyntax, ExecuteCommands, GetOption, ToBoolean, ToFloatArray, ToIntArray, ToStringArray
public LvgLexItemApi()
CleanUp( ) method must be called to close Db connection after using this object
public LvgLexItemApi(java.lang.String optionStr)
CleanUp( ) method must be called to close Db connection after using this object
optionStr
- the initial lvg option stringpublic LvgLexItemApi(java.lang.String optionStr, java.lang.String configFile)
CleanUp( ) method must be called to close Db connection after using this object
optionStr
- the initial lvg option stringconfigFile
- the absolute path of the configuration filepublic LvgLexItemApi(java.util.Hashtable<java.lang.String,java.lang.String> properties)
CleanUp( ) method must be called to close Db connection after using this object
properties
- properties to be overwrite in configurationpublic LvgLexItemApi(java.lang.String optionStr, java.util.Hashtable<java.lang.String,java.lang.String> properties)
CleanUp( ) method must be called to close Db connection after using this object
optionStr
- the initial lvg option stringproperties
- properties to be overwrite in configurationpublic LvgLexItemApi(java.lang.String optionStr, java.lang.String configFile, java.util.Hashtable<java.lang.String,java.lang.String> properties)
CleanUp( ) method must be called to close Db connection after using this object
optionStr
- the initial lvg option stringconfigFile
- the absolute path of the configuration fileproperties
- properties to be overwrite in configurationpublic java.util.Vector<LexItem> MutateLexItem(java.lang.String inLine) throws java.lang.Exception
inLine
- the input to be mutated.java.lang.Exception
- if exception caughtpublic java.util.Vector<LexItem> ProcessLexItemsFromFCO(java.util.Vector<LexItem> ins) throws java.sql.SQLException, java.io.IOException
ins
- A Vector of LexItem - input (from flow compoment output)java.sql.SQLException
- if exception caught in DBjava.io.IOException
- if exception caught in IOpublic java.util.Vector<LexItem> ProcessLexItems(java.util.Vector<LexItem> ins) throws java.sql.SQLException, java.io.IOException
ins
- A Vector of lexItem - inputs of LexItemjava.sql.SQLException
- if exception caught in DBjava.io.IOException
- if exception caught in IOpublic java.util.Vector<LexItem> ProcessLexItem(LexItem in) throws java.sql.SQLException, java.io.IOException
in
- a LexItem for mutationjava.sql.SQLException
- if exception caught in DBjava.io.IOException
- if exception caught in IOpublic java.util.Vector<LexItem> ProcessLineLexItem() throws java.sql.SQLException, java.io.IOException
java.sql.SQLException
- if exception caught in DBjava.io.IOException
- if exception caught in IO