public class CTMTopicMapReader extends AbstractTopicMapReader
base_address, reader, store_factory, stream, url| Constructor and Description |
|---|
CTMTopicMapReader(File file)
PUBLIC: Creates a topic map reader bound to the file given in the
arguments.
|
CTMTopicMapReader(InputStream stream,
LocatorIF base_address)
PUBLIC: Creates a topic map reader bound to the input stream
given in the arguments.
|
CTMTopicMapReader(Reader reader,
LocatorIF base_address)
PUBLIC: Creates a topic map reader bound to the reader given in
the arguments.
|
CTMTopicMapReader(URL url)
PUBLIC: Creates a topic map reader bound to the URL given in the
arguments.
|
CTMTopicMapReader(URL url,
LocatorIF base_address) |
| Modifier and Type | Method and Description |
|---|---|
protected Reader |
makeReader(InputStream stream,
String encoding) |
protected TopicMapIF |
read(TopicMapStoreFactoryIF store_factory) |
getBaseAddress, getReader, getStoreFactory, importInto, makeReader, makeReader, makeReader, read, readAll, readAll, setAdditionalProperties, setBaseAddress, setReader, setStoreFactorypublic CTMTopicMapReader(URL url) throws MalformedURLException
url - The URL of the LTM file.MalformedURLExceptionpublic CTMTopicMapReader(Reader reader, LocatorIF base_address)
reader - The reader from which the topic map is to be read.base_address - The base address to be used for resolving
relative references.public CTMTopicMapReader(InputStream stream, LocatorIF base_address)
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.public CTMTopicMapReader(File file) throws IOException
file - The file object from which to read the topic map.IOExceptionprotected TopicMapIF read(TopicMapStoreFactoryIF store_factory) throws IOException
read in class AbstractTopicMapReaderIOExceptionprotected Reader makeReader(InputStream stream, String encoding) throws IOException
IOException