Module java.base
Package java.util.jar

Class JarOutputStream

java.lang.Object
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public class JarOutputStream extends ZipOutputStream
The JarOutputStream class is used to write the contents of a JAR file to any output stream. It extends the class java.util.zip.ZipOutputStream with support for writing an optional Manifest entry. The Manifest can be used to specify meta-information about the JAR file and its entries.
Since:
1.2
See Also: