Class LTMTopicMapReader

java.lang.Object
net.ontopia.topicmaps.impl.utils.AbstractTopicMapReader
net.ontopia.topicmaps.utils.ltm.LTMTopicMapReader
All Implemented Interfaces:
TopicMapReaderIF

public class LTMTopicMapReader extends AbstractTopicMapReader
PUBLIC: This TopicMapReader can read topic maps from LTM files.
Since:
1.1
  • Constructor Details

    • LTMTopicMapReader

      public LTMTopicMapReader(URL url) throws MalformedURLException
      PUBLIC: Creates a topic map reader bound to the URL given in the arguments.
      Parameters:
      url - The URL of the LTM file.
      Throws:
      MalformedURLException
    • LTMTopicMapReader

      public LTMTopicMapReader(URL url, LocatorIF base_address)
    • LTMTopicMapReader

      public LTMTopicMapReader(Reader reader, LocatorIF base_address)
      PUBLIC: Creates a topic map reader bound to the reader given in the arguments.
      Parameters:
      reader - The reader from which the topic map is to be read.
      base_address - The base address to be used for resolving relative references.
    • LTMTopicMapReader

      public LTMTopicMapReader(InputStream stream, LocatorIF base_address)
      PUBLIC: Creates a topic map reader bound to the input stream given in the arguments.
      Parameters:
      stream - The input stream from which the topic map is to be read.
      base_address - The base address to be used for resolving relative references.
    • LTMTopicMapReader

      public LTMTopicMapReader(File file) throws IOException
      PUBLIC: Creates a topic map reader bound to the file given in the arguments.
      Parameters:
      file - The file object from which to read the topic map.
      Throws:
      IOException
  • Method Details