<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.4.2-rc) on Fri Jun 13 00:14:46 PDT 2003 -->
<TITLE>
Attributes.Name (Java 2 Platform SE v1.4.2)
</TITLE>
<META NAME="keywords" CONTENT="java.util.jar.Attributes.Name class">
<META NAME="keywords" CONTENT="MANIFEST_VERSION">
<META NAME="keywords" CONTENT="SIGNATURE_VERSION">
<META NAME="keywords" CONTENT="CONTENT_TYPE">
<META NAME="keywords" CONTENT="CLASS_PATH">
<META NAME="keywords" CONTENT="MAIN_CLASS">
<META NAME="keywords" CONTENT="SEALED">
<META NAME="keywords" CONTENT="EXTENSION_LIST">
<META NAME="keywords" CONTENT="EXTENSION_NAME">
<META NAME="keywords" CONTENT="EXTENSION_INSTALLATION">
<META NAME="keywords" CONTENT="IMPLEMENTATION_TITLE">
<META NAME="keywords" CONTENT="IMPLEMENTATION_VERSION">
<META NAME="keywords" CONTENT="IMPLEMENTATION_VENDOR">
<META NAME="keywords" CONTENT="IMPLEMENTATION_VENDOR_ID">
<META NAME="keywords" CONTENT="IMPLEMENTATION_URL">
<META NAME="keywords" CONTENT="SPECIFICATION_TITLE">
<META NAME="keywords" CONTENT="SPECIFICATION_VERSION">
<META NAME="keywords" CONTENT="SPECIFICATION_VENDOR">
<META NAME="keywords" CONTENT="equals()">
<META NAME="keywords" CONTENT="hashCode()">
<META NAME="keywords" CONTENT="toString()">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
parent.document.title="Attributes.Name (Java 2 Platform SE v1.4.2)";
}
</SCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Attributes.Name.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
<b>Java<sup><font size=-2>TM</font></sup> 2 Platform<br>Std. Ed. v1.4.2</b></EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../java/util/jar/Attributes.html" title="class in java.util.jar"><B>PREV CLASS</B></A>
<A HREF="../../../java/util/jar/JarEntry.html" title="class in java.util.jar"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html" target="_top"><B>FRAMES</B></A>
<A HREF="Attributes.Name.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
java.util.jar</FONT>
<BR>
Class Attributes.Name</H2>
<PRE>
<A HREF="../../../java/lang/Object.html" title="class in java.lang">java.lang.Object</A>
<IMG SRC="../../../resources/inherit.gif" ALT="extended by"><B>java.util.jar.Attributes.Name</B>
</PRE>
<DL>
<DT><B>Enclosing class:</B><DD><A HREF="../../../java/util/jar/Attributes.html" title="class in java.util.jar">Attributes</A></DD>
</DL>
<HR>
<DL>
<DT>public static class <B>Attributes.Name</B><DT>extends <A HREF="../../../java/lang/Object.html" title="class in java.lang">Object</A></DL>
<P>
The Attributes.Name class represents an attribute name stored in
this Map. Valid attribute names are case-insensitive, are restricted
to the ASCII characters in the set [0-9a-zA-Z_-], and cannot exceed
70 characters in length. Attribute values can contain any characters
and will be UTF8-encoded when written to the output stream. See the
<a href="../../../../guide/jar/jar.html">JAR File Specification</a>
for more information about valid attribute names and values.
Attributes.Name类表示存储在该Map中的属性名。属性名忽略大小写,但被限制为[0-9a-zA-Z_-]集中的ASCII字符, 长度不能超出70。
属性值可以包含任意字符,以UTF-8编码输出到输出流。有效属性名和属性值的更多信息查看JAR文件规范。
<P>
<P>
<HR>
<P>
<!-- ======== NESTED CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Field Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static <A HREF="../../../java/util/jar/Attributes.Name.html" title="class in java.util.jar">Attributes.Name</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../java/util/jar/Attributes.Name.html#CLASS_PATH">CLASS_PATH</A></B></CODE>
<BR>
<code>Name</code> object for <code>Class-Path</code>
manifest attribute. Class-Path声明属性中的Name对象。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static <A HREF="../../../java/util/jar/Attributes.Name.html" title="class in java.util.jar">Attributes.Name</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../java/util/jar/Attributes.Name.html#CONTENT_TYPE">CONTENT_TYPE</A></B></CODE>
<BR>
<code>Name</code> object for <code>Content-Type</code>
manifest attribute. Content-Type声明属性中的Name对象。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static <A HREF="../../../java/util/jar/Attributes.Name.html" title="class in java.util.jar">Attributes.Name</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../java/util/jar/Attributes.Name.html#EXTENSION_INSTALLATION">EXTENSION_INSTALLATION</A></B></CODE>
<BR>
<code>Name</code> object for <code>Extension-Name</code> manifest attribute
used for declaring dependencies on installed extensions.
用于声明依赖的已安装扩展的Extension-Name声明属性中的Name对象。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static <A HREF="../../../java/util/jar/Attributes.Name.html" title="class in java.util.jar">Attributes.Name</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../java/util/jar/Attributes.Name.html#EXTENSION_LIST">EXTENSION_LIST</A></B></CODE>
<BR>
<code>Name</code> object for <code>Extension-List</code> manifest attribute
used for declaring dependencies on installed extensions.
用于声明依赖的已安装扩展的Extension-List声明属性中的Name对象。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static <A HREF="../../../java/util/jar/Attributes.Name.html" title="class in java.util.jar">Attributes.Name</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../java/util/jar/Attributes.Name.html#EXTENSION_NAME">EXTENSION_NAME</A></B></CODE>
<BR>
<code>Name</code> object for <code>Extension-Name</code> manifest attribute
used for declaring dependencies on installed extensions.
用于声明依赖的已安装扩展的Extension-Name声明属性中的Name对象。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static <A HREF="../../../java/util/jar/Attributes.Name.html" title="class in java.util.jar">Attributes.Name</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../java/util/jar/Attributes.Name.html#IMPLEMENTATION_TITLE">IMPLEMENTATION_TITLE</A></B></CODE>
<BR>
<code>Name</code> object for <code>Implementation-Title</code>
manifest attribute used for package versioning.
用于包版本的Implementation-Title声明属性中的Name对象。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static <A HREF="../../../java/util/jar/Attributes.Name.html" title="class in java.util.jar">Attributes.Name</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../java/util/jar/Attributes.Name.html#IMPLEMENTATION_URL">IMPLEMENTATION_URL</A></B></CODE>
<BR>
<code>Name</code> object for <code>Implementation-Vendor-URL</code>
manifest attribute used for package versioning.
用于包版本的Implementation-Vendor-URL声明属性中的Name对象。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static <A HREF="../../../java/util/jar/Attributes.Name.html" title="class in java.util.jar">Attributes.Name</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../java/util/jar/Attributes.Name.html#IMPLEMENTATION_VENDOR">IMPLEMENTATION_VENDOR</A></B></CODE>
<BR>
<code>Name</code> object for <code>Implementation-Vendor</code>
manifest attribute used for package versioning.
用于包版本的Implementation-Vendor声明属性中的Name对象。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static <A HREF="../../../java/util/jar/Attributes.Name.html" title="class in java.util.jar">Attributes.Name</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../java/util/jar/Attributes.Name.html#IMPLEMENTATION_VENDOR_ID">IMPLEMENTATION_VENDOR_ID</A></B></CODE>
<BR>
<code>Name</code> object for <code>Implementation-Vendor-Id</code>
manifest attribute used for package versioning.
用于包版本的Implementation-Vendor-Id声明属性中的Name对象。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static <A HREF="../../../java/util/jar/Attributes.Name.html" title="class in java.util.jar">Attributes.Name</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../java/util/jar/Attributes.Name.html#IMPLEMENTATION_VERSION">IMPLEMENTATION_VERSION</A></B></CODE>
<BR>
<code>Name</code> object for <code>Implementation-Version</code>
manifest attribute used for package versioning.
用于包版本的Implementation-Version声明属性中的Name对象。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static <A HREF="../../../java/util/jar/Attributes.Name.html" title="class in java.util.jar">Attributes.Name</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../java/util/jar/Attributes.Name.html#MAIN_CLASS">MAIN_CLASS</A></B></CODE>
<BR>
<code>Name</code> object for <code>Main-Class</code> manifest
attribute used for launching applications packaged in JAR files.
用于启动包装在JAR文件中应用的Main-Class声明属性中的Name对象。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static <A HREF="../../../java/util/jar/Attributes.Name.html" title="class in java.util.jar">Attributes.Name</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../java/util/jar/Attributes.Name.html#MANIFEST_VERSION">MANIFEST_VERSION</A></B></CODE>
<BR>
<code>Name</code> object for <code>Manifest-Version</code>
manifest attribute.
Manifest-Version声明属性中的Name对象。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static <A HREF="../../../java/util/jar/Attributes.Name.html" title="class in java.util.jar">Attributes.Name</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../java/util/jar/Attributes.Name.html#SEALED">SEALED</A></B></CODE>
<BR>
<code>Name</code> object for <code>Sealed</code> manifest attribute
used for sealing.
用于封装的Sealed声明属性中的Name对象。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static <A HREF="../../../java/util/jar/Attributes.Name.html" title="class in java.util.jar">Attributes.Name</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../java/util/jar/Attributes.Name.html#SIGNATURE_VERSION">SIGNATURE_VERSION</A></B></CODE>
<BR>
<code>Name</code> object for <code>Signature-Version</code>
manifest attribute used when signing JAR files.
在签名JAR文件时使用的Signature-Version声明属性中的Name对象。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static <A HREF="../../../java/util/jar/Attributes.Name.html" title="class in java.util.jar">Attributes.Name</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../java/util/jar/Attributes.Name.html#SPECIFICATION_TITLE">SPECIFICATION_TITLE</A></B></CODE>
<BR>
<code>Name</code> object for <code>Specification-Title</code>
manifest attribute used for package versioning.
用于包版本的Specification-Title声明属性中的Name对象。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static <A HREF="../../../java/util/jar/Attributes.Name.html" title="class in java.util.jar">Attributes.Name</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../java/util/jar/Attributes.Name.html#SPECIFICATION_VENDOR">SPECIFICATION_VENDOR</A></B></CODE>
<BR>
<code>Name</code> object for <code>Specification-Vendor</code>
manifest attribute used for package versioning.
用于包版本的Specification-Vendor声明属性中的Name对象。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static <A HREF="../../../java/util/jar/Attributes.Name.html" title="class in java.util.jar">Attributes.Name</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../java/util/jar/Attributes.Name.html#SPECIFICATION_VERSION">SPECIFICATION_VERSION</A></B></CODE>
<BR>
<code>Name</code> object for <code>Specification-Version</code>
manifest attribute used for package versioning.
用于包版本的Specification-Version声明属性中的Name对象。</TD>
</TR>
</TABLE>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../java/util/jar/Attributes.Name.html#Attributes.Name(java.lang.String)">Attributes.Name</A></B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> name)</CODE>
<BR>
Constructs a new attribute name using the given string name.
创建一个使用给定字符串名称的属性名对象。</TD>
</TR>
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../java/util/jar/Attributes.Name.html#equals(java.lang.Object)">equals</A></B>(<A HREF="../../../java/lang/Object.html" title="class in java.lang">Object</A> o)</CODE>
<BR>
Compares this attribute name to another for equality.
比较两个属性名是否相同。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../java/util/jar/Attributes.Name.html#hashCode()">hashCode</A></B>()</CODE>
<BR>
Computes the hash value for this attribute name.
计算此属性名的hash值。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../java/util/jar/Attributes.Name.html#toString()">toString</A></B>()</CODE>
<BR>
Returns the attribute name as a String.
以字符串形式返回属性名。</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.<A HREF="../../../java/lang/Object.html" title="class in java.lang">Object</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../java/lang/Object.html#clone()">clone</A>, <A HREF="../../../java/lang/Object.html#finalize()">finalize</A>, <A HREF="../../../java/lang/Object.html#getClass()">getClass</A>, <A HREF="../../../java/lang/Object.html#notify()">notify</A>, <A HREF="../../../java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="../../../java/lang/Object.html#wait()">wait</A>, <A HREF="../../../java/lang/Object.html#wait(long)">wait</A>, <A HREF="../../../java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Field Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="MANIFEST_VERSION"><!-- --></A><H3>
MANIFEST_VERSION</H3>
<PRE>
public static final <A HREF="../../../java/util/jar/Attributes.Name.html" title="class in java.util.jar">Attributes.Name</A> <B>MANIFEST_VERSION</B></PRE>
<DL>
<DD><code>Name</code> object for <code>Manifest-Version</code>
manifest attribute. This attribute indicates the version number
of the manifest standard to which a JAR file's manifest conforms.
Manifest-Version声明属性中的Name对象。该属性指出JAR文件声明遵守的声明标准的版本号。
<P>
<DL>
<DT><B>See Also:</B><DD><a href="../../../../guide/jar/jar.html#JAR Manifest">
Manifest and Signature Specification</a></DL>
</DL>
<HR>
<A NAME="SIGNATURE_VERSION"><!-- --></A><H3>
SIGNATURE_VERSION</H3>
<PRE>
public static final <A HREF="../../../java/util/jar/Attributes.Name.html" title="class in java.util.jar">Attributes.Name</A> <B>SIGNATURE_VERSION</B></PRE>
<DL>
<DD><code>Name</code> object for <code>Signature-Version</code>
manifest attribute used when signing JAR files.
在签名JAR文件时使用的Signature-Version声明属性中的Name对象。
<P>
<DL>
<DT><B>See Also:</B><DD><a href="../../../../guide/jar/jar.html#JAR Manifest">
Manifest and Signature Specification</a></DL>
</DL>
<HR>
<A NAME="CONTENT_TYPE"><!-- --></A><H3>
CONTENT_TYPE</H3>
<PRE>
public static final <A HREF="../../../java/util/jar/Attributes.Name.html" title="class in java.util.jar">Attributes.Name</A> <B>CONTENT_TYPE</B></PRE>
<DL>
<DD><code>Name</code> object for <code>Content-Type</code>
manifest attribute.
Content-Type声明属性中的Name对象。
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="CLASS_PATH"><!-- --></A><H3>
CLASS_PATH</H3>
<PRE>
public static final <A HREF="../../../java/util/jar/Attributes.Name.html" title="class in java.util.jar">Attributes.Name</A> <B>CLASS_PATH</B></PRE>
<DL>
<DD><code>Name</code> object for <code>Class-Path</code>
manifest attribute. Bundled extensions can use this attribute
to find other JAR files containing needed classes.
Class-Path声明属性中的Name对象。聚束扩展可以使用此属性来查找包含所需类的JAR文件。
<P>
<DL>
<DT><B>See Also:</B><DD><a href="../../../../guide/extensions/spec.html#bundled">
Extensions Specification</a></DL>
</DL>
<HR>
<A NAME="MAIN_CLASS"><!-- --></A><H3>
MAIN_CLASS</H3>
<PRE>
public static final <A HREF="../../../java/util/jar/Attributes.Name.html" title="class in java.util.jar">Attributes.Name</A> <B>MAIN_CLASS</B></PRE>
<DL>
<DD><code>Name</code> object for <code>Main-Class</code> manifest
attribute used for launching applications packaged in JAR files.
The <code>Main-Class</code> attribute is used in conjunction
with the <code>-jar</code> command-line option of the
<tt>java</tt> application launcher.
用于启动包装在JAR文件中应用的Main-Class声明属性中的Name对象。Main-Class属性和java命令的命令行选项-jar同时使用。
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="SEALED"><!-- --></A><H3>
SEALED</H3>
<PRE>
public static final <A HREF="../../../java/util/jar/Attributes.Name.html" title="class in java.util.jar">Attributes.Name</A> <B>SEALED</B></PRE>
<DL>
<DD><code>Name</code> object for <code>Sealed</code> manifest attribute
used for sealing.
用于封装的Sealed声明属性中的Name对象。
<P>
<DL>
<DT><B>See Also:</B><DD><a href="../../../../guide/extensions/spec.html#sealing">
Extension Sealing</a></DL>
</DL>
<HR>
<A NAME="EXTENSION_LIST"><!-- --></A><H3>
EXTENSION_LIST</H3>
<PRE>
public static final <A HREF="../../../java/util/jar/Attributes.Name.html" title="class in java.util.jar">Attributes.Name</A> <B>EXTENSION_LIST</B></PRE>
<DL>
<DD><code>Name</code> object for <code>Extension-List</code> manifest attribute
used for declaring dependencies on installed extensions.
用于声明依赖的已安装扩展的Extension-List声明属性中的Name对象。
<P>
<DL>
<DT><B>See Also:</B><DD><a href="../../../../guide/extensions/spec.html#dependnecy">
Installed extension dependency</a></DL>
</DL>
<HR>
<A NAME="EXTENSION_NAME"><!-- --></A><H3>
EXTENSION_NAME</H3>
<PRE>
public static final <A HREF="../../../java/util/jar/Attributes.Name.html" title="class in java.util.jar">Attributes.Name</A> <B>EXTENSION_NAME</B></PRE>
<DL>
<DD><code>Name</code> object for <code>Extension-Name</code> manifest attribute
used for declaring dependencies on installed extensions.
用于声明依赖的已安装扩展的Extension-Name声明属性中的Name对象。
<P>
<DL>
<DT><B>See Also:</B><DD><a href="../../../../guide/extensions/spec.html#dependency">
Installed extension dependency</a></DL>
</DL>
<HR>
<A NAME="EXTENSION_INSTALLATION"><!-- --></A><H3>
EXTENSION_INSTALLATION</H3>
<PRE>
public static final <A HREF="../../../java/util/jar/Attributes.Name.html" title="class in java.util.jar">Attributes.Name</A> <B>EXTENSION_INSTALLATION</B></PRE>
<DL>
<DD><code>Name</code> object for <code>Extension-Name</code> manifest attribute
used for declaring dependencies on installed extensions.
用于声明依赖的已安装扩展的Extension-Name声明属性中的Name对象。
<P>
<DL>
<DT><B>See Also:</B><DD><a href="../../../../guide/extensions/spec.html#dependency">
Installed extension dependency</a></DL>
</DL>
<HR>
<A NAME="IMPLEMENTATION_TITLE"><!-- --></A><H3>
IMPLEMENTATION_TITLE</H3>
<PRE>
public static final <A HREF="../../../java/util/jar/Attributes.Name.html" title="class in java.util.jar">Attributes.Name</A> <B>IMPLEMENTATION_TITLE</B></PRE>
<DL>
<DD><code>Name</code> object for <code>Implementation-Title</code>
manifest attribute used for package versioning.
用于包版本的Implementation-Title声明属性中的Name对象。
<P>
<DL>
<DT><B>See Also:</B><DD><a href="../../../../guide/versioning/spec/VersioningSpecification.html#PackageVersioning">
Java Product Versioning Specification</a></DL>
</DL>
<HR>
<A NAME="IMPLEMENTATION_VERSION"><!-- --></A><H3>
IMPLEMENTATION_VERSION</H3>
<PRE>
public static final <A HREF="../../../java/util/jar/Attributes.Name.html" title="class in java.util.jar">Attributes.Name</A> <B>IMPLEMENTATION_VERSION</B></PRE>
<DL>
<DD><code>Name</code> object for <code>Implementation-Version</code>
manifest attribute used for package versioning.
用于包版本的Implementation-Version声明属性中的Name对象。
<P>
<DL>
<DT><B>See Also:</B><DD><a href="../../../../guide/versioning/spec/VersioningSpecification.html#PackageVersioning">
Java Product Versioning Specification</a></DL>
</DL>
<HR>
<A NAME="IMPLEMENTATION_VENDOR"><!-- --></A><H3>
IMPLEMENTATION_VENDOR</H3>
<PRE>
public static final <A HREF="../../../java/util/jar/Attributes.Name.html" title="class in java.util.jar">Attributes.Name</A> <B>IMPLEMENTATION_VENDOR</B></PRE>
<DL>
<DD><code>Name</code> object for <code>Implementation-Vendor</code>
manifest attribute used for package versioning.
用于包版本的Implementation-Vendor声明属性中的Name对象。
<P>
<DL>
<DT><B>See Also:</B><DD><a href="../../../../guide/versioning/spec/VersioningSpecification.html#PackageVersioning">
Java Product Versioning Specification</a></DL>
</DL>
<HR>
<A NAME="IMPLEMENTATION_VENDOR_ID"><!-- --></A><H3>
IMPLEMENTATION_VENDOR_ID</H3>
<PRE>
public static final <A HREF="../../../java/util/jar/Attributes.Name.html" title="class in java.util.jar">Attributes.Name</A> <B>IMPLEMENTATION_VENDOR_ID</B></PRE>
<DL>
<DD><code>Name</code> object for <code>Implementation-Vendor-Id</code>
manifest attribute used for package versioning.
用于包版本的Implementation-Vendor-Id声明属性中的Name对象。
<P>
<DL>
<DT><B>See Also:</B><DD><a href="../../../../guide/versioning/spec/VersioningSpecification.html#PackageVersioning">
Java Product Versioning Specification</a></DL>
</DL>
<HR>
<A NAME="IMPLEMENTATION_URL"><!-- --></A><H3>
IMPLEMENTATION_URL</H3>
<PRE>
public static final <A HREF="../../../java/util/jar/Attributes.Name.html" title="class in java.util.jar">Attributes.Name</A> <B>IMPLEMENTATION_URL</B></PRE>
<DL>
<DD><code>Name</code> object for <code>Implementation-Vendor-URL</code>
manifest attribute used for package versioning.
用于包版本的Implementation-Vendor-URL声明属性中的Name对象。
<P>
<DL>
<DT><B>See Also:</B><DD><a href="../../../../guide/versioning/spec/VersioningSpecification.html#PackageVersioning">
Java Product Versioning Specification</a></DL>
</DL>
<HR>
<A NAME="SPECIFICATION_TITLE"><!-- --></A><H3>
SPECIFICATION_TITLE</H3>
<PRE>
public static final <A HREF="../../../java/util/jar/Attributes.Name.html" title="class in java.util.jar">Attributes.Name</A> <B>SPECIFICATION_TITLE</B></PRE>
<DL>
<DD><code>Name</code> object for <code>Specification-Title</code>
manifest attribute used for package versioning.
用于包版本的Specification-Title声明属性中的Name对象。
<P>
<DL>
<DT><B>See Also:</B><DD><a href="../../../../guide/versioning/spec/VersioningSpecification.html#PackageVersioning">
Java Product Versioning Specification</a></DL>
</DL>
<HR>
<A NAME="SPECIFICATION_VERSION"><!-- --></A><H3>
SPECIFICATION_VERSION</H3>
<PRE>
public static final <A HREF="../../../java/util/jar/Attributes.Name.html" title="class in java.util.jar">Attributes.Name</A> <B>SPECIFICATION_VERSION</B></PRE>
<DL>
<DD><code>Name</code> object for <code>Specification-Version</code>
manifest attribute used for package versioning.
用于包版本的Specification-Version声明属性中的Name对象。
<P>
<DL>
<DT><B>See Also:</B><DD><a href="../../../../guide/versioning/spec/VersioningSpecification.html#PackageVersioning">
Java Product Versioning Specification</a></DL>
</DL>
<HR>
<A NAME="SPECIFICATION_VENDOR"><!-- --></A><H3>
SPECIFICATION_VENDOR</H3>
<PRE>
public static final <A HREF="../../../java/util/jar/Attributes.Name.html" title="class in java.util.jar">Attributes.Name</A> <B>SPECIFICATION_VENDOR</B></PRE>
<DL>
<DD><code>Name</code> object for <code>Specification-Vendor</code>
manifest attribute used for package versioning.
用于包版本的Specification-Vendor声明属性中的Name对象。
<P>
<DL>
<DT><B>See Also:</B><DD><a href="../../../../guide/versioning/spec/VersioningSpecification.html#PackageVersioning">
Java Product Versioning Specification</a></DL>
</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="Attributes.Name(java.lang.String)"><!-- --></A><H3>
Attributes.Name</H3>
<PRE>
public <B>Attributes.Name</B>(<A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> name)</PRE>
<DL>
<DD>Constructs a new attribute name using the given string name.
创建一个使用给定字符串名称的属性名对象。
<P>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the attribute string name 属性字符串名称
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../java/lang/IllegalArgumentException.html" title="class in java.lang">IllegalArgumentException</A></CODE> - if the attribute name was
invalid 如果属性名无效时抛出
<DD><CODE><A HREF="../../../java/lang/NullPointerException.html" title="class in java.lang">NullPointerException</A></CODE> - if the attribute name was null 属性名为null时抛出</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="equals(java.lang.Object)"><!-- --></A><H3>
equals</H3>
<PRE>
public boolean <B>equals</B>(<A HREF="../../../java/lang/Object.html" title="class in java.lang">Object</A> o)</PRE>
<DL>
<DD>Compares this attribute name to another for equality.
比较两个属性名是否相同。
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../java/lang/Object.html#equals(java.lang.Object)">equals</A></CODE> in class <CODE><A HREF="../../../java/lang/Object.html" title="class in java.lang">Object</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>o</CODE> - the object to compare 要比较的对象
<DT><B>Returns:</B><DD>true if this attribute name is equal to the
specified attribute object 如果属性名等于指定的属性对象,返回true<DT><B>See Also:</B><DD><A HREF="../../../java/lang/Object.html#hashCode()"><CODE>Object.hashCode()</CODE></A>,
<A HREF="../../../java/util/Hashtable.html" title="class in java.util"><CODE>Hashtable</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="hashCode()"><!-- --></A><H3>
hashCode</H3>
<PRE>
public int <B>hashCode</B>()</PRE>
<DL>
<DD>Computes the hash value for this attribute name. 计算此属性名的hash值。
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../java/lang/Object.html#hashCode()">hashCode</A></CODE> in class <CODE><A HREF="../../../java/lang/Object.html" title="class in java.lang">Object</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>a hash code value for this object. 此对象的hash值。<DT><B>See Also:</B><DD><A HREF="../../../java/lang/Object.html#equals(java.lang.Object)"><CODE>Object.equals(java.lang.Object)</CODE></A>,
<A HREF="../../../java/util/Hashtable.html" title="class in java.util"><CODE>Hashtable</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="toString()"><!-- --></A><H3>
toString</H3>
<PRE>
public <A HREF="../../../java/lang/String.html" title="class in java.lang">String</A> <B>toString</B>()</PRE>
<DL>
<DD>Returns the attribute name as a String. 以字符串形式返回属性名。
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../java/lang/Object.html#toString()">toString</A></CODE> in class <CODE><A HREF="../../../java/lang/Object.html" title="class in java.lang">Object</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>a string representation of the object. 此对象的字符串形式。</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Attributes.Name.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
<b>Java<sup><font size=-2>TM</font></sup> 2 Platform<br>Std. Ed. v1.4.2</b></EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../java/util/jar/Attributes.html" title="class in java.util.jar"><B>PREV CLASS</B></A>
<A HREF="../../../java/util/jar/JarEntry.html" title="class in java.util.jar"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html" target="_top"><B>FRAMES</B></A>
<A HREF="Attributes.Name.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
<font size="-1"><a href="http://java.sun.com/cgi-bin/bugreport.cgi">Submit a bug or feature</a><br>For further API reference and developer documentation, see <a href="../../../../relnotes/devdocs-vs-specs.html">Java 2 SDK SE Developer Documentation</a>. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples. <p>Copyright 2003 Sun Microsystems, Inc. All rights reserved. Use is subject to <a href="../../../../relnotes/license.html">license terms</a>. Also see the <a href="http://java.sun.com/docs/redist.html">documentation redistribution policy</a>.</font>
</BODY>
</HTML>