Package net.ontopia.topicmaps.db2tm
Class DB2TM
java.lang.Object
net.ontopia.topicmaps.db2tm.DB2TM
PUBLIC: The driver class used to do conversions with DB2TM.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidadd(String cfgfile, TopicMapIF topicmap) PUBLIC: Run conversion from a configuration file into a given topic map.static voidsync(String cfgfile, TopicMapIF topicmap) PUBLIC: Run synchronization from a configuration file against a given topic map.static voidsync(String cfgfile, TopicMapIF topicmap, boolean force_rescan) PUBLIC: Run synchronization from a configuration file against a given topic map.
-
Method Details
-
add
PUBLIC: Run conversion from a configuration file into a given topic map.- Parameters:
cfgfile- File name of XML configuration file.topicmap- Topic map to add converted data to.- Throws:
IOException- Since:
- 3.1.0
-
sync
PUBLIC: Run synchronization from a configuration file against a given topic map.- Parameters:
cfgfile- File name of XML configuration file.topicmap- Topic map to synchronize the data against.- Throws:
IOException- Since:
- 3.2.0
-
sync
public static void sync(String cfgfile, TopicMapIF topicmap, boolean force_rescan) throws IOException PUBLIC: Run synchronization from a configuration file against a given topic map.- Parameters:
cfgfile- File name of XML configuration file.topicmap- Topic map to synchronize the data against.force_rescan- Iff true, all relations are rescanned- Throws:
IOException- Since:
- 5.2.0
-