net.sf.exorcist.multi
Class MultiImporter

java.lang.Object
  extended by net.sf.exorcist.multi.MultiImporter
All Implemented Interfaces:
ContentImporter

public class MultiImporter
extends java.lang.Object
implements ContentImporter

Importer plugin that passes the content state to multiple importer components.


Constructor Summary
MultiImporter()
           
 
Method Summary
 void importContent(ContentState state)
          Imports content into a target content repository.
 void setImporters(java.util.List importers)
          Sets the list of importer components.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiImporter

public MultiImporter()
Method Detail

setImporters

public void setImporters(java.util.List importers)
Sets the list of importer components.

Parameters:
importers - importer components

importContent

public void importContent(ContentState state)
                   throws ContentException
Imports content into a target content repository. The content to import is contained in the content state instance passed by the Exorcist framework as the argument.

Specified by:
importContent in interface ContentImporter
Parameters:
state - the content state snapshot to be imported
Throws:
ContentException - if the selected content could not be imported


Copyright © 2005 The Exorcist Team @ SourceForge. All Rights Reserved.