gov.nih.nlm.umls.io
Class RichMRFilesSingleConceptInputStream

java.lang.Object
  extended bygov.nih.nlm.umls.io.RichMRFilesSingleConceptInputStream

public class RichMRFilesSingleConceptInputStream
extends Object

Builds a single Concept from a full set of "Rich Release Format" MR files.

Author:
Deborah Shapiro

Constructor Summary
RichMRFilesSingleConceptInputStream(String cui, String dir)
          Instantiates an empty RichMRFilesSingleConceptInputStream;
 
Method Summary
 Concept getConcept()
          Returns a single Concept from a set of Rich Release files.
 Concept getConceptWithAtomsOnly()
          Returns a single Concept from a set of Rich Release files.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RichMRFilesSingleConceptInputStream

public RichMRFilesSingleConceptInputStream(String cui,
                                           String dir)
                                    throws IOException
Instantiates an empty RichMRFilesSingleConceptInputStream;

Parameters:
cui - cui
dir - location for files to be read
Throws:
IOException
Method Detail

getConcept

public Concept getConcept()
                   throws IOException
Returns a single Concept from a set of Rich Release files.

Returns:
Concept
Throws:
IOException

getConceptWithAtomsOnly

public Concept getConceptWithAtomsOnly()
                                throws IOException
Returns a single Concept from a set of Rich Release files. Only the atoms of the Concept are populated.

Returns:
Concept
Throws:
IOException


Copyright ©2005