HomeSort by relevance Sort by last modified time
    Searched refs:JarFile (Results 26 - 50 of 79) sorted by null

12 3 4

  /external/jetty/src/java/org/eclipse/jetty/util/resource/
JarFileResource.java 30 import java.util.jar.JarFile;
39 private JarFile _jarFile;
76 LOG.debug("Closing JarFile "+_jarFile.getName());
163 JarFile jarFile=null;
166 jarFile=_jarFile;
174 jarFile=c.getJarFile();
183 if (jarFile!=null && _entry==null && !_directory)
185 // OK - we have a JarFile, lets look at the entries for our path
186 Enumeration<JarEntry> e=jarFile.entries()
    [all...]
  /libcore/ojluni/src/main/java/java/util/jar/
JarOutputStream.java 62 ZipEntry e = new ZipEntry(JarFile.MANIFEST_NAME);
JarVerifier.java 336 public java.security.cert.Certificate[] getCerts(JarFile jar, JarEntry entry)
351 public CodeSigner[] getCodeSigners(JarFile jar, JarEntry entry)
422 if (sigFileSigners.containsKey(JarFile.MANIFEST_NAME)) {
423 verifiedSigners.put(JarFile.MANIFEST_NAME,
424 sigFileSigners.remove(JarFile.MANIFEST_NAME));
634 * on behalf of the same JarFile instance. Otherwise, compare
682 public synchronized Enumeration<String> entryNames(JarFile jar, final CodeSource[] cs) {
744 public Enumeration<JarEntry> entries2(final JarFile jar, Enumeration e) {
821 private Enumeration<String> unsignedEntryNames(JarFile jar) {
874 public synchronized CodeSource[] getCodeSources(JarFile jar, URL url)
    [all...]
JarInputStream.java 92 if (e != null && JarFile.MANIFEST_NAME.equalsIgnoreCase(e.getName())) {
Pack200.java 75 * JarFile jarFile = new JarFile("/tmp/testref.jar");
78 * packer.pack(jarFile, fos);
79 * jarFile.close();
548 * Takes a JarFile and converts it into a Pack200 archive.
551 * @param in a JarFile
555 void pack(JarFile in, OutputStream out) throws IOException ;
    [all...]
  /external/caliper/caliper/src/main/java/com/google/caliper/runner/
AllocationInstrument.java 42 import java.util.jar.JarFile;
178 JarFile jarFile = null;
180 jarFile = new JarFile(file);
181 Manifest manifest = jarFile.getManifest();
188 if (jarFile != null) {
189 jarFile.close();
198 * on the worker VM's command line with "-javaagent:[jarfile]".
JarFinder.java 37 import java.util.jar.JarFile;
142 JarFile jarFile;
144 jarFile = new JarFile(file);
151 for (URI uri : getClassPathFromManifest(file, jarFile.getManifest())) {
156 jarFile.close();
169 File jarFile, @Nullable Manifest manifest) {
180 uri = getClassPathEntry(jarFile, path);
199 @VisibleForTesting static URI getClassPathEntry(File jarFile, String path
    [all...]
  /external/emma/core/java12/com/vladium/emma/
runCommand.java 14 import java.util.jar.JarFile;
149 final File jarfile = new File (freeArgs [0]); local
153 jarMainClass = openJarFile (jarfile); // the rest of free args are *not* ignored
163 exit (true, "failed to load Main-Class manifest attribute from [" + jarfile.getAbsolutePath () + "]", null, RC_UNEXPECTED);
173 m_classpath = new String [] { jarfile.getPath () };
286 return "[options] class [args...] | -jar [options] jarfile [args...]";
297 JarFile jarfile = null; local
300 jarfile = new JarFile (file, false)
    [all...]
  /external/emma/core/java12/com/vladium/util/
IPathEnumerator.java 21 import java.util.jar.JarFile;
209 // note: Sun's JarFile uses native code and has been known to
216 // I try to read the manifest again via a JarFile if the stream
295 JarFile jarfile = null; local
298 jarfile = new JarFile (archive, false); // 3-arg constructor is not in J2SE 1.2
299 result = jarfile.getManifest ();
306 if (jarfile != null) try { jarfile.close (); } catch (IOException ignore) {}
    [all...]
  /external/vogar/src/vogar/
ClassFileIndex.java 36 import java.util.jar.JarFile;
157 JarFile jarFile = new JarFile(file);
158 for (Enumeration<JarEntry> e = jarFile.entries(); e.hasMoreElements(); ) {
  /libcore/ojluni/src/main/java/sun/misc/
JarIndex.java 115 public static JarIndex getJarIndex(JarFile jar) throws IOException {
125 public static JarIndex getJarIndex(JarFile jar, MetaIndex metaIndex) throws IOException {
247 fileName.equals(JarFile.MANIFEST_NAME))
URLClassPath.java 30 import java.util.jar.JarFile;
474 private JarFile jarfile; // if this points to a jar file
544 jarfile = JarLoader.checkJar(juc.getJarFile());
576 if (jarfile != null) {
577 jarfile.close();
593 private JarFile jar;
653 JarFile getJarFile () {
705 static JarFile checkJar(JarFile jar) throws IOException
    [all...]
  /external/guava/guava/src/com/google/common/reflect/
ClassPath.java 46 import java.util.jar.JarFile;
359 if (!resourceName.equals(JarFile.MANIFEST_NAME)) {
367 JarFile jarFile;
369 jarFile = new JarFile(file);
375 for (URI uri : getClassPathFromManifest(file, jarFile.getManifest())) {
378 Enumeration<JarEntry> entries = jarFile.entries();
381 if (entry.isDirectory() || entry.getName().equals(JarFile.MANIFEST_NAME)) {
388 jarFile.close()
    [all...]
  /libcore/luni/src/test/java/libcore/java/net/
OldJarURLConnectionTest.java 35 import java.util.jar.JarFile;
46 private URL createContent(String jarFile, String inFile)
51 Support_Resources.copyFile(resources, "net", jarFile);
52 File file = new File(resources.toString() + "/net/" + jarFile);
81 JarFile jf = juc.getJarFile();
211 File jarFile = File.createTempFile("1+2 3", "test.jar");
212 jarFile.deleteOnExit();
213 JarOutputStream out = new JarOutputStream(new FileOutputStream(jarFile));
219 + jarFile.getAbsolutePath().replaceAll(" ", "%20") + "!/")
235 JarFile jarFile1 = connection.getJarFile()
    [all...]
  /build/tools/signapk/src/com/android/signapk/
SignApk.java 81 import java.util.jar.JarFile;
175 Pattern.quote(JarFile.MANIFEST_NAME) + ")$");
285 private static Manifest addDigestsToManifest(JarFile jar, int hashes)
521 private static void copyFiles(Manifest manifest, JarFile in, JarOutputStream out,
556 offset += JarFile.LOCHDR + outEntry.getName().length();
685 private final JarFile inputJar;
695 public CMSSigner(JarFile inputJar, File publicKeyFile,
764 private static void signWholeFile(JarFile inputJar, File publicKeyFile,
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
JarURLConnectionTest.java 31 import java.util.jar.JarFile;
41 private URL copyAndOpenResourceStream(String jarFile, String inFile)
46 Support_Resources.copyFile(resources, "net", jarFile);
47 File file = new File(resources.toString() + "/net/" + jarFile);
143 File jarFile = File.createTempFile("1+2 3", "test.jar");
144 jarFile.deleteOnExit();
145 JarOutputStream out = new JarOutputStream(new FileOutputStream(jarFile));
151 + jarFile.getAbsolutePath().replaceAll(" ", "%20") + "!/")
166 JarFile jarFile1 = connection.getJarFile();
172 JarFile jarFile2 = connection.getJarFile()
    [all...]
  /packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/
MoreKeysResources.java 30 import java.util.jar.JarFile;
43 private final JarFile mJar;
57 public MoreKeysResources(final JarFile jar) {
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
URLHandler.java 25 import java.util.jar.JarFile;
191 JarFile jarFile;
216 jarFile = conn.getJarFile();
226 Enumeration<JarEntry> entries = jarFile.entries();
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
CompatibilityTest.java 26 import java.util.jar.JarFile;
252 JarFile jarFile = conn.getJarFile();
254 Enumeration entries = jarFile.entries();
290 // The InputStream object returned by JarFile.getInputStream() will
291 // no longer be useable after JarFile.close() has been called. It's
293 target.add(className, copyInputStream(jarFile.getInputStream(entry)));
299 jarFile.close();
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
URLHandler.java 24 import java.util.jar.JarFile;
187 JarFile jarFile;
212 jarFile = conn.getJarFile();
222 Enumeration<JarEntry> entries = jarFile.entries();
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
CompatibilityTest.java 25 import java.util.jar.JarFile;
248 JarFile jarFile = conn.getJarFile();
250 Enumeration entries = jarFile.entries();
286 // The InputStream object returned by JarFile.getInputStream() will
287 // no longer be useable after JarFile.close() has been called. It's
289 target.add(className, copyInputStream(jarFile.getInputStream(entry)));
295 jarFile.close();
  /libcore/ojluni/src/main/java/javax/crypto/
JceSecurity.java 297 JarFile jf = new JarFile(jarPathName);
324 // Close and nullify the JarFile reference to help GC.
  /frameworks/base/core/java/android/util/jar/
StrictJarVerifier.java 39 import java.util.jar.JarFile;
48 * Non-public class used by {@link JarFile} and {@link JarInputStream} to manage
49 * the verification of signed JARs. {@code JarFile} and {@code JarInputStream}
143 throw invalidDigest(JarFile.MANIFEST_NAME, name, name);
354 byte[] manifestBytes = metaEntries.get(JarFile.MANIFEST_NAME);
  /prebuilts/misc/common/swig/include/2.0.11/gcj/
javaprims.i 341 class JarFile;
342 class JarFile$JarEnumeration;
  /external/javassist/src/main/javassist/
ClassPoolTail.java 123 JarFile jarfile; field in class:JarClassPath
128 jarfile = new JarFile(pathname);
142 JarEntry je = jarfile.getJarEntry(jarname);
144 return jarfile.getInputStream(je);
150 + jarfile.getName());
155 JarEntry je = jarfile.getJarEntry(jarname);
167 jarfile.close();
168 jarfile = null
    [all...]

Completed in 2155 milliseconds

12 3 4