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

Description

Constructs a TopicMapSource from the given File and locator, and adds it to the list of sources. This is merely a convenience method which constructs a URL from the given File, and then invokes #addSource(URL, Locator).

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.

Throws

Other Resources

Related Topics