Uses of Class
java.util.jar.JarFile
Packages that useJarFile 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 ofJarFile injava.lang.instrument
Methods injava.lang.instrument with parameters of typeJarFile Modifier and Type Method Description voidInstrumentation. appendToBootstrapClassLoaderSearch(JarFile jarfile)Specifies a JAR file with instrumentation classes to be defined by the bootstrap class loader.voidInstrumentation. appendToSystemClassLoaderSearch(JarFile jarfile)Specifies a JAR file with instrumentation classes to be defined by the system class loader.Uses ofJarFile injava.net
Methods injava.net that returnJarFile Modifier and Type Method Description abstractJarFileJarURLConnection. getJarFile()Return the JAR file for this connection.Uses ofJarFile injava.util.jar
Methods injava.util.jar with parameters of typeJarFile Modifier and Type Method Description voidPack200.Packer. pack(JarFile in,OutputStream out)Deprecated, for removal: This API element is subject to removal in a future version.Takes a JarFile and converts it into a Pack200 archive.