Index: java/util/jar/Attributes.java =================================================================== RCS file: /cvsroot/classpath/classpath/java/util/jar/Attributes.java,v retrieving revision 1.9 diff -u -r1.9 Attributes.java --- java/util/jar/Attributes.java 17 Apr 2004 19:23:19 -0000 1.9 +++ java/util/jar/Attributes.java 28 Jan 2005 10:08:51 -0000 @@ -103,9 +103,6 @@ */ public static class Name { - - // Fields - // General Main Attributes /** @@ -113,17 +110,14 @@ * the version of this Manifest file. */ public static final Name MANIFEST_VERSION = new Name("Manifest-Version"); - /** - * General main attribute - - * tool and version that created this Manifest file. - */ - public static final Name CREATED_BY = new Name("Created-By"); + /** * General main attribute - * the version of the jar file signature. */ public static final Name SIGNATURE_VERSION = new Name("Signature-Version"); + /** * General main attribute - * (relative) URLs of the libraries/classpaths that the Classes in @@ -164,6 +158,7 @@ * the name if the extension library contained in the jar. */ public static final Name EXTENSION_NAME = new Name("Extension-Name"); + /** * Extension identification attribute - * synonym for EXTENSTION_NAME. @@ -171,48 +166,56 @@ public static final Name EXTENSION_INSTALLATION = EXTENSION_NAME; // Package versioning and sealing attributes + /** * Package versioning - * name of extension library contained in this jar. */ public static final Name IMPLEMENTATION_TITLE = new Name("Implementation-Title"); + /** * Package versioning - * version of the extension library contained in this jar. */ public static final Name IMPLEMENTATION_VERSION = new Name("Implementation-Version"); + /** * Package versioning - * name of extension library creator contained in this jar. */ public static final Name IMPLEMENTATION_VENDOR = new Name("Implementation-Vendor"); + /** * Package versioning - * unique id of extension library creator. */ public static final Name IMPLEMENTATION_VENDOR_ID = new Name("Implementation-Vendor-Id"); + /** * Package versioning - * location where this implementation can be downloaded. */ public static final Name IMPLEMENTATION_URL = new Name("Implementation-URL"); + /** * Package versioning - * title of the specification contained in this jar. */ public static final Name SPECIFICATION_TITLE = new Name("Specification-Title"); + /** * Package versioning - * version of the specification contained in this jar. */ public static final Name SPECIFICATION_VERSION = new Name("Specification-Version"); + /** * Package versioning - * organisation that maintains the specification contains in this @@ -220,6 +223,7 @@ */ public static final Name SPECIFICATION_VENDOR = new Name("Specification-Vendor"); + /** * Package sealing - * whether (all) package(s) is(/are) sealed. Value is either "true" @@ -233,21 +237,9 @@ */ public static final Name CONTENT_TYPE = new Name("Content-Type"); - /** - * Bean objects attribute - - * whether the entry is a Java Bean. Value is either "true" or "false". - */ - public static final Name JAVA_BEAN = new Name("Java-Bean"); - - /** - * Signing attribute - - * application specific signing attribute. Must be understood by - * the manifest parser when present to validate the jar (entry). - */ - public static final Name MAGIC = new Name("Magic"); - /** The (lowercase) String representation of this Name */ private final String name; + /** The original String given to the constructor */ private final String origName;