From 3984decc064af54faa30b1964ad1617090f32129 Mon Sep 17 00:00:00 2001
From: mark
Date: Tue, 15 Feb 2005 22:38:59 +0000
Subject: 2005-02-15 Mark Wielaard
* java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
file path elements are separated by spaces.
2005-02-15 Mark Wielaard
* java/util/jar/Attributes.java (Attributes.Name): Add documentation
to describe attributes without a constant field value in this class.
2005-02-15 Michael Koch toString()
method.
Most important attributes have a constant defined in this + * class. Some other attributes used in Manifest files are: + *
EXTENSTION_NAME
.
@@ -171,48 +178,56 @@ public class Attributes implements Cloneable, Map
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 +235,7 @@ public class Attributes implements Cloneable, Map
*/
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 +249,9 @@ public class Attributes implements Cloneable, Map
*/
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;
--
cgit v1.2.1