TC Java
2011 Version

gov.nih.nlm.nls.tc.MedLine
Class CitationObjs

java.lang.Object
  extended by gov.nih.nlm.nls.tc.MedLine.CitationObjs

public class CitationObjs
extends java.lang.Object

This class is to load Citations from a MEDLINE citation file

History:

Version:
V-2011
Author:
NLM Lexical Systems Group

Constructor Summary
CitationObjs(boolean verbose)
          Create the MEDLINE citations List objects by specifying verbose.
CitationObjs(java.lang.String inStr)
          Create the MEDLINE citations List objects by specifying the input string.
CitationObjs(java.lang.String inFile, boolean verbose)
          Create the MEDLINE citations List objects by specifying the input file.
 
Method Summary
 java.util.Vector<java.util.Vector<KeyValueObj<java.lang.String,java.util.Vector<java.lang.String>>>> GetCitations()
          Get the collection object (in Vector) of all citations with a vector of tags and values.
 void LoadCitationsFromStr(java.lang.String inStr)
           
static void main(java.lang.String[] args)
           
 void SetVerbose(boolean verbose)
          Set verbose flag for message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CitationObjs

public CitationObjs(boolean verbose)
Create the MEDLINE citations List objects by specifying verbose.

Parameters:
verbose - flag of verbose on reading input file

CitationObjs

public CitationObjs(java.lang.String inStr)
Create the MEDLINE citations List objects by specifying the input string.

Parameters:
inStr - MEDLINE citations in String

CitationObjs

public CitationObjs(java.lang.String inFile,
                    boolean verbose)
Create the MEDLINE citations List objects by specifying the input file.

Parameters:
inFile - file name of MEDLINE citations
verbose - flag of verbose on reading input file
Method Detail

GetCitations

public java.util.Vector<java.util.Vector<KeyValueObj<java.lang.String,java.util.Vector<java.lang.String>>>> GetCitations()
Get the collection object (in Vector) of all citations with a vector of tags and values.

Returns:
a collection object of all citaion with a Vector of tags and values

SetVerbose

public void SetVerbose(boolean verbose)
Set verbose flag for message.

Parameters:
verbose - a boolean flag for verbose

main

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

LoadCitationsFromStr

public void LoadCitationsFromStr(java.lang.String inStr)

TC Java
2011 Version

Submit a bug or feature

Copyright © 2011 National Library of Medicine