org.tm4j.topicmap.TopicMapProviderBase .readTopicMap(java.io.InputStream tmStream)

Description

Reads a topic map from the given input stream. Note that when using this method, one of the following conditions must be true or an exception will be thrown:

  1. tmStream represents an XML document that does not contain a !DOCTYPE declaration, i.e. can't be validated (not recommended); or
  2. tmStream represents an XML document whose !DOCTYPE declaration, contains an absolute system ID.

Parameters
java.io.InputStream tmStream The input stream to load the topic map from. This input stream must represent a well-formed XML document or the underlying SAX parser will fail.

Other Resources

Related Topics

Has Parameters