Class PackGzipUnpacker

java.lang.Object
net.adoptopenjdk.icedteaweb.resources.downloader.PackGzipUnpacker
All Implemented Interfaces:
StreamUnpacker

public class PackGzipUnpacker extends Object implements StreamUnpacker
Unpacker for PACK200 and Gzip streams. Pack200 from commons-compress: java.util.jar.Pack200 was removed in JDK 14.
  • Constructor Details

    • PackGzipUnpacker

      public PackGzipUnpacker()
  • Method Details

    • unpack

      public InputStream unpack(InputStream input) throws IOException
      Description copied from interface: StreamUnpacker
      Unpacks the content of the input stream. Provides a new input stream with the unpacked content.
      Specified by:
      unpack in interface StreamUnpacker
      Parameters:
      input - a compressed input stream
      Returns:
      an unpacked input stream
      Throws:
      IOException - if anything goes wrong