| 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 | Description | 
|---|---|---|
| JarEntry | JarURLConnection. getJarEntry()Return the JAR entry object for this connection, if any. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| JarEntry | JarFile. getJarEntry(String name)Returns the  JarEntryfor the given entry name ornullif not found. | |
| JarEntry | JarInputStream. getNextJarEntry()Reads the next JAR file entry and positions the stream at the
 beginning of the entry data. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| Enumeration<JarEntry> | JarFile. entries()Returns an enumeration of the zip file entries. | |
| Stream<JarEntry> | JarFile. stream() | 
| Constructor | Description | 
|---|---|
| JarEntry(JarEntry je)Creates a new  JarEntrywith fields taken from the
 specifiedJarEntryobject. | 
 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.