Class GzipUnpacker

  • All Implemented Interfaces:
    StreamUnpacker

    public class GzipUnpacker
    extends java.lang.Object
    implements StreamUnpacker
    Unpacker for Gzip streams.
    • Constructor Detail

      • GzipUnpacker

        public GzipUnpacker()
    • Method Detail

      • unpack

        public java.io.InputStream unpack​(java.io.InputStream input)
                                   throws java.io.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:
        java.io.IOException - if anything goes wrong