gov.nih.nlm.umls.io
Interface MetathesaurusOutputStream

All Superinterfaces:
ConceptOutputStream
All Known Subinterfaces:
MetamorphoSysOutputStream
All Known Implementing Classes:
OriginalMRMetamorphoSysOutputStream, OriginalMRMetathesaurusOutputStream, RichMRMetamorphoSysOutputStream, RichMRMetathesaurusOutputStream

public interface MetathesaurusOutputStream
extends ConceptOutputStream

Generically represents a way for writing the Metathesaurus to some output source. The input could be files, a database, or pretty much anything else.

Author:
Deborah Shapiro

Method Summary
 void setCandidateAmbiguousStringIdentifiers(List suis)
          Sets the list of suis that are candidates to be ambiguous.
 void setCandidateAmbiguousStringIdentifiers(String[] suis)
          Sets the list of suis that are candidates to be ambiguous.
 void setCandidateAmbiguousTermIdentifiers(List luis)
          Sets the list of terms that are candidates to be ambiguous.
 void setCandidateAmbiguousTermIdentifiers(String[] luis)
          Sets the list of terms that are candidates to be ambiguous.
 void writeIndexEntry(IndexEntry index_entry)
          Writes an IndexEntry to the output stream.
 void writeReleaseMetadata(ReleaseMetadata release_metadata)
          Write the ReleaseMetadata to the output stream.
 
Methods inherited from interface gov.nih.nlm.umls.io.ConceptOutputStream
close, open, writeConcept
 

Method Detail

writeIndexEntry

public void writeIndexEntry(IndexEntry index_entry)
                     throws IOException
Writes an IndexEntry to the output stream.

Parameters:
index_entry - the IndexEntry to write out
Throws:
IOException - if there is a problem reading the index entry

writeReleaseMetadata

public void writeReleaseMetadata(ReleaseMetadata release_metadata)
                          throws IOException
Write the ReleaseMetadata to the output stream.

Parameters:
release_metadata - the ReleaseMetadata to write out
Throws:
IOException - if there is a problem reading the release metadata

setCandidateAmbiguousStringIdentifiers

public void setCandidateAmbiguousStringIdentifiers(String[] suis)
Sets the list of suis that are candidates to be ambiguous.

Parameters:
suis - the list of suis that are candidates to be ambiguous

setCandidateAmbiguousStringIdentifiers

public void setCandidateAmbiguousStringIdentifiers(List suis)
Sets the list of suis that are candidates to be ambiguous.

Parameters:
suis - the list of suis that are candidates to be ambiguous

setCandidateAmbiguousTermIdentifiers

public void setCandidateAmbiguousTermIdentifiers(String[] luis)
Sets the list of terms that are candidates to be ambiguous.

Parameters:
luis - the list of terms that are candidates to be ambiguous

setCandidateAmbiguousTermIdentifiers

public void setCandidateAmbiguousTermIdentifiers(List luis)
Sets the list of terms that are candidates to be ambiguous.

Parameters:
luis - the list of terms that are candidates to be ambiguous


Copyright ©2005