Lines Matching defs:jar

29 import java.util.jar.JarFile;
34 import java.util.jar.JarEntry;
35 import java.util.jar.Manifest;
36 import java.util.jar.Attributes;
37 import java.util.jar.Attributes.Name;
90 /* The jar protocol handler to use when creating new URLs */
112 jarHandler = factory.createURLStreamHandler("jar");
473 private JarFile jarfile; // if this points to a jar file
539 /* Need to remember the jar file so it can be closed
592 private JarFile jar;
610 super(new URL("jar", "", -1, url + "!/", jarHandler));
625 // senario is charsets.jar which won't be installed
634 // metaIndex is null when either there is no such jar file
635 // entry recorded in meta-index file or such jar file is
650 jar.close();
655 return jar;
663 if (jar == null) {
673 jar = getJarFile(csu);
674 index = JarIndex.getJarIndex(jar, metaIndex);
705 /* Throws if the given jar file is does not start with the correct LOC */
706 static JarFile checkJar(JarFile jar) throws IOException {
708 && !zipAccess.startsWithLocHeader(jar)) {
711 jar.close();
718 return jar;
722 // Optimize case where url refers to a local jar file
775 { return jar.getInputStream(entry); }
779 { return jar.getManifest(); };
789 * Returns true iff atleast one resource in the jar file has the same
801 Enumeration<JarEntry> enum_ = jar.entries();
840 final JarEntry entry = jar.getJarEntry(name);
852 * Version of getResource() that tracks the jar files that have been
854 * a HashSet to store the URLs of jar files that have been searched and
867 /* If there no jar files in the index that can potential contain
876 /* loop through the mapped jar file list */
886 /* no loader has been set up for this jar file
897 /* this newly opened jar file has its own index,
928 final JarEntry entry = newLoader.jar.getJarEntry(name);
935 * present in the new jar
960 // Get the list of jar files again as the list could have grown
984 if (SharedSecrets.javaUtilJarAccess().jarFileHasClassPathAttribute(jar)) { // Only get manifest when necessary
985 Manifest man = jar.getManifest();
1003 ExtensionDependency.checkExtensionsDependencies(jar);