summaryrefslogtreecommitdiff
path: root/java/util/jar
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2005-01-28 14:46:15 +0000
committerMark Wielaard <mark@klomp.org>2005-01-28 14:46:15 +0000
commitea113f54f6f9776909f7fe55202249d699458ac5 (patch)
tree2d66f3664200901fd541925a63974008d4accd8c /java/util/jar
parentd8b9d549ba4517834c3d73ca0fbb4c36b9151179 (diff)
downloadclasspath-ea113f54f6f9776909f7fe55202249d699458ac5.tar.gz
* java/util/jar/Attributes.java (Attributes.Name): Add documentation
to describe attributes without a constant field value in this class.
Diffstat (limited to 'java/util/jar')
-rw-r--r--java/util/jar/Attributes.java14
1 files changed, 13 insertions, 1 deletions
diff --git a/java/util/jar/Attributes.java b/java/util/jar/Attributes.java
index 1f27fc423..27aeb6632 100644
--- a/java/util/jar/Attributes.java
+++ b/java/util/jar/Attributes.java
@@ -1,5 +1,5 @@
/* Attributes.java -- Represents attribute name/value pairs from a Manifest
- Copyright (C) 2000, 2002 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2002, 2005 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -98,6 +98,18 @@ public class Attributes implements Cloneable, Map
* converted to lowercase. But you can get the original case sensitive
* string with the <code>toString()</code> method.</p>
*
+ * <p>Most important attributes have a constant defined in this
+ * class. Some other attributes used in Manifest files are:
+ * <ul>
+ * <li> "Created-By" - General main attribute, tool and version
+ * that created this Manifest file.</li>
+ * <li> "Java-Bean" - Bean objects attribute, whether the entry is a Bean.
+ * Value is either "true" or "false".</li>
+ * <li> "Magic" - Signing attribute, application specific signing attribute.
+ * Must be understood by the manifest parser when present to validate the
+ * jar (entry).</li>
+ * </ul>
+ *
* @since 1.2
* @author Mark Wielaard (mark@klomp.org)
*/