|
TC Java 2011 Version |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gov.nih.nlm.nls.tc.Jdi.Subheadings
public class Subheadings
This class is to load MeSH Subheadings from a flat file.
History:
Constructor Summary | |
---|---|
Subheadings(java.lang.String inFile)
Create the MeSH Subheadings List object by specifying the input file. |
|
Subheadings(java.lang.String inFile,
boolean verbose)
Create the MeSH Subheadings List object by specifying the input file and flag of verbose. |
Method Summary | |
---|---|
java.lang.String |
GetAbbreviation(java.lang.String name)
Get MeSH subheading abbreviation by specifying full name or short name. |
java.lang.String |
GetAbbreviationByFullName(java.lang.String fullName)
Get MeSH subheading abbreviation by specifying full name. |
java.lang.String |
GetAbbreviationByShortName(java.lang.String shortName)
Get MeSH subheading abbreviation by specifying short name. |
Subheading |
GetSubheadingByFullName(java.lang.String fullName)
Get MeSH subheading Java object by specifying full name. |
Subheading |
GetSubheadingByShortName(java.lang.String shortName)
Get MeSH subheading Java object by specifying short name. |
java.util.Hashtable<java.lang.String,Subheading> |
GetSubheadingsByAbbr()
Get the collection object (in hashtable) of all MeSH subheadings with key in abbreviation. |
java.util.Hashtable<java.lang.String,Subheading> |
GetSubheadingsByFullName()
Get the collection object (in hashtable) of all MeSH subheadings with key in full name. |
java.util.Hashtable<java.lang.String,Subheading> |
GetSubheadingsByShortName()
Get the collection object (in hashtable) of all MeSH subheadings with key in short name. |
boolean |
IsAbbreviation(java.lang.String shAbbr)
Check if a string is a abbreviation of MeSH subheading |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Subheadings(java.lang.String inFile)
inFile
- file name of MeSH subheadings (shs.txt)public Subheadings(java.lang.String inFile, boolean verbose)
inFile
- file name of MeSH subheadings (shs.txt)verbose
- flag of verbose on reading input fileMethod Detail |
---|
public Subheading GetSubheadingByShortName(java.lang.String shortName)
shortName
- short name of MeSH subheading
public Subheading GetSubheadingByFullName(java.lang.String fullName)
fullName
- full name of MeSH subheading
public java.lang.String GetAbbreviationByShortName(java.lang.String shortName)
shortName
- short name of MeSH subheading
public java.lang.String GetAbbreviationByFullName(java.lang.String fullName)
fullName
- full name of MeSH subheading
public java.lang.String GetAbbreviation(java.lang.String name)
name
- full name or short name of MeSH subheading
public java.util.Hashtable<java.lang.String,Subheading> GetSubheadingsByAbbr()
public java.util.Hashtable<java.lang.String,Subheading> GetSubheadingsByShortName()
public java.util.Hashtable<java.lang.String,Subheading> GetSubheadingsByFullName()
public boolean IsAbbreviation(java.lang.String shAbbr)
shAbbr
- string to be checked
public static void main(java.lang.String[] args)
|
TC Java 2011 Version |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |