Package org.zeroturnaround.zip
Class ZipEntryOrInfoAdapter
java.lang.Object
org.zeroturnaround.zip.ZipEntryOrInfoAdapter
- All Implemented Interfaces:
ZipEntryCallback
,ZipInfoCallback
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionZipEntryOrInfoAdapter
(ZipEntryCallback entryCallback, ZipInfoCallback infoCallback) -
Method Summary
Modifier and TypeMethodDescriptionvoid
process
(InputStream in, ZipEntry zipEntry) Invoked for each entry in a ZIP file.void
Invoked for each entry in a ZIP file.
-
Field Details
-
entryCallback
-
infoCallback
-
-
Constructor Details
-
ZipEntryOrInfoAdapter
-
-
Method Details
-
process
Description copied from interface:ZipInfoCallback
Invoked for each entry in a ZIP file.- Specified by:
process
in interfaceZipInfoCallback
- Parameters:
zipEntry
- ZIP entry.- Throws:
IOException
- when any processing exception occurs
-
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
-