/libcore/ojluni/src/main/java/java/util/jar/ |
H A D | JarInputStream.java | 47 private Manifest man; field in class:JarInputStream 93 man = new Manifest(); 95 man.read(new ByteArrayInputStream(bytes)); 99 mev = new ManifestEntryVerifier(man); 126 return man; 228 if (man != null) { 229 e.attr = man.getAttributes(name);
|
H A D | JarOutputStream.java | 54 * @param man the optional <code>Manifest</code> 57 public JarOutputStream(OutputStream out, Manifest man) throws IOException { argument 59 if (man == null) { 60 throw new NullPointerException("man"); 64 man.write(new BufferedOutputStream(this));
|
H A D | JarFile.java | 178 Manifest man = manRef != null ? manRef.get() : null; 180 if (man == null) { 188 man = new Manifest(new ByteArrayInputStream(b)); 193 man = new Manifest(super.getInputStream(manEntry)); 195 manRef = new SoftReference(man); 198 return man; 262 Manifest man = JarFile.this.getManifest(); 263 if (man != null) { 264 return man.getAttributes(getName());
|
H A D | Manifest.java | 75 * @param man the Manifest to copy 77 public Manifest(Manifest man) { argument 78 attr.putAll(man.getMainAttributes()); 79 entries.putAll(man.getEntries());
|
H A D | JarVerifier.java | 435 VerifierStream(Manifest man, argument 447 this.mev = new ManifestEntryVerifier(man);
|
/libcore/ojluni/src/main/java/sun/security/util/ |
H A D | ManifestEntryVerifier.java | 68 private Manifest man; field in class:ManifestEntryVerifier 79 public ManifestEntryVerifier(Manifest man) argument 85 this.man = man; 105 if (man == null || name == null) { 112 Attributes attr = man.getAttributes(name); 117 attr = man.getAttributes("./"+name); 119 attr = man.getAttributes("/"+name);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/ |
H A D | JarOutputStreamTest.java | 45 Manifest man = new Manifest(); 46 Attributes att = man.getMainAttributes(); 53 new JarOutputStream(fos, man);
|
/libcore/ojluni/src/main/java/java/net/ |
H A D | JarURLConnection.java | 287 Manifest man = getManifest(); 288 return man != null ? man.getMainAttributes() : null;
|
H A D | URLClassLoader.java | 381 Manifest man, URL url) { 394 if ((man != null) && isSealed(pkgname, man)) { 416 Manifest man = res.getManifest(); 417 if (getAndVerifyPackage(pkgname, man, url) == null) { 419 if (man != null) { 420 definePackage(pkgname, man, url); 427 if (getAndVerifyPackage(pkgname, man, url) == null) { 458 * @param man the Manifest containing package version and sealing 466 protected Package definePackage(String name, Manifest man, UR argument 380 getAndVerifyPackage(String pkgname, Manifest man, URL url) argument 520 isSealed(String name, Manifest man) argument [all...] |
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/ |
H A D | URLJarFile.java | 126 Manifest man = new Manifest(); 127 Attributes attr = man.getMainAttributes(); 132 Map<String, Attributes> entries = man.getEntries(); 139 return man;
|
/libcore/ojluni/src/main/java/java/lang/ |
H A D | Package.java | 475 * @param man the optional manifest for the package 478 private Package(String name, Manifest man, URL url, ClassLoader loader) { argument 488 Attributes attr = man.getAttributes(path); 498 attr = man.getMainAttributes(); 593 Manifest man = mans.get(fn); 594 if (man != null) { 595 pkg = new Package(name, man, url, null);
|
/libcore/luni/src/test/java/libcore/java/net/ |
H A D | OldURLClassLoaderTest.java | 179 Manifest man, 182 return super.definePackage(name, man, url); 178 definePackage(String name, Manifest man, URL url) argument
|
/libcore/ojluni/src/main/java/sun/misc/ |
H A D | URLClassPath.java | 984 Manifest man = jar.getManifest(); 985 if (man != null) { 986 Attributes attr = man.getMainAttributes();
|