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

📄 cbjxmessageinfo.html

📁 jxta的api库
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="CbJxMessageInfo()"><!-- --></A><H3>CbJxMessageInfo</H3><PRE>public <B>CbJxMessageInfo</B>()</PRE><DL><DD>creates a new information object<P></DL><HR><A NAME="CbJxMessageInfo(java.io.InputStream, net.jxta.document.MimeMediaType)"><!-- --></A><H3>CbJxMessageInfo</H3><PRE>public <B>CbJxMessageInfo</B>(java.io.InputStream&nbsp;stream,                       <A HREF="../../../../../net/jxta/document/MimeMediaType.html" title="class in net.jxta.document">MimeMediaType</A>&nbsp;type)                throws java.io.IOException</PRE><DL><DD>creates a new Message information by parsing the given stream<P><DT><B>Parameters:</B><DD><CODE>stream</CODE> - the InputStream  source of the info data<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - if the info can't be parsed from the stream</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="getPeerCert()"><!-- --></A><H3>getPeerCert</H3><PRE>public java.security.cert.Certificate <B>getPeerCert</B>()</PRE><DL><DD>retrieve the peer certificate<P><DD><DL><DT><B>Returns:</B><DD>Certificate the peer certificate</DL></DD></DL><HR><A NAME="setPeerCert(java.security.cert.Certificate)"><!-- --></A><H3>setPeerCert</H3><PRE>public void <B>setPeerCert</B>(java.security.cert.Certificate&nbsp;cert)</PRE><DL><DD>set the peer certificate<P><DD><DL><DT><B>Parameters:</B><DD><CODE>cert</CODE> - the peer certificate</DL></DD></DL><HR><A NAME="getDestinationAddress()"><!-- --></A><H3>getDestinationAddress</H3><PRE>public <A HREF="../../../../../net/jxta/endpoint/EndpointAddress.html" title="class in net.jxta.endpoint">EndpointAddress</A> <B>getDestinationAddress</B>()</PRE><DL><DD>retrieve the destination address of the message<P><DD><DL><DT><B>Returns:</B><DD>String the original destination address of the message</DL></DD></DL><HR><A NAME="setDestinationAddress(net.jxta.endpoint.EndpointAddress)"><!-- --></A><H3>setDestinationAddress</H3><PRE>public void <B>setDestinationAddress</B>(<A HREF="../../../../../net/jxta/endpoint/EndpointAddress.html" title="class in net.jxta.endpoint">EndpointAddress</A>&nbsp;addr)</PRE><DL><DD>set the destination address of the message<P><DD><DL><DT><B>Parameters:</B><DD><CODE>addr</CODE> - the destination address</DL></DD></DL><HR><A NAME="getSourceAddress()"><!-- --></A><H3>getSourceAddress</H3><PRE>public <A HREF="../../../../../net/jxta/endpoint/EndpointAddress.html" title="class in net.jxta.endpoint">EndpointAddress</A> <B>getSourceAddress</B>()</PRE><DL><DD>retrieve the original source address of the message<P><DD><DL><DT><B>Returns:</B><DD>String the original source address of the message</DL></DD></DL><HR><A NAME="setSourceAddress(net.jxta.endpoint.EndpointAddress)"><!-- --></A><H3>setSourceAddress</H3><PRE>public void <B>setSourceAddress</B>(<A HREF="../../../../../net/jxta/endpoint/EndpointAddress.html" title="class in net.jxta.endpoint">EndpointAddress</A>&nbsp;addr)</PRE><DL><DD>set the source address of the messsage<P><DD><DL><DT><B>Parameters:</B><DD><CODE>addr</CODE> - the source address</DL></DD></DL><HR><A NAME="getSourceID()"><!-- --></A><H3>getSourceID</H3><PRE>public <A HREF="../../../../../net/jxta/id/ID.html" title="class in net.jxta.id">ID</A> <B>getSourceID</B>()</PRE><DL><DD>retrieve the source id of the message<P><DD><DL><DT><B>Returns:</B><DD>String the source id of the sender</DL></DD></DL><HR><A NAME="setSourceID(net.jxta.id.ID)"><!-- --></A><H3>setSourceID</H3><PRE>public void <B>setSourceID</B>(<A HREF="../../../../../net/jxta/id/ID.html" title="class in net.jxta.id">ID</A>&nbsp;src)</PRE><DL><DD>set the source id of the message<P><DD><DL><DT><B>Parameters:</B><DD><CODE>src</CODE> - the ID of the sender</DL></DD></DL><HR><A NAME="getDocument(net.jxta.document.MimeMediaType)"><!-- --></A><H3>getDocument</H3><PRE>public <A HREF="../../../../../net/jxta/document/Document.html" title="interface in net.jxta.document">Document</A> <B>getDocument</B>(<A HREF="../../../../../net/jxta/document/MimeMediaType.html" title="class in net.jxta.document">MimeMediaType</A>&nbsp;asMimeType)</PRE><DL><DD>returns a Document containing the information's document tree<P><DD><DL><DT><B>Parameters:</B><DD><CODE>asMimeType</CODE> - the desired MIME type for the information rendering<DT><B>Returns:</B><DD>Document the Document containing the information's document tree</DL></DD></DL><HR><A NAME="handleElement(net.jxta.document.XMLElement)"><!-- --></A><H3>handleElement</H3><PRE>protected boolean <B>handleElement</B>(<A HREF="../../../../../net/jxta/document/XMLElement.html" title="interface in net.jxta.document">XMLElement</A>&nbsp;elem)</PRE><DL><DD>Called to handle elements during parsing.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>elem</CODE> - Element to parse<DT><B>Returns:</B><DD>true if element was handled, otherwise false.</DL></DD></DL><HR><A NAME="initialize(net.jxta.document.Element)"><!-- --></A><H3>initialize</H3><PRE>protected void <B>initialize</B>(<A HREF="../../../../../net/jxta/document/Element.html" title="interface in net.jxta.document">Element</A>&nbsp;root)</PRE><DL><DD>internal method to process a document into an advertisement.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>root</CODE> - where to start.</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/CbJxMessageInfo.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/impl/endpoint/cbjx/CbJxDefs.IdMaker.html" title="class in net.jxta.impl.endpoint.cbjx"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../../net/jxta/impl/endpoint/cbjx/CbJxMessenger.html" title="class in net.jxta.impl.endpoint.cbjx"><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="CbJxMessageInfo.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 + -