3 Oct
2006
3 Oct
'06
5:28 p.m.
hi can anybody tell me how i can call this class so that i can try to read a topic map in a template created will this work $UTopicMaps.readTopicMapFromFile() my class is... public static void readTopicMapFromFile() { File tmFile = TM4LStore. tmFile; try { // This better be moved to an initialization step - to be run just once when the application starts setProviderFactory (); TopicMapSource src = new SerializedTopicMapSource(tmFile); topicMap = provider.addTopicMap(src); // TM4LStore.topicMapName = topicMap.getName(); TM4LStore. tmBaseLocator = topicMap.getBaseLocator(); TM4LStore. topicMap = topicMap; }