net.sf.exorcist.api
Interface ContentImporter

All Known Implementing Classes:
MidgardImporter, MultiImporter, XmlImporter, ZipImporter

public interface ContentImporter

Importer plugin interface. This is the interface implemented by the Exorcist importer plugins. Importer plugins are used to import content from a ContentState instance into a selected location within a target content repository.


Method Summary
 void importContent(ContentState state)
          Imports content into a target content repository.
 

Method Detail

importContent

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.

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.