|
TC Java 2011 Version |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgov.nih.nlm.nls.tc.Api.MltApi
public class MltApi
This class is the MEDLINE tokenizer, which provides a Java API to retrieve field information from MEDLINE citations by specifying field tag(s).
History:
| Field Summary | |
|---|---|
protected java.lang.String |
configFile_
|
| Constructor Summary | |
|---|---|
MltApi(Configuration conf)
Creates an MltApi object and initiate related data, using a specified subHeading objects. |
|
MltApi(java.util.Hashtable<java.lang.String,java.lang.String> properties)
Creates an MltApi object and initiate related data, using a specified properties to be overwritten in configuration. |
|
MltApi(java.lang.String configFile)
Creates an MltApi object and initiate related data, using a specified configuration file. |
|
MltApi(Subheadings shs)
Creates an MltApi object and initiate related data, using a specified subHeading objects. |
|
| Method Summary | |
|---|---|
JidTaJds |
GetJidTaJds()
Get JidTaJds object. |
java.util.Vector<MltObj> |
GetMltObjs(java.lang.String inStr,
java.lang.String fieldTag,
boolean sortFlag)
Proceed MEDLINE tokenizer function and put pmid, jid, and tokenized text into a collection of MltObjs. |
java.lang.String |
Process(java.lang.String inStr,
java.lang.String fieldTag,
boolean sortFlag,
boolean pmidFlag)
Proceed MEDLINE tokenizer function. |
void |
Process(java.lang.String inFile,
java.lang.String outFile,
java.lang.String fieldTag,
boolean sortFlag,
boolean pmidFlag)
Proceed MEDLINE tokenizer function. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String configFile_
| Constructor Detail |
|---|
public MltApi(Subheadings shs)
shs - subHeadings objectpublic MltApi(java.lang.String configFile)
configFile - the absolute path of the configuration filepublic MltApi(Configuration conf)
conf - configuration object.public MltApi(java.util.Hashtable<java.lang.String,java.lang.String> properties)
properties - properties to be overwrite in configuration| Method Detail |
|---|
public java.util.Vector<MltObj> GetMltObjs(java.lang.String inStr,
java.lang.String fieldTag,
boolean sortFlag)
inStr - input MEDLIE recordfieldTag - the field tag for infromtaion to be retrievedsortFlag - the flag of sorting reocrd by PMIDpublic JidTaJds GetJidTaJds()
public java.lang.String Process(java.lang.String inStr,
java.lang.String fieldTag,
boolean sortFlag,
boolean pmidFlag)
inStr - input MEDLIE recordfieldTag - the field tag for infromtaion to be retrievedsortFlag - the flag of sorting reocrd by PMIDpmidFlag - the flag of putting PMID in the first field
public void Process(java.lang.String inFile,
java.lang.String outFile,
java.lang.String fieldTag,
boolean sortFlag,
boolean pmidFlag)
inFile - the path/name of input fileoutFile - the path/name of output filefieldTag - the field tag for infromtaion to be retrievedsortFlag - the flag of sorting reocrd by PMIDpmidFlag - the flag of putting PMID in the first field
|
TC Java 2011 Version |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||