org.tm4j.topicmap.utils.TopicMapMerger .addSource(java.io.InputStream in,org.tm4j.net.Locator baseLocator)

Description

Constructs a TopicMapSource from the given InputStream and locator, and adds it to the list of sources. All other addSource() methods invoke this one, so this method is a good one to override if a subclass chooses to alter the mechanism of adding sources to be processed.

Parameters
org.tm4j.net.Locator baseLocator the base locator to be used with the topic map. May be null, in which case it will be ignored, a warning will be issued to the registered Log (if any), and the default base locator will be used instead. the base locator to be used with the topic map. May be null, in which case it will be silently ignored and the default base locator will be used instead.
java.io.File in the URL from which to read the topic map. Must not be null. the file from which to read the topic map. Must not be null. the stream from which to read the topic map. Must not be null.

Other Resources

Related Topics