net.sf.exorcist.core.zip
Class ZipExporter

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

public class ZipExporter
extends ZipBase
implements ContentExporter

Exporter plugin for the Exorcist content state file format. This plugin can be used to extract the content saved in an Exorcist content state file.


Field Summary
 
Fields inherited from class net.sf.exorcist.core.zip.ZipBase
CONTENT_XML, DATA
 
Constructor Summary
ZipExporter()
           
 
Method Summary
 void exportContent(ContentState state)
          Reads the content state file and fills the given ContentState instance with the contents of the 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

ZipExporter

public ZipExporter()
Method Detail

exportContent

public void exportContent(ContentState state)
                   throws ContentException
Reads the content state file and fills the given ContentState instance with the contents of the file.

Specified by:
exportContent in interface ContentExporter
Parameters:
state - the content state to be filled from the state file
Throws:
ContentException - if the content state file could not be read
See Also:
ContentExporter.exportContent(ContentState)


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