Class ZipUtil.SingleZipEntryCallback
java.lang.Object
org.zeroturnaround.zip.ZipUtil.SingleZipEntryCallback
- All Implemented Interfaces:
ZipEntryCallback
- Enclosing class:
ZipUtil
ZipEntryCallback which is only applied to single entry.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ZipEntryCallbackprivate booleanprivate final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanfound()voidprocess(InputStream in, ZipEntry zipEntry) Invoked for each entry in a ZIP file.
-
Field Details
-
name
-
action
-
found
private boolean found
-
-
Constructor Details
-
SingleZipEntryCallback
-
-
Method Details
-
process
Description copied from interface:ZipEntryCallbackInvoked for each entry in a ZIP file.- Specified by:
processin interfaceZipEntryCallback- Parameters:
in- contents of the ZIP entry.zipEntry- ZIP entry.- Throws:
IOException- when any processing exception occurs
-
found
public boolean found()
-