⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 endpointaddress.html

📁 jxta的api库
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!-- ========= 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="EndpointAddress()"><!-- --></A><H3>EndpointAddress</H3><PRE>public <B>EndpointAddress</B>()</PRE><DL><DD>Builds an empty (invalid) Endpoint Address.<P></DL><HR><A NAME="EndpointAddress(java.lang.String)"><!-- --></A><H3>EndpointAddress</H3><PRE>public <B>EndpointAddress</B>(java.lang.String&nbsp;address)</PRE><DL><DD>Builds an Address from a string<P><DT><B>Parameters:</B><DD><CODE>address</CODE> - the string representation of the address.</DL><HR><A NAME="EndpointAddress(byte[])"><!-- --></A><H3>EndpointAddress</H3><PRE>public <B>EndpointAddress</B>(byte[]&nbsp;bytes)</PRE><DL><DD>Constructor which builds an address from a byte array containing a UTF-8 string.<P><DT><B>Parameters:</B><DD><CODE>bytes</CODE> - byte array containing a UTF-8 string of the endpoint address to be constructed.</DL><HR><A NAME="EndpointAddress(net.jxta.endpoint.EndpointAddress, java.lang.String, java.lang.String)"><!-- --></A><H3>EndpointAddress</H3><PRE>public <B>EndpointAddress</B>(<A HREF="../../../net/jxta/endpoint/EndpointAddress.html" title="class in net.jxta.endpoint">EndpointAddress</A>&nbsp;base,                       java.lang.String&nbsp;service,                       java.lang.String&nbsp;serviceParam)</PRE><DL><DD>Constructor which builds an endpoint address from a base address and replacement service and params<P><DT><B>Parameters:</B><DD><CODE>base</CODE> - The EndpointAddress on which the new EndpointAddress will be based<DD><CODE>service</CODE> - provides an alternate service for the new EndpointAddress.<DD><CODE>serviceParam</CODE> - provides and alternate service parameter for the new EndpointAddress</DL><HR><A NAME="EndpointAddress(java.lang.String, java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>EndpointAddress</H3><PRE>public <B>EndpointAddress</B>(java.lang.String&nbsp;protocol,                       java.lang.String&nbsp;address,                       java.lang.String&nbsp;service,                       java.lang.String&nbsp;serviceParam)</PRE><DL><DD>Constructor which builds an address the four standard constituent parts.<P><DT><B>Parameters:</B><DD><CODE>address</CODE> - Describes the destination entity of this address.<DD><CODE>protocol</CODE> - Describes the method of addressing used by the remainder of the  endpoint address.<DD><CODE>service</CODE> - String containing the name of the destination service<DD><CODE>serviceParam</CODE> - String containing the service parameter</DL><HR><A NAME="EndpointAddress(net.jxta.id.ID, java.lang.String, java.lang.String)"><!-- --></A><H3>EndpointAddress</H3><PRE>public <B>EndpointAddress</B>(<A HREF="../../../net/jxta/id/ID.html" title="class in net.jxta.id">ID</A>&nbsp;id,                       java.lang.String&nbsp;service,                       java.lang.String&nbsp;serviceParam)</PRE><DL><DD>Constructor which builds an address from a standard jxta id and a service and param.<P><DT><B>Parameters:</B><DD><CODE>id</CODE> - the ID which will be the destination of the endpoint address<DD><CODE>service</CODE> - String containing the name of the destination service<DD><CODE>serviceParam</CODE> - String containing the service parameter</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="unmodifiableEndpointAddress(net.jxta.endpoint.EndpointAddress)"><!-- --></A><H3>unmodifiableEndpointAddress</H3><PRE>public static <A HREF="../../../net/jxta/endpoint/EndpointAddress.html" title="class in net.jxta.endpoint">EndpointAddress</A> <B>unmodifiableEndpointAddress</B>(<A HREF="../../../net/jxta/endpoint/EndpointAddress.html" title="class in net.jxta.endpoint">EndpointAddress</A>&nbsp;address)</PRE><DL><DD>Returns an unmodifiable clone of the provided EndpointAddress.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>address</CODE> - the address to be cloned.<DT><B>Returns:</B><DD>the unmodifiable address clone.</DL></DD></DL><HR><A NAME="clone()"><!-- --></A><H3>clone</H3><PRE>public java.lang.Object <B>clone</B>()</PRE><DL><DD><P><DD><DL></DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(java.lang.Object&nbsp;target)</PRE><DL><DD><P><DD><DL></DL></DD></DL><HR><A NAME="hashCode()"><!-- --></A><H3>hashCode</H3><PRE>public int <B>hashCode</B>()</PRE><DL><DD><P><DD><DL></DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD><P><DD><DL></DL></DD></DL><HR><A NAME="getBytes()"><!-- --></A><H3>getBytes</H3><PRE>public byte[] <B>getBytes</B>()</PRE><DL><DD>Get a byte array containing a UTF-8 representation of the address.<P><DD><DL><DT><B>Returns:</B><DD>a byte array containing the bytes of a UTF-8 representation of the endpoint address.</DL></DD></DL><HR><A NAME="getProtocolName()"><!-- --></A><H3>getProtocolName</H3><PRE>public java.lang.String <B>getProtocolName</B>()</PRE><DL><DD>Return a String that contains the name of the protocol contained in the EndpointAddress<P><DD><DL><DT><B>Returns:</B><DD>a String containing the protocol name</DL></DD></DL><HR><A NAME="getProtocolAddress()"><!-- --></A><H3>getProtocolAddress</H3><PRE>public java.lang.String <B>getProtocolAddress</B>()</PRE><DL><DD>Return a String that contains the name of the protocol address contained in the EndpointAddress<P><DD><DL><DT><B>Returns:</B><DD>a String containing the protocol address</DL></DD></DL><HR><A NAME="getServiceName()"><!-- --></A><H3>getServiceName</H3><PRE>public java.lang.String <B>getServiceName</B>()</PRE><DL><DD>Return a String that contains the name of the service name contained in the EndpointAddress<P><DD><DL><DT><B>Returns:</B><DD>a String containing the service name</DL></DD></DL><HR><A NAME="getServiceParameter()"><!-- --></A><H3>getServiceParameter</H3><PRE>public java.lang.String <B>getServiceParameter</B>()</PRE><DL><DD>Return a String that contains the name of the service parameter contained in the EndpointAddress<P><DD><DL><DT><B>Returns:</B><DD>a String containing the protocol name</DL></DD></DL><HR><A NAME="setProtocolName(java.lang.String)"><!-- --></A><H3>setProtocolName</H3><PRE>public void <B>setProtocolName</B>(java.lang.String&nbsp;name)</PRE><DL><DD>Set the protocol name.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - String containing the name of the protocol</DL></DD></DL><HR><A NAME="setProtocolAddress(java.lang.String)"><!-- --></A><H3>setProtocolAddress</H3><PRE>public void <B>setProtocolAddress</B>(java.lang.String&nbsp;address)</PRE><DL><DD>Set the protocol address.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>address</CODE> - String containing the peer address.</DL></DD></DL><HR><A NAME="setServiceName(java.lang.String)"><!-- --></A><H3>setServiceName</H3><PRE>public void <B>setServiceName</B>(java.lang.String&nbsp;name)</PRE><DL><DD>Set the service name.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - String containing the name of the destination service</DL></DD></DL><HR><A NAME="setServiceParameter(java.lang.String)"><!-- --></A><H3>setServiceParameter</H3><PRE>public void <B>setServiceParameter</B>(java.lang.String&nbsp;param)</PRE><DL><DD>Set the service parameter<P><DD><DL><DT><B>Parameters:</B><DD><CODE>param</CODE> - String containing the service parameter</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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/EndpointAddress.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</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">&nbsp;<A HREF="../../../net/jxta/endpoint/ByteArrayMessageElement.html" title="class in net.jxta.endpoint"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../net/jxta/endpoint/InputStreamMessageElement.html" title="class in net.jxta.endpoint"><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>  &nbsp;&nbsp;<A HREF="EndpointAddress.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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 + -