Daisy Open Source CMS

org.outerj.daisy.tools.importexport.import_
Class Importer

java.lang.Object
  extended by org.outerj.daisy.tools.importexport.import_.Importer

public class Importer
extends Object

This is the core of the import tool, use this class to programatically perform an export.


Method Summary
static void run(ImportFile importFile, DocumentSet documentSet, Repository repository, ImportOptions options, ImportListener listener)
          Entry point for doing an import.
static void run(ImportFile importFile, Repository repository, ImportOptions options, ImportListener listener)
          Entry point for doing an import.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

run

public static void run(ImportFile importFile,
                       Repository repository,
                       ImportOptions options,
                       ImportListener listener)
                throws Exception
Entry point for doing an import.

Throws:
Exception

run

public static void run(ImportFile importFile,
                       DocumentSet documentSet,
                       Repository repository,
                       ImportOptions options,
                       ImportListener listener)
                throws Exception
Entry point for doing an import.

Parameters:
documentSet - specifies a subset of documents to be imported
Throws:
Exception

Daisy Open Source CMS