Class PackGzipUnpacker

  • All Implemented Interfaces:
    StreamUnpacker

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

      • PackGzipUnpacker

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