public static interface ZipUtil.ZipEntryVisitor
ZipUtil.walkZipFile(File, ZipEntryVisitor) to visit zip entries.| Modifier and Type | Method and Description |
|---|---|
boolean |
visit(ZipEntry entry,
ZipInputStream stream)
Visits a specific zip file entry.
|
boolean visit(ZipEntry entry, ZipInputStream stream) throws Exception
entry - the entry being visitedstream - the stream containing the zip contenttrue if everything is OK and processing of the zip content
should continue; returning false will tell the walker to abort further traversing
of the zip content.Exception - if the visitation failed for some reason - this will abort further walking of the zip contentCopyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.