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 TypeMethodDescriptionvoidprocess(InputStream in, ZipEntry zipEntry) Invoked for each entry in a ZIP file.voidInvoked for each entry in a ZIP file.
-
Field Details
-
entryCallback
-
infoCallback
-
-
Constructor Details
-
ZipEntryOrInfoAdapter
-
-
Method Details
-
process
Description copied from interface:ZipInfoCallbackInvoked for each entry in a ZIP file.- Specified by:
processin interfaceZipInfoCallback- Parameters:
zipEntry- ZIP entry.- Throws:
IOException- when any processing exception occurs
-
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
-