| Package | Description | 
|---|---|
| java.net | Provides the classes for implementing networking applications. | 
| java.util.jar | Provides classes for reading and writing the JAR (Java ARchive) file
format, which is based on the standard ZIP file format with an
optional manifest file. | 
| Modifier and Type | Method and Description | 
|---|---|
| Manifest | JarURLConnection. getManifest()Returns the Manifest for this connection, or null if none. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Package | URLClassLoader. definePackage(String name,
             Manifest man,
             URL url)Defines a new package by name in this ClassLoader. | 
| Modifier and Type | Method and Description | 
|---|---|
| Manifest | JarInputStream. getManifest()Returns the  Manifestfor this JAR file, ornullif none. | 
| Manifest | JarFile. getManifest()Returns the jar file manifest, or  nullif none. | 
| Constructor and Description | 
|---|
| JarOutputStream(OutputStream out,
               Manifest man)Creates a new  JarOutputStreamwith the specifiedManifest. | 
| Manifest(Manifest man)Constructs a new Manifest that is a copy of the specified Manifest. | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2025, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.