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

📄 wireformatmessagebinary.instantiator.html

📁 jxta的api库
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><!-- ========= 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="WireFormatMessageBinary.Instantiator()"><!-- --></A><H3>WireFormatMessageBinary.Instantiator</H3><PRE>public <B>WireFormatMessageBinary.Instantiator</B>()</PRE><DL><DD>Creates new WireFormatMessageBinary Instantiator<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="getSupportedMimeTypes()"><!-- --></A><H3>getSupportedMimeTypes</H3><PRE>public <A HREF="../../../../net/jxta/document/MimeMediaType.html" title="class in net.jxta.document">MimeMediaType</A>[] <B>getSupportedMimeTypes</B>()</PRE><DL><DD>Returns the list of mime types supported by this serialization. All of  mimetypes in this list should have no mime type parameters.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/jxta/impl/endpoint/WireFormatMessageFactory.Instantiator.html#getSupportedMimeTypes()">getSupportedMimeTypes</A></CODE> in interface <CODE><A HREF="../../../../net/jxta/impl/endpoint/WireFormatMessageFactory.Instantiator.html" title="interface in net.jxta.impl.endpoint">WireFormatMessageFactory.Instantiator</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getSupportedContentEncodings()"><!-- --></A><H3>getSupportedContentEncodings</H3><PRE>public <A HREF="../../../../net/jxta/document/MimeMediaType.html" title="class in net.jxta.document">MimeMediaType</A>[] <B>getSupportedContentEncodings</B>()</PRE><DL><DD>Returns a list of the content encodings supported by this serialization.  These content encodings apply to both the overall coding of the message  and to the encodig of individual elements.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/jxta/impl/endpoint/WireFormatMessageFactory.Instantiator.html#getSupportedContentEncodings()">getSupportedContentEncodings</A></CODE> in interface <CODE><A HREF="../../../../net/jxta/impl/endpoint/WireFormatMessageFactory.Instantiator.html" title="interface in net.jxta.impl.endpoint">WireFormatMessageFactory.Instantiator</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="fromWire(java.io.InputStream, net.jxta.document.MimeMediaType, net.jxta.document.MimeMediaType)"><!-- --></A><H3>fromWire</H3><PRE>public <A HREF="../../../../net/jxta/endpoint/Message.html" title="class in net.jxta.endpoint">Message</A> <B>fromWire</B>(java.io.InputStream&nbsp;is,                        <A HREF="../../../../net/jxta/document/MimeMediaType.html" title="class in net.jxta.document">MimeMediaType</A>&nbsp;type,                        <A HREF="../../../../net/jxta/document/MimeMediaType.html" title="class in net.jxta.document">MimeMediaType</A>&nbsp;contentEncoding)                 throws java.io.IOException</PRE><DL><DD>Create an abstract message from a serialization.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/jxta/impl/endpoint/WireFormatMessageFactory.Instantiator.html#fromWire(java.io.InputStream, net.jxta.document.MimeMediaType, net.jxta.document.MimeMediaType)">fromWire</A></CODE> in interface <CODE><A HREF="../../../../net/jxta/impl/endpoint/WireFormatMessageFactory.Instantiator.html" title="interface in net.jxta.impl.endpoint">WireFormatMessageFactory.Instantiator</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>is</CODE> - The message stream. Message serializations must either use  internal data or EOF to determine the length of the stream.<DD><CODE>type</CODE> - Declared message type of the stream including any optional  configuration parameters.<DD><CODE>contentEncoding</CODE> - Content encoding (including optional parameters) which has been applied to the message. May be null for unencoded messages.<DT><B>Returns:</B><DD>a proxy object for the abstract message which is a  representation of the message in its serialized form.<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE></DL></DD></DL><HR><A NAME="toWire(net.jxta.endpoint.Message, net.jxta.document.MimeMediaType, net.jxta.document.MimeMediaType[])"><!-- --></A><H3>toWire</H3><PRE>public <A HREF="../../../../net/jxta/impl/endpoint/WireFormatMessage.html" title="interface in net.jxta.impl.endpoint">WireFormatMessage</A> <B>toWire</B>(<A HREF="../../../../net/jxta/endpoint/Message.html" title="class in net.jxta.endpoint">Message</A>&nbsp;msg,                                <A HREF="../../../../net/jxta/document/MimeMediaType.html" title="class in net.jxta.document">MimeMediaType</A>&nbsp;type,                                <A HREF="../../../../net/jxta/document/MimeMediaType.html" title="class in net.jxta.document">MimeMediaType</A>[]&nbsp;preferedContentEncoding)</PRE><DL><DD>Create a WireFormatMessage from an abstract message. It is an error (though lazily enforced) tomodify the abstract message during the  lifetime of the WireFormatMessage.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/jxta/impl/endpoint/WireFormatMessageFactory.Instantiator.html#toWire(net.jxta.endpoint.Message, net.jxta.document.MimeMediaType, net.jxta.document.MimeMediaType[])">toWire</A></CODE> in interface <CODE><A HREF="../../../../net/jxta/impl/endpoint/WireFormatMessageFactory.Instantiator.html" title="interface in net.jxta.impl.endpoint">WireFormatMessageFactory.Instantiator</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>msg</CODE> - the message for which a serialization is desired.<DD><CODE>type</CODE> - the the serialization form desired. This can include  mime parameters to control options.<DD><CODE>preferedContentEncoding</CODE> - An array of acceptable message encodings  in descending order of preference. any or none of these encoding options  may be used. May be null for unencoded messages.<DT><B>Returns:</B><DD>a proxy object for the abstract message which is a  representation of the message in its serialized form.</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/WireFormatMessageBinary.Instantiator.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/WireFormatMessageBinary.binaryMessageProxy.html" title="class in net.jxta.impl.endpoint"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../net/jxta/impl/endpoint/WireFormatMessageFactory.html" title="class in net.jxta.impl.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="WireFormatMessageBinary.Instantiator.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 + -