Class Pack200UnpackerAdapter

    • Method Detail

      • unpack

        public void unpack​(java.io.File file,
                           java.util.jar.JarOutputStream out)
                    throws java.io.IOException
        Description copied from interface: Pack200.Unpacker
        Unpacks the contents of the specified File to the specified JAR output stream.
        Specified by:
        unpack in interface Pack200.Unpacker
        Parameters:
        file - file to uncompress.
        out - JAR output stream of uncompressed data.
        Throws:
        java.io.IOException - if I/O exception occurs.
      • unpack

        public void unpack​(java.io.InputStream in,
                           java.util.jar.JarOutputStream out)
                    throws java.io.IOException
        Description copied from interface: Pack200.Unpacker
        Unpacks the specified stream to the specified JAR output stream.
        Specified by:
        unpack in interface Pack200.Unpacker
        Parameters:
        in - stream to uncompress, preferably a BoundedInputStream.
        out - JAR output stream of uncompressed data.
        Throws:
        java.io.IOException - if I/O exception occurs.