public abstract static class ZipUtils.ZipFileVisitor
extends java.lang.Object
| Constructor and Description |
|---|
ZipFileVisitor() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
visit(java.util.zip.ZipEntry entry,
java.io.InputStream data)
This method is called for each entry in the Zipfile, this includes
directorys, use ZipEntry.isDirectory() to check which type of entry
you see.
|
void |
walk(java.io.InputStream zipFile) |
public void walk(java.io.InputStream zipFile)
throws java.io.IOException
java.io.IOExceptionpublic abstract void visit(java.util.zip.ZipEntry entry,
java.io.InputStream data)
throws java.io.IOException
entry - The current ZipEntrydata - The InputStream which can be used to read the entry-data.java.io.IOException - If extracting the data fails.