Class ZipEntrySourceZipEntryTransformer

java.lang.Object
org.zeroturnaround.zip.transform.ZipEntrySourceZipEntryTransformer
All Implemented Interfaces:
ZipEntryTransformer

public class ZipEntrySourceZipEntryTransformer extends Object implements ZipEntryTransformer
  • Constructor Details

    • ZipEntrySourceZipEntryTransformer

      public ZipEntrySourceZipEntryTransformer(ZipEntrySource source)
  • Method Details

    • transform

      public void transform(InputStream in, ZipEntry zipEntry, ZipOutputStream out) throws IOException
      Description copied from interface: ZipEntryTransformer
      Transforms the zip entry given as an input stream and ZipEntry metadata. The result is written to a ZipOutputStream
      Specified by:
      transform in interface ZipEntryTransformer
      Parameters:
      in - input stream of the entry contents
      zipEntry - zip entry metadata
      out - output stream to write transformed entry (if necessary)
      Throws:
      IOException - if anything goes wrong