public class LaObj
extends java.lang.Object
History:
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ASCII_STR |
static int |
MODE_BY_BASE |
static int |
MODE_BY_CATEGORY |
static int |
MODE_BY_TERM_EUI |
static int |
SOURCE_FILE |
static int |
SOURCE_SCREEN |
static int |
TYPE_ASCII |
static int |
TYPE_UTF8 |
Constructor and Description |
---|
LaObj()
Create a LaObj Java object with default values.
|
Modifier and Type | Method and Description |
---|---|
void |
CleanUp()
Clean up LexAccess API.
|
boolean |
GetAppendToOutFile() |
ConfigObj |
GetConfigObj()
Get LexAccess configuration object.
|
int |
GetDataType() |
java.lang.String |
GetDataVersion() |
java.lang.String |
GetDbVersion() |
java.lang.String |
GetDefaultInFile() |
java.lang.String |
GetDefaultOutFile() |
java.io.File |
GetInFile() |
int |
GetInSource() |
LexAccessApi |
GetLexAccessApi()
Get LexAccessApi object.
|
java.lang.String |
GetLexAccessResultsByBase(java.lang.String inBase)
Get LexAccess result by base.
|
java.lang.String |
GetLexAccessResultsByCategory(long inCategory)
Get LexAccess result by category.
|
java.lang.String |
GetLexAccessResultsByTerm(java.lang.String inStr)
Get LexAccess result by term/EUI.
|
int |
GetLexRecordFormat() |
boolean |
GetNoOutputFlag() |
java.io.File |
GetOutFile() |
long |
GetOutFilterCategory() |
int |
GetOutSource() |
int |
GetSearchMode()
Get search mode
|
java.lang.String |
GetSeparator() |
boolean |
GetShowQuery() |
boolean |
GetShowTotalRecNum() |
java.lang.String |
GetVersionInfo()
Get LexAccess version information.
|
void |
ResetAllOptions() |
boolean |
ResetDbConnection() |
void |
SetAppendToOutFile(boolean appendToOutFile) |
void |
SetBaseBy(java.lang.String baseBy)
Get search mode
|
void |
SetDataType(int dataType) |
void |
SetDataVersion(java.lang.String dataVersion) |
void |
SetInFile(java.io.File inFile) |
void |
SetInSource(int inSource) |
void |
SetLexRecordFormat(int format) |
void |
SetNoOutputFlag(boolean noOutputFlag)
Set no output flag
|
void |
SetOutCategoryFilter(java.util.Vector<java.lang.Boolean> outCategoryValues) |
void |
SetOutFile(java.io.File outFile) |
void |
SetOutSource(int outSource) |
void |
SetSearchMode(int searchMode)
Set search mode
|
void |
SetSeparator(java.lang.String separator) |
void |
SetShowQuery(boolean showQuery) |
void |
SetShowTotalRecNum(boolean showTotalRecNum) |
public static final int MODE_BY_TERM_EUI
public static final int MODE_BY_BASE
public static final int MODE_BY_CATEGORY
public static final int SOURCE_SCREEN
public static final int SOURCE_FILE
public static final int TYPE_UTF8
public static final int TYPE_ASCII
public static final java.lang.String ASCII_STR
public java.lang.String GetVersionInfo()
public ConfigObj GetConfigObj()
public LexAccessApi GetLexAccessApi()
public java.lang.String GetLexAccessResultsByTerm(java.lang.String inStr)
inStr
- input in string formatpublic java.lang.String GetLexAccessResultsByBase(java.lang.String inBase)
inBase
- input in base formpublic java.lang.String GetLexAccessResultsByCategory(long inCategory)
inCategory
- in categorypublic void CleanUp()
public int GetSearchMode()
public void SetSearchMode(int searchMode)
searchMode
- search modepublic void SetBaseBy(java.lang.String baseBy)
baseBy
- search mode basepublic void SetNoOutputFlag(boolean noOutputFlag)
noOutputFlag
- blloean flag for noOutputpublic boolean GetNoOutputFlag()
public void SetShowTotalRecNum(boolean showTotalRecNum)
public boolean GetShowTotalRecNum()
public void SetShowQuery(boolean showQuery)
public boolean GetShowQuery()
public void SetSeparator(java.lang.String separator)
public java.lang.String GetSeparator()
public void SetLexRecordFormat(int format)
public int GetLexRecordFormat()
public long GetOutFilterCategory()
public void SetOutCategoryFilter(java.util.Vector<java.lang.Boolean> outCategoryValues)
public void ResetAllOptions()
public void SetInSource(int inSource)
public int GetInSource()
public java.lang.String GetDefaultInFile()
public void SetOutSource(int outSource)
public int GetOutSource()
public java.lang.String GetDefaultOutFile()
public void SetInFile(java.io.File inFile)
public java.io.File GetInFile()
public void SetOutFile(java.io.File outFile)
public java.io.File GetOutFile()
public void SetAppendToOutFile(boolean appendToOutFile)
public boolean GetAppendToOutFile()
public void SetDataType(int dataType)
public int GetDataType()
public void SetDataVersion(java.lang.String dataVersion)
public java.lang.String GetDataVersion()
public java.lang.String GetDbVersion()
public boolean ResetDbConnection()
Submit a bug or feature
Copyright © 2016 National Library of Medicine