📄 mimemediatype.html
字号:
java.lang.String textValue)</CODE><BR> Creates new LiteXMLDocument with a textValue in the root element</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../net/jxta/impl/document/LiteXMLDocument.html#LiteXMLDocument(net.jxta.document.MimeMediaType, java.io.InputStream)">LiteXMLDocument</A></B>(<A HREF="../../../../net/jxta/document/MimeMediaType.html" title="class in net.jxta.document">MimeMediaType</A> mimeType, java.io.InputStream in)</CODE><BR> Creates new LiteXMLDocument</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../net/jxta/impl/document/LiteXMLDocument.html#LiteXMLDocument(net.jxta.document.MimeMediaType, java.io.Reader)">LiteXMLDocument</A></B>(<A HREF="../../../../net/jxta/document/MimeMediaType.html" title="class in net.jxta.document">MimeMediaType</A> mimeType, java.io.Reader in)</CODE><BR> Creates new LiteXMLDocument</TD></TR></TABLE> <P><A NAME="net.jxta.impl.endpoint"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2">Uses of <A HREF="../../../../net/jxta/document/MimeMediaType.html" title="class in net.jxta.document">MimeMediaType</A> in <A HREF="../../../../net/jxta/impl/endpoint/package-summary.html">net.jxta.impl.endpoint</A></FONT></TD></TR></TABLE> <P><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Fields in <A HREF="../../../../net/jxta/impl/endpoint/package-summary.html">net.jxta.impl.endpoint</A> declared as <A HREF="../../../../net/jxta/document/MimeMediaType.html" title="class in net.jxta.document">MimeMediaType</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>(package private) <A HREF="../../../../net/jxta/document/MimeMediaType.html" title="class in net.jxta.document">MimeMediaType</A></CODE></FONT></TD><TD><CODE><B>WireFormatMessageBinary.binaryMessageProxy.</B><B><A HREF="../../../../net/jxta/impl/endpoint/WireFormatMessageBinary.binaryMessageProxy.html#type">type</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../../net/jxta/document/MimeMediaType.html" title="class in net.jxta.document">MimeMediaType</A></CODE></FONT></TD><TD><CODE><B>EndpointServiceImpl.</B><B><A HREF="../../../../net/jxta/impl/endpoint/EndpointServiceImpl.html#DEFAULT_MESSAGE_TYPE">DEFAULT_MESSAGE_TYPE</A></B></CODE><BR> </TD></TR></TABLE> <P><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../../net/jxta/impl/endpoint/package-summary.html">net.jxta.impl.endpoint</A> that return <A HREF="../../../../net/jxta/document/MimeMediaType.html" title="class in net.jxta.document">MimeMediaType</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../net/jxta/document/MimeMediaType.html" title="class in net.jxta.document">MimeMediaType</A>[]</CODE></FONT></TD><TD><CODE><B>WireFormatMessageFactory.Instantiator.</B><B><A HREF="../../../../net/jxta/impl/endpoint/WireFormatMessageFactory.Instantiator.html#getSupportedMimeTypes()">getSupportedMimeTypes</A></B>()</CODE><BR> Returns the list of mime types supported by this serialization. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../net/jxta/document/MimeMediaType.html" title="class in net.jxta.document">MimeMediaType</A>[]</CODE></FONT></TD><TD><CODE><B>WireFormatMessageFactory.Instantiator.</B><B><A HREF="../../../../net/jxta/impl/endpoint/WireFormatMessageFactory.Instantiator.html#getSupportedContentEncodings()">getSupportedContentEncodings</A></B>()</CODE><BR> Returns a list of the content encodings supported by this serialization. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../net/jxta/document/MimeMediaType.html" title="class in net.jxta.document">MimeMediaType</A></CODE></FONT></TD><TD><CODE><B>WireFormatMessageBinary.</B><B><A HREF="../../../../net/jxta/impl/endpoint/WireFormatMessageBinary.html#getMimeType()">getMimeType</A></B>()</CODE><BR> Returns the MIME Media type of this <code>Document</code> per <a href="http://www.ietf.org/rfc/rfc2046.txt" target="_blank">IETF RFC 2046 <i>MIME : Media Types</i></a>. <p/>JXTA does not currently support the '<code>Multipart</code>' or '<code>Message</code>' media types.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../net/jxta/document/MimeMediaType.html" title="class in net.jxta.document">MimeMediaType</A></CODE></FONT></TD><TD><CODE><B>WireFormatMessageBinary.</B><B><A HREF="../../../../net/jxta/impl/endpoint/WireFormatMessageBinary.html#getContentEncoding()">getContentEncoding</A></B>()</CODE><BR> Returns the encoding used for this content. May be null for unencoded (raw) content.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../net/jxta/document/MimeMediaType.html" title="class in net.jxta.document">MimeMediaType</A>[]</CODE></FONT></TD><TD><CODE><B>WireFormatMessageBinary.Instantiator.</B><B><A HREF="../../../../net/jxta/impl/endpoint/WireFormatMessageBinary.Instantiator.html#getSupportedMimeTypes()">getSupportedMimeTypes</A></B>()</CODE><BR> Returns the list of mime types supported by this serialization. All of mimetypes in this list should have no mime type parameters.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../net/jxta/document/MimeMediaType.html" title="class in net.jxta.document">MimeMediaType</A>[]</CODE></FONT></TD><TD><CODE><B>WireFormatMessageBinary.Instantiator.</B><B><A HREF="../../../../net/jxta/impl/endpoint/WireFormatMessageBinary.Instantiator.html#getSupportedContentEncodings()">getSupportedContentEncodings</A></B>()</CODE><BR> 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.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../net/jxta/document/MimeMediaType.html" title="class in net.jxta.document">MimeMediaType</A></CODE></FONT></TD><TD><CODE><B>WireFormatMessageBinary.binaryMessageProxy.</B><B><A HREF="../../../../net/jxta/impl/endpoint/WireFormatMessageBinary.binaryMessageProxy.html#getMimeType()">getMimeType</A></B>()</CODE><BR> Returns the MIME Media type of this <code>Document</code> per <a href="http://www.ietf.org/rfc/rfc2046.txt" target="_blank">IETF RFC 2046 <i>MIME : Media Types</i></a>. <p/>JXTA does not currently support the '<code>Multipart</code>' or '<code>Message</code>' media types.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../net/jxta/document/MimeMediaType.html" title="class in net.jxta.document">MimeMediaType</A></CODE></FONT></TD><TD><CODE><B>WireFormatMessage.</B><B><A HREF="../../../../net/jxta/impl/endpoint/WireFormatMessage.html#getContentEncoding()">getContentEncoding</A></B>()</CODE><BR> Returns the encoding used for this content. </TD></TR></TABLE> <P><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../../net/jxta/impl/endpoint/package-summary.html">net.jxta.impl.endpoint</A> with parameters of type <A HREF="../../../../net/jxta/document/MimeMediaType.html" title="class in net.jxta.document">MimeMediaType</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static boolean</CODE></FONT></TD><TD><CODE><B>WireFormatMessageFactory.</B><B><A HREF="../../../../net/jxta/impl/endpoint/WireFormatMessageFactory.html#registerInstantiator(net.jxta.document.MimeMediaType, net.jxta.impl.endpoint.WireFormatMessageFactory.Instantiator)">registerInstantiator</A></B>(<A HREF="../../../../net/jxta/document/MimeMediaType.html" title="class in net.jxta.document">MimeMediaType</A> mimetype, <A HREF="../../../../net/jxta/impl/endpoint/WireFormatMessageFactory.Instantiator.html" title="interface in net.jxta.impl.endpoint">WireFormatMessageFactory.Instantiator</A> instantiator)</CODE><BR> Register an instantiator object a mime-type of documents to be constructed.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../../net/jxta/impl/endpoint/WireFormatMessage.html" title="interface in net.jxta.impl.endpoint">WireFormatMessage</A></CODE></FONT></TD><TD><CODE><B>WireFormatMessageFactory.</B><B><A HREF="../../../../net/jxta/impl/endpoint/WireFormatMessageFactory.html#toWire(net.jxta.endpoint.Message, net.jxta.document.MimeMediaType, net.jxta.document.MimeMediaType[])">toWire</A></B>(<A HREF="../../../../net/jxta/endpoint/Message.html" title="class in net.jxta.endpoint">Message</A> msg, <A HREF="../../../../net/jxta/document/MimeMediaType.html" title="class in net.jxta.document">MimeMediaType</A> type, <A HREF="../../../../net/jxta/document/MimeMediaType.html" title="class in net.jxta.document">MimeMediaType</A>[] preferedEncodings)</CODE><BR> Constructs an instance of <A HREF="../../../../net/jxta/impl/endpoint/WireFormatMessage.html" title="interface in net.jxta.impl.endpoint"><CODE>WireFormatMessage</CODE></A> matching the type specified by the <CODE>type</CODE> parameter.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../../net/jxta/endpoint/Message.html" title="class in net.jxta.endpoint">Message</A></CODE></FONT></TD><TD><CODE><B>WireFormatMessageFactory.</B><B><A HREF="../../../../net/jxta/impl/endpoint/WireFormatMessageFactory.html#fromWire(java.io.InputStream, net.jxta.document.MimeMediaType, net.jxta.document.MimeMediaType)">fromWire</A></B>(java.io.InputStream is, <A HREF="../../../../net/jxta/document/MimeMediaType.html" title="class in net.jxta.document">MimeMediaType</A> type, <A HREF="../../../../net/jxta/document/MimeMediaType.html" title="class in net.jxta.document">MimeMediaType</A> contentEncoding)</CODE><BR> Constructs an instance of <CODE>MessageWireFormat</CODE> matching the type specified by the <CODE>type</CODE> parameter.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../net/jxta/impl/endpoint/WireFormatMessage.html" title="interface in net.jxta.impl.endpoint">WireFormatMessage</A></CODE></FONT></TD><TD><CODE><B>WireFormatMessageFactory.Instantiator.</B><B><A HREF="../../../../net/jxta/impl/endpoint/WireFormatMessageFactory.Instantiator.html#toWire(net.jxta.endpoint.Message, net.jxta.document.MimeMediaType, net.jxta.document.MimeMediaType[])">toWire</A></B>(<A HREF="../../../../net/jxta/endpoint/Message.html" title="class in net.jxta.endpoint">Message</A> msg, <A HREF="../../../../net/jxta/document/MimeMediaType.html" title="class in net.jxta.document">MimeMediaType</A> type, <A HREF="../../../../net/jxta/document/MimeMediaType.html" title="class in net.jxta.document">MimeMediaType</A>[] preferedContentEncoding)</CODE><BR> Create a WireFormatMessage from an abstract message. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../net/jxta/endpoint/Message.html" title="class in net.jxta.endpoint">Message</A></CODE></FONT></TD><TD><CODE><B>WireFormatMessageFactory.Instantiator.</B><B><A HREF="../../../../net/jxta/impl/endpoint/WireFormatMessageFactory.Instantiator.html#fromWire(java.io.InputStream, net.jxta.document.MimeMediaType, net.jxta.document.MimeMediaType)">fromWire</A></B>(java.io.InputStream is, <A HREF="../../../../net/jxta/document/MimeMediaType.html" title="class in net.jxta.document">MimeMediaType</A> type,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -