Package org.zeroturnaround.zip
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 ZipEntryCallback
private boolean
private final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
found()
void
process
(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:ZipEntryCallback
Invoked for each entry in a ZIP file.- Specified by:
process
in interfaceZipEntryCallback
- Parameters:
in
- contents of the ZIP entry.zipEntry
- ZIP entry.- Throws:
IOException
- when any processing exception occurs
-
found
public boolean found()
-