## Uses of Class
java.util.jar.JarFile

- Packages that use JarFile
  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.

- - ### Uses of JarFile in java.lang.instrument

    Methods in java.lang.instrument with parameters of type JarFile
    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.

  - ### Uses of JarFile in java.net

    Methods in java.net that return JarFile
    Modifier and Type | Method and Description
    --- | ---
    `abstract JarFile` | JarURLConnection.`getJarFile()` Return the JAR file for this connection.

  - ### Uses of JarFile in java.util.jar

    Methods in java.util.jar with parameters of type JarFile
    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, 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.