net.ontopia.topicmaps.db2tm
Class DB2TM

java.lang.Object
  extended by net.ontopia.topicmaps.db2tm.DB2TM

public class DB2TM
extends java.lang.Object

PUBLIC: The driver class used to do conversions with DB2TM.


Method Summary
static void add(java.lang.String cfgfile, TopicMapIF topicmap)
          PUBLIC: Run conversion from a configuration file into a given topic map.
static void sync(java.lang.String cfgfile, TopicMapIF topicmap)
          PUBLIC: Run synchronization from a configuration file against a given topic map.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

add

public static void add(java.lang.String cfgfile,
                       TopicMapIF topicmap)
                throws java.io.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:
java.io.IOException
Since:
3.1.0

sync

public static void sync(java.lang.String cfgfile,
                        TopicMapIF topicmap)
                 throws java.io.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:
java.io.IOException
Since:
3.2.0


Copyright © 2000-2010 Ontopia.