net.sf.exorcist.core.zip
Class ZipImporter

java.lang.Object
  extended by net.sf.exorcist.core.zip.ZipBase
      extended by net.sf.exorcist.core.zip.ZipImporter
All Implemented Interfaces:
ContentImporter

public class ZipImporter
extends ZipBase
implements ContentImporter

Importer plugin for the Exorcist content state file format. This plugin can be used to save content into an Exorcist content state file.


Field Summary
 
Fields inherited from class net.sf.exorcist.core.zip.ZipBase
CONTENT_XML, DATA
 
Constructor Summary
ZipImporter()
           
 
Method Summary
 void importContent(ContentState state)
          Writes the contents of the given ContentState instance to the content state file.
 
Methods inherited from class net.sf.exorcist.core.zip.ZipBase
getZipfile, setZipfile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZipImporter

public ZipImporter()
Method Detail

importContent

public void importContent(ContentState state)
                   throws ContentException
Writes the contents of the given ContentState instance to the content state file.

Specified by:
importContent in interface ContentImporter
Parameters:
state - the content state to be written to the state file
Throws:
ContentException - if the content state file could not be written
See Also:
ContentImporter.importContent(ContentState)


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