| Package | Description | 
|---|---|
| java.lang.instrument | Provides services that allow Java programming language agents to instrument programs running on the JVM. | 
| 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 | 
|---|---|
| void | Instrumentation. appendToBootstrapClassLoaderSearch(JarFile jarfile)Specifies a JAR file with instrumentation classes to be defined by the
 bootstrap class loader. | 
| void | Instrumentation. appendToSystemClassLoaderSearch(JarFile jarfile)Specifies a JAR file with instrumentation classes to be defined by the
 system class loader. | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract JarFile | JarURLConnection. getJarFile()Return the JAR file for this connection. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | Pack200.Packer. pack(JarFile in,
    OutputStream out)Takes a JarFile and converts it into a Pack200 archive. | 
 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, 2017, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.