com.agilejava.maven.docbkx
Interface ZipFileProcessor.ZipEntryVisitor

Enclosing class:
ZipFileProcessor

public static interface ZipFileProcessor.ZipEntryVisitor

The interface to be implemented by all objects that want to be notified of entries in a zip file.


Method Summary
 void visit(java.util.zip.ZipEntry entry, java.io.InputStream in)
          Notifies the visitor of a zip file entry encoutered.
 

Method Detail

visit

void visit(java.util.zip.ZipEntry entry,
           java.io.InputStream in)
           throws java.io.IOException
Notifies the visitor of a zip file entry encoutered.

Parameters:
entry - The ZipEntry detected.
in - An InputStream allowing you to read directly the decompressed data from the zip entry.
Throws:
java.io.IOException - When the visitor fails to read from the InputStream.


Copyright © 2006-2011. All Rights Reserved.