7.2.6 Using the import tool programatically
It is possible to embed the import tool in other applications. The import code is separate from the import tool command-line interface. The entry point to run an import is the following method:
org.outerj.daisy.tools.importexport.import_.Importer.run(...)
(This is a static method, but is no problem to run multiple imports concurrently in the same JVM).
If you want to have a look at the sources of the importer, the code is found in the Daisy source tree below applications/importexport.
Previous