Package net.ontopia.topicmaps.db2tm
Class DB2TM
- java.lang.Object
-
- net.ontopia.topicmaps.db2tm.DB2TM
-
public class DB2TM extends Object
PUBLIC: The driver class used to do conversions with DB2TM.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
add(String cfgfile, TopicMapIF topicmap)
PUBLIC: Run conversion from a configuration file into a given topic map.static void
sync(String cfgfile, TopicMapIF topicmap)
PUBLIC: Run synchronization from a configuration file against a given topic map.static void
sync(String cfgfile, TopicMapIF topicmap, boolean force_rescan)
PUBLIC: Run synchronization from a configuration file against a given topic map.
-
-
-
Method Detail
-
add
public static void add(String cfgfile, TopicMapIF topicmap) throws IOException
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 static void sync(String cfgfile, TopicMapIF topicmap) 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.- 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
-
-