Documentation of 'org.apache.commons.compress.archivers.jar.JarArchiveOutputStream' Java class
JarArchiveOutputStream
org.apache.commons.compress.archivers.jar

Class JarArchiveOutputStream

  • All Implemented Interfaces:
    java.io.Closeable, java.io.Flushable, java.lang.AutoCloseable


    public class JarArchiveOutputStream
    extends ZipArchiveOutputStream
    Subclass that adds a special extra field to the very first entry which allows the created archive to be used as an executable jar on Solaris.
    • Constructor Detail

      • JarArchiveOutputStream

        public JarArchiveOutputStream(java.io.OutputStream out)
      • JarArchiveOutputStream

        public JarArchiveOutputStream(java.io.OutputStream out,
                                      java.lang.String encoding)
        Create and instance that wraps the output stream using the provided encoding.
        Parameters:
        out - the output stream to wrap
        encoding - the encoding to use. Use null for the platform default.
        Since:
        1.10

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.