Module java.base
Package java.util.jar

Class JarOutputStream

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 with support for writing an optional Manifest entry. The Manifest can be used to specify meta-information about the JAR file and its entries.
See Also:
Manifest, ZipOutputStream