TC Java
2011 Version

gov.nih.nlm.nls.tc.Jdi
Class JidTaJds

java.lang.Object
  extended by gov.nih.nlm.nls.tc.Jdi.JidTaJds

public class JidTaJds
extends java.lang.Object

This class is to load Jid-Ta-Jds from a flat file.

History:

Version:
V-2011
Author:
NLM Lexical Systems Group

Constructor Summary
JidTaJds(java.lang.String inFile)
          Create the JidTaJds List object by specifying the input file.
JidTaJds(java.lang.String inFile, boolean verbose)
          Create the JidTaJds List object by specifying the input file and flag of verbose.
 
Method Summary
 java.util.Vector<java.lang.String> GetJdsByJid(java.lang.String jid)
          Get Journal descriptors by specifying Journal id.
 java.lang.String GetJdStrByJid(java.lang.String jid)
          Get Journal descriptors in String by specifying Journal id.
 java.util.Hashtable<java.lang.String,JidTaJd> GetJidTaJdsByJid()
          Get the collection of JidTaJds.
 java.lang.String GetTaByJid(java.lang.String jid)
          Get Journal title by specifying Journal id.
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

JidTaJds

public JidTaJds(java.lang.String inFile)
Create the JidTaJds List object by specifying the input file.

Parameters:
inFile - file name of Jid-Ta-Jd (jidTaJds.txt)

JidTaJds

public JidTaJds(java.lang.String inFile,
                boolean verbose)
Create the JidTaJds List object by specifying the input file and flag of verbose.

Parameters:
inFile - file name of Jid-Ta-Jd (jidTaJds.txt)
verbose - flag of verbose on reading input file
Method Detail

GetTaByJid

public java.lang.String GetTaByJid(java.lang.String jid)
Get Journal title by specifying Journal id.

Parameters:
jid - journal id
Returns:
journal title

GetJdsByJid

public java.util.Vector<java.lang.String> GetJdsByJid(java.lang.String jid)
Get Journal descriptors by specifying Journal id.

Parameters:
jid - journal id
Returns:
a list of journal descriptors

GetJdStrByJid

public java.lang.String GetJdStrByJid(java.lang.String jid)
Get Journal descriptors in String by specifying Journal id.

Parameters:
jid - journal id
Returns:
the list of journal descriptors in a String

GetJidTaJdsByJid

public java.util.Hashtable<java.lang.String,JidTaJd> GetJidTaJdsByJid()
Get the collection of JidTaJds.

Returns:
a collection of JidTaJds

main

public static void main(java.lang.String[] args)

TC Java
2011 Version

Submit a bug or feature

Copyright © 2011 National Library of Medicine