Class ZipUtil.TransformerZipEntryCallback
java.lang.Object
org.zeroturnaround.zip.ZipUtil.TransformerZipEntryCallback
- All Implemented Interfaces:
ZipEntryCallback
- Enclosing class:
ZipUtil
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map<String, ZipEntryTransformer> private final intprivate final ZipOutputStream -
Constructor Summary
ConstructorsConstructorDescriptionTransformerZipEntryCallback(List<ZipEntryTransformerEntry> entries, ZipOutputStream out) -
Method Summary
Modifier and TypeMethodDescriptionbooleanfound()voidprocess(InputStream in, ZipEntry zipEntry) Invoked for each entry in a ZIP file.
-
Field Details
-
entryByPath
-
entryCount
private final int entryCount -
out
-
names
-
-
Constructor Details
-
TransformerZipEntryCallback
-
-
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()- Returns:
trueif at least one entry was replaced.
-