Class GzipUnpacker

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

public class GzipUnpacker extends Object implements StreamUnpacker
Unpacker for Gzip streams.
  • Constructor Details

    • GzipUnpacker

      public GzipUnpacker()
  • 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