|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ConceptOutputStream
This interface defines an API for writing Concepts to the output Metathesaurus, an output destination. This destination can be MR Files, a database, or pretty much anything else.
| Method Summary | |
|---|---|
void |
close()
Closes the output stream. |
String |
getConfigurationDetails()
Returns a String describing the configuration details. |
String |
getName()
Returns a descriptive, yet short, name of the output stream for display purposes. |
void |
open(String output_loc)
Opens the output stream. |
void |
setConfiguration(UserConfiguration config)
Sets the UserConfiguration. |
void |
writeConcept(Concept concept)
Write a Concept to the output stream. |
void |
writeIndexEntry(IndexEntry index_entry)
Write an IndexEntry to the output stream. |
void |
writeReleaseMetadata(ReleaseMetadata release_metadata)
Write the ReleaseMetadata to the output stream. |
| Method Detail |
|---|
String getName()
void setConfiguration(UserConfiguration config)
UserConfiguration. In certain cases,
output streams may require information provided by the user
configuration.
config - the UserConfiguration
void open(String output_loc)
throws Exception
output_loc - locator information for the output stream
Exception - if there is a problem opening files
void close()
throws Exception
Exception - if there is a problem closing files
void writeConcept(Concept concept)
throws Exception
Concept to the output stream.
concept - a Concept to write to the output stream
Exception - if there is a problem writing the concept
void writeIndexEntry(IndexEntry index_entry)
throws Exception
IndexEntry to the output stream.
index_entry - an IndexEntry to write out
Exception - if there is a problem writing the index entry
void writeReleaseMetadata(ReleaseMetadata release_metadata)
throws Exception
ReleaseMetadata to the output stream.
release_metadata - the ReleaseMetadata to write out
Exception - if there is a problem
writing the release metadataString getConfigurationDetails()
String describing the configuration details.
This is a mechanism for the output stream to write details of
its operation to the log file that MetamorphoSys
eventually produces.
String describing the configuration details
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||