org.tm4j.panckoucke.store.StoreManager .loadTopicmap(java.lang.String src,java.lang.String topicmapBuilderClass)
Description
Passes a request to load a Topicmap to PanckouckeStore, using the
specified TopicMapBuilder and the default TopicMapProvider
Dependant on the implementation this method may return immediately,
returning a TopicMapReference which is in the state of PENDING or
OPENING.
The TopicMap will then be loaded assynchrounisly.
The TopicMap will be loaded into the Provider which is specified by the passed
ProviderReference
Parameters | ||
---|---|---|
java.lang.String | src | specifies where to get the TopicMap from. src is firstly interpreted as an URL and if that fails as a path in the local filesystem If both attempts did not succeed, the state of the TopicMapReference changes to CORRUPTED. |
java.lang.String | topicmapBuilderClass | the name of the Class of an implementation of the TopicMapBuilderInterface. If null, a Default-Implementation should be used. |
Throws
- org.tm4j.panckoucke.store.UnknownReferenceException - if not default ProviderReference can be retrieved by a method of the current Implementation of the StoreManager
Returns
a TopicMapReference which references the specified map. The reference
may be in any state upon returning.
Meta Data (1)