public interface TopicMapReaderIF
net.ontopia.topicmaps.core.TopicMapImporterIF
,
net.ontopia.topicmaps.core.TopicMapWriterIF
Modifier and Type | Method and Description |
---|---|
void |
importInto(TopicMapIF topicmap)
PUBLIC: Imports an implicitly designated topic map into the given topic map.
|
TopicMapIF |
read()
PUBLIC: Reads the next topic map available from some implicit,
implementation dependent source.
|
Collection<TopicMapIF> |
readAll()
PUBLIC: Reads all the topic map available from some implicit,
implementation dependent source.
|
void |
setAdditionalProperties(Map<String,Object> properties)
PUBLIC: set additional properties to the topic map reader.
|
TopicMapIF read() throws IOException
null
is returned when there are no more
topic maps available. In a sense this is iterator-like
behaviour.IOException
- Thrown if reading the source fails.Collection<TopicMapIF> readAll() throws IOException
IOException
- Thrown if reading the source fails.void importInto(TopicMapIF topicmap) throws IOException
topicmap
- The topic map into which the import will be done;
an object implementing TopicMapIF.IOException
void setAdditionalProperties(Map<String,Object> properties)
properties
- Additional properties for the reader