Searched defs:jar (Results 1 - 25 of 69) sorted by relevance

123

/openjdk7/jdk/src/share/classes/sun/tools/jar/
H A DJarException.java26 package sun.tools.jar;
H A DCommandLine.java26 package sun.tools.jar;
H A DJarImageSource.java27 package sun.tools.jar;
33 import java.util.jar.JarFile;
34 import java.util.jar.JarEntry;
/openjdk7/jdk/src/share/classes/java/util/jar/
H A DJarException.java26 package java.util.jar;
H A DJavaUtilJarAccessImpl.java26 package java.util.jar;
36 public boolean jarFileHasClassPathAttribute(JarFile jar) throws IOException { argument
37 return jar.hasClassPathAttribute();
40 public CodeSource[] getCodeSources(JarFile jar, URL url) { argument
41 return jar.getCodeSources(url);
44 public CodeSource getCodeSource(JarFile jar, URL url, String name) { argument
45 return jar.getCodeSource(url, name);
48 public Enumeration<String> entryNames(JarFile jar, CodeSource[] cs) { argument
49 return jar.entryNames(cs);
52 public Enumeration<JarEntry> entries2(JarFile jar) { argument
56 setEagerValidation(JarFile jar, boolean eager) argument
60 getManifestDigests(JarFile jar) argument
[all...]
H A DJarEntry.java26 package java.util.jar;
H A DJarOutputStream.java26 package java.util.jar;
116 * jar magic extra field id.
H A DJarInputStream.java26 package java.util.jar;
136 * @exception SecurityException if any of the jar file entries
175 * @exception SecurityException if any of the jar file entries
201 * @exception SecurityException if any of the jar file entries
/openjdk7/langtools/test/tools/javac/Paths/
H A DSameJVM.java25 * Support routines to allow running `javac' or `jar' within the same JVM.
38 File toolsJar = new File(libDir, "tools.jar");
55 static void jar(String... args) throws Exception { method in class:SameJVM
56 Class c = Class.forName("sun.tools.jar.Main", true, cl);
59 .newInstance(System.out, System.err, "jar");
64 throw new Exception("jar failed");
/openjdk7/jdk/make/tools/src/build/tools/makeclasslist/
H A DMakeClasslist.java30 import java.util.jar.*;
104 // "rt.jar");
113 JarFile jar,
116 Enumeration entries = jar.entries();
112 completePackage(Set seenClasses, JarFile jar, String packageName) argument
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/jar/
H A DURLJarFileCallBack.java26 package sun.net.www.protocol.jar;
30 import java.util.jar.*;
/openjdk7/langtools/test/tools/javah/compareTest/
H A DFindNativeFiles.java27 import java.util.jar.JarEntry;
28 import java.util.jar.JarFile;
44 JarFile jar = new JarFile(args[0]);
45 Set<JarEntry> entries = getNativeClasses(jar);
53 Set<JarEntry> getNativeClasses(JarFile jar) throws IOException, ConstantPoolException { argument
59 Enumeration<JarEntry> e = jar.entries();
62 if (isNativeClass(jar, je))
68 boolean isNativeClass(JarFile jar, JarEntry entry) throws IOException, ConstantPoolException { argument
74 InputStream in = jar.getInputStream(entry);
/openjdk7/jdk/src/share/classes/com/sun/java/util/jar/pack/
H A DCodingMethod.java26 package com.sun.java.util.jar.pack;
H A DDriver.java26 package com.sun.java.util.jar.pack;
51 import java.util.jar.JarFile;
52 import java.util.jar.JarOutputStream;
53 import java.util.jar.Pack200;
61 ResourceBundle.getBundle("com.sun.java.util.jar.pack.DriverResource");
251 // Accept jarfiles ending with .jar or .zip.
253 || !(jarfile.toLowerCase().endsWith(".jar")
H A DTLGlobals.java25 package com.sun.java.util.jar.pack;
27 import com.sun.java.util.jar.pack.ConstantPool.ClassEntry;
28 import com.sun.java.util.jar.pack.ConstantPool.DescriptorEntry;
29 import com.sun.java.util.jar.pack.ConstantPool.LiteralEntry;
30 import com.sun.java.util.jar.pack.ConstantPool.MemberEntry;
31 import com.sun.java.util.jar.pack.ConstantPool.SignatureEntry;
32 import com.sun.java.util.jar.pack.ConstantPool.Utf8Entry;
H A DUnpackerImpl.java26 package com.sun.java.util.jar.pack;
40 import java.util.jar.JarEntry;
41 import java.util.jar.JarInputStream;
42 import java.util.jar.JarOutputStream;
43 import java.util.jar.Pack200;
198 props.getBoolean(java.util.jar.Pack200.Unpacker.DEFLATE_HINT);
221 props.setProperty(java.util.jar.Pack200.Unpacker.PROGRESS,"0");
222 // Process the output directory or jar output.
227 props.setProperty(java.util.jar.Pack200.Unpacker.PROGRESS,"50");
277 props.setProperty(java.util.jar
[all...]
/openjdk7/jdk/src/share/classes/sun/misc/
H A DJavaUtilJarAccess.java33 import java.util.jar.JarEntry;
34 import java.util.jar.JarFile;
37 public boolean jarFileHasClassPathAttribute(JarFile jar) throws IOException; argument
38 public CodeSource[] getCodeSources(JarFile jar, URL url); argument
39 public CodeSource getCodeSource(JarFile jar, URL url, String name); argument
40 public Enumeration<String> entryNames(JarFile jar, CodeSource[] cs); argument
41 public Enumeration<JarEntry> entries2(JarFile jar); argument
42 public void setEagerValidation(JarFile jar, boolean eager); argument
43 public List getManifestDigests(JarFile jar); argument
H A DMetaIndex.java41 * quick reject mechanism for probes into jar files. The on-disk
42 * representation of the meta-index is a flat text file with per-jar
44 * contained in the jar. As an example, here is an edited excerpt of
49 # charsets.jar
51 # jce.jar
53 ! jsse.jar
58 @ resources.jar
67 com/sun/java/util/jar/pack/
70 ! rt.jar
83 * <LI> It contains entries for multiple jar file
147 forJar(File jar) argument
[all...]
/openjdk7/jdk/src/windows/classes/sun/net/www/protocol/jar/
H A DJarFileFactory.java26 package sun.net.www.protocol.jar;
33 import java.util.jar.JarFile;
/openjdk7/jdk/src/solaris/classes/sun/net/www/protocol/jar/
H A DJarFileFactory.java26 package sun.net.www.protocol.jar;
33 import java.util.jar.JarFile;
/openjdk7/langtools/test/tools/javac/nio/compileTest/
H A DCompileTest.java35 import java.util.jar.*;
53 File rtJar = new File(new File(new File(javaHome, "jre"), "lib"), "rt.jar");
79 System.err.println("jar file system not available: test skipped");
127 if (scheme.equalsIgnoreCase("jar") || scheme.equalsIgnoreCase("zip"))
133 void expand(File jar, File dir) throws IOException { argument
134 JarFile jarFile = new JarFile(jar);
/openjdk7/jdk/make/tools/src/build/tools/buildmetaindex/
H A DBuildMetaIndex.java30 import java.util.jar.*;
32 /** Constructs a meta-index of the specified jar files. The meta-index
34 the jar file name. It is intended to be consumed by the JVM to
37 allows the JVM to skip opening rt.jar if all of the dependent
47 # charsets.jar
49 # jce.jar
51 ! jsse.jar
56 # management-agent.jar
57 ! rt.jar
72 particular class in a particular jar fil
167 private JarFile jar; field in class:JarMetaIndex
[all...]
/openjdk7/langtools/test/tools/javac/4241573/
H A DT4241573.java35 import java.util.jar.*;
44 File absJar = createJar(new File("abs.jar").getAbsoluteFile(), "j.A");
45 File relJar = createJar(new File("rel.jar"), "j.R");
131 /** Create a jar file containing one or more entries. */
132 File createJar(File jar, String... entries) throws IOException { argument
133 OutputStream out = new FileOutputStream(jar);
144 return jar;
179 /** Create a path value from a list of directories and jar files. */
/openjdk7/langtools/test/tools/javac/6400872/
H A DT6400872.java27 * @summary REGRESSION: Java Compiler cannot find jar files referenced by other
32 // ${TESTJAVA}/bin/jar -cfm A.jar ${TESTSRC}/A/META-INF/MANIFEST.MF -C ${TESTCLASSES} A.class
33 // ${TESTJAVA}/bin/jar -cfm B.jar ${TESTSRC}/B/META-INF/MANIFEST.MF -C ${TESTCLASSES} B.class
34 // ${TESTJAVA}/bin/javac -cp A.jar ${TESTSRC}/C.java
39 import java.util.jar.*;
51 jar(new File("A.jar"), iterable(new File(".", "B.jar")), testClasse
86 jar(File jar, Iterable<File> classPath, File base, File... files) argument
[all...]
/openjdk7/jdk/src/share/native/com/sun/java/util/jar/pack/
H A Dzip.h32 struct jar { struct

Completed in 2077 milliseconds

123