?? id.html
字號:
<TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="URIEncodingName"><!-- --></A><H3>URIEncodingName</H3><PRE>public static final java.lang.String <B>URIEncodingName</B></PRE><DL><DD>This defines the URI scheme that we will be using to present JXTA IDs. JXTA IDs are encoded for presentation into URIs (see <a href="http://www.ietf.org/rfc/rfc2396.txt">IETF RFC 2396 Uniform Resource Identifiers (URI) : Generic Syntax</a> ) as URNs (see <a href="http://www.ietf.org/rfc/rfc2141.txt">IETF RFC 2141 Uniform Resource Names (URN) Syntax</a> ).<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#net.jxta.id.ID.URIEncodingName">Constant Field Values</A></DL></DL><HR><A NAME="URNNamespace"><!-- --></A><H3>URNNamespace</H3><PRE>public static final java.lang.String <B>URNNamespace</B></PRE><DL><DD>This defines the URN Namespace that we will be using to present JXTA IDs. The namespace allows URN resolvers to determine which sub-resolver to use to resolve URN references. All JXTA IDs are presented in this namespace.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#net.jxta.id.ID.URNNamespace">Constant Field Values</A></DL></DL><HR><A NAME="nullID"><!-- --></A><H3>nullID</H3><PRE>public static final <A HREF="../../../net/jxta/id/ID.html" title="class in net.jxta.id">ID</A> <B>nullID</B></PRE><DL><DD>The null ID. The NullID is often used as a placeholder in fields which are uninitialized. This is a singleton within the scope of a VM.<P><DL></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="ID()"><!-- --></A><H3>ID</H3><PRE>protected <B>ID</B>()</PRE><DL><DD>Constructor for IDs.<P></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="clone()"><!-- --></A><H3>clone</H3><PRE>public final java.lang.Object <B>clone</B>()</PRE><DL><DD><B>Deprecated.</B> <I>IDs are immutable. clone() is never needed.</I><P><DD>Returns a "clone" of this ID. <strong>"this" IS ALWAYS RETURNED</strong> because IDs are immutable objects.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the same object you passed in.</DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD>Returns a string representation of the ID. This representation should be used primarily for debugging purposes. For most other situations IDs should be externalized as Java URL Objects via <A HREF="../../../net/jxta/id/ID.html#getURL()"><CODE>getURL</CODE></A>. <p/>The default implementation is the toString representation of the URL representation.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>String containing the URI</DL></DD></DL><HR><A NAME="getIDFormat()"><!-- --></A><H3>getIDFormat</H3><PRE>public abstract java.lang.String <B>getIDFormat</B>()</PRE><DL><DD>Returns a string identifier which indicates which ID format is used by this ID instance.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a string identifier which indicates which ID format is used by this ID instance.</DL></DD></DL><HR><A NAME="getUniqueValue()"><!-- --></A><H3>getUniqueValue</H3><PRE>public abstract java.lang.Object <B>getUniqueValue</B>()</PRE><DL><DD>Returns an object containing the unique value of the ID. This object must provide implementations of toString() and hashCode() that are canonical and consistent from run-to-run given the same input values. Beyond this nothing should be assumed about the nature of this object. For some implementations the object returned may be <code>this</code>.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>Object which can provide canonical representations of the ID.</DL></DD></DL><HR><A NAME="getURL()"><!-- --></A><H3>getURL</H3><PRE>public abstract java.net.URL <B>getURL</B>()</PRE><DL><DD>Returns a URI (URL in Java nomenclature) representation of the ID. <CODE>URLs</CODE> are the prefered way of externalizing and presenting JXTA IDs. The <A HREF="../../../net/jxta/id/IDFactory.html" title="class in net.jxta.id"><CODE>JXTA ID Factory</CODE></A> can be used to construct ID Objects from URLs containing JXTA IDs.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>URL Object containing the URI<DT><B>See Also:</B><DD><CODE>URL</CODE>, <A HREF="../../../net/jxta/id/IDFactory.html#fromURL(java.net.URL)"><CODE>IDFactory.fromURL( java.net.URL )</CODE></A></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/ID.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-all.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>JXTA J2SE</EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> PREV CLASS <A HREF="../../../net/jxta/id/IDFactory.html" title="class in net.jxta.id"><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="ID.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></BODY></HTML>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -