Searched defs:manifest (Results 1 - 6 of 6) sorted by relevance
/libcore/luni/src/main/java/java/util/jar/ |
H A D | JarOutputStream.java | 31 private Manifest manifest; field in class:JarOutputStream 40 * @param manifest 45 public JarOutputStream(OutputStream os, Manifest manifest) throws IOException { argument 47 if (manifest == null) { 48 throw new NullPointerException("manifest == null"); 50 this.manifest = manifest; 53 this.manifest.write(this);
|
H A D | JarInputStream.java | 36 private Manifest manifest; field in class:JarInputStream 76 manifest = new Manifest(this, verify); 79 verifier.setManifest(manifest); 80 if (manifest != null) { 81 verifier.mainAttributesEnd = manifest.getMainAttributesEnd(); 112 * JarInputStream} or {@code null} if no manifest entry exists. 117 return manifest; 205 if (manifest != null) { 206 entry.setAttributes(manifest.getAttributes(name));
|
H A D | JarFile.java | 45 // The directory containing the manifest. 48 // The manifest after it has been read from the JAR. 49 private Manifest manifest; field in class:JarFile 286 if (manifest != null) { 287 return manifest; 296 manifest = new Manifest(is, verifier != null); 304 return manifest; 376 if (manifest != null) { 377 verifier.mainAttributesEnd = manifest.getMainAttributesEnd(); 381 if (manifest ! [all...] |
H A D | Manifest.java | 76 * The end of the main attributes section in the manifest is needed in 187 * Merges name/attribute pairs read from the input stream {@code is} into this manifest. 192 * If an error occurs reading the manifest. 292 * Writes out the attribute information of the specified manifest to the 295 * @param manifest 296 * the manifest to write out. 302 static void write(Manifest manifest, OutputStream out) throws IOException { argument 307 String version = manifest.mainAttributes.getValue(versionName); 310 version = manifest.mainAttributes.getValue(versionName); 314 Iterator<?> entries = manifest [all...] |
/libcore/luni/src/test/java/libcore/java/util/jar/ |
H A D | OldManifestTest.java | 48 private void checkManifest(Manifest manifest) { argument 49 Attributes main = manifest.getMainAttributes(); 85 Manifest manifest = new Manifest(new URL(Support_Resources 86 .getURL("manifest/hyts_MANIFEST.MF")).openStream()); 87 Manifest manifestClone = (Manifest) manifest.clone(); 94 "manifest/hyts_MANIFEST.MF")).openStream()); 96 "manifest/hyts_MANIFEST.MF")).openStream()); 111 .getURL("manifest/hyts_MANIFEST.MF")).openStream()); 145 // If you write a manifest with no MANIFEST_VERSION, your attributes don't get written out.
|
/libcore/luni/src/main/java/java/net/ |
H A D | URLClassLoader.java | 302 Manifest manifest = jf.getManifest(); 303 return createClass(entry, manifest, packageName, origName); 330 private Class<?> createClass(JarEntry entry, Manifest manifest, String packageName, String origName) { argument 342 if (manifest != null) { 343 definePackage(packageDotName, manifest, 351 if (manifest != null) { 352 if (isSealed(manifest, packageName + "/")) { 444 // TODO : to think what we should do with indexes & manifest.class file here 879 Manifest manifest = jf.getManifest(); 880 if (manifest ! 911 definePackage(String packageName, Manifest manifest, URL url) argument 964 isSealed(Manifest manifest, String dirName) argument [all...] |
Completed in 76 milliseconds