org.tm4j.topicmap.utils.TopicMapSerializer .serialize()
Description
Performs the serialization of the merged topic map. Note that this method only flushes the output stream when serialization is complete, rather than closing it, so it is up to the invoking application to close the stream. This class provides a convenience method for doing so, see #closeOutputStream().
Throws
- java.io.IOException - if writing to the output stream fails.
- org.tm4j.topicmap.TopicMapProcessingException - if an unexpected condition occurs while "walking" the topic map.
Meta Data (1)