|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public String getName()
public void setConfiguration(UserConfiguration config)
UserConfiguration
. In certain cases,
output streams may require information provided by the user
configuration.
config
- the UserConfiguration
public void open(String output_loc) throws Exception
output_loc
- locator information for the output stream
Exception
- if there is a problem opening filespublic void close() throws Exception
Exception
- if there is a problem closing filespublic 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 conceptpublic 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 entrypublic 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 metadatapublic String 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 |