|
Lvg Java 2006p Version |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgov.nih.nlm.nls.lvg.CmdLineSyntax.SystemOption
gov.nih.nlm.nls.lvg.Api.LvgCmdApi
gov.nih.nlm.nls.lvg.Api.LvgLexItemApi
public class LvgLexItemApi
This class provides an LVG API for users to setup flows by defining a Lvg command. The input of this API are focus on LexItem(s). The output is a Vector composes of Lvg ouputs in the string format.
All LVG API consists methods for three phases:
History:
| Field Summary |
|---|
| Fields inherited from class gov.nih.nlm.nls.lvg.Api.LvgCmdApi |
|---|
catFieldNum_, flowStrs_, flowStrsList_, inflFieldNum_, inReader_, promptFlag_, quitStrList_, runFlag_, termFieldNum_ |
| Fields inherited from class gov.nih.nlm.nls.lvg.CmdLineSyntax.SystemOption |
|---|
systemOption_ |
| Constructor Summary | |
|---|---|
LvgLexItemApi()
Creates an LvgLexItemApi object and initiate related data (default). |
|
LvgLexItemApi(java.util.Hashtable 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 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 properties)
Creates an LvgLexItemApi object, initiate related data, using a command string with properties to be overwritten in configuration. |
|
| Method Summary | |
|---|---|
java.util.Vector |
MutateLexItem(java.lang.String inLine)
Performs flow mutation by processing the input term. |
java.util.Vector |
ProcessLexItem(LexItem in)
Performs flow mutation by processing the input. |
java.util.Vector |
ProcessLexItems(java.util.Vector ins)
Performs flow mutation by processing the input. |
java.util.Vector |
ProcessLexItemsFromFCO(java.util.Vector ins)
Performs flow mutation by processing the input. |
java.util.Vector |
ProcessLineLexItem()
Performs flow mutation by processing the a input from System in. |
| Methods inherited from class gov.nih.nlm.nls.lvg.Api.LvgCmdApi |
|---|
CleanUp, DefineFlag, ExecuteCommand, ExecuteFlow, GetConnection, GetFlowSpecificOptions, GetLvgOutputOption, GetPrompt, IsLegalOption, Mutate, MutateToString, PrintLvgHelp, ProcessLine, SetMinTermLength, SetOption, SetPromptStr, SetQuitStrList |
| Methods inherited from class gov.nih.nlm.nls.lvg.CmdLineSyntax.SystemOption |
|---|
CheckOption, CheckSyntax, ExecuteCommands, GetOption, ToBoolean, ToFloatArray, ToIntArray, ToStringArray |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
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 string
public 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 properties)
CleanUp( ) method must be called to close Db connection after using this object
properties - properties to be overwrite in configuration
public LvgLexItemApi(java.lang.String optionStr,
java.util.Hashtable 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 configuration
public LvgLexItemApi(java.lang.String optionStr,
java.lang.String configFile,
java.util.Hashtable 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 configuration| Method Detail |
|---|
public java.util.Vector MutateLexItem(java.lang.String inLine)
throws java.lang.Exception
inLine - the input to be mutated.
java.lang.Exception
public java.util.Vector ProcessLexItemsFromFCO(java.util.Vector ins)
throws java.sql.SQLException,
java.io.IOException
ins - a Vector of LexItems (from flow compoment output)
java.sql.SQLException
java.io.IOException
public java.util.Vector ProcessLexItems(java.util.Vector ins)
throws java.sql.SQLException,
java.io.IOException
ins - a Vector of LexItems
java.sql.SQLException
java.io.IOException
public java.util.Vector ProcessLexItem(LexItem in)
throws java.sql.SQLException,
java.io.IOException
in - a LexItem for mutation
java.sql.SQLException
java.io.IOException
public java.util.Vector ProcessLineLexItem()
throws java.sql.SQLException,
java.io.IOException
java.sql.SQLException
java.io.IOException
|
Lvg Java 2006p Version |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||