Package org.zeroturnaround.zip
Class ZipUtil.BackslashUnpacker
java.lang.Object
org.zeroturnaround.zip.ZipUtil.BackslashUnpacker
- All Implemented Interfaces:
ZipEntryCallback
- Enclosing class:
ZipUtil
Unpacks each ZIP entries. Presumes they are packed with the backslash separator.
Some archives can have this problem if they are created with some software
that is not following the ZIP specification.
- Since:
- zt-zip 1.9
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBackslashUnpacker
(File outputDir) BackslashUnpacker
(File outputDir, NameMapper mapper) -
Method Summary
Modifier and TypeMethodDescriptionvoid
process
(InputStream in, ZipEntry zipEntry) Invoked for each entry in a ZIP file.
-
Field Details
-
outputDir
-
mapper
-
-
Constructor Details
-
BackslashUnpacker
-
BackslashUnpacker
-
-
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
-