movieimporter.html
来自「这个是java的quicktime for java 的详细使用文档」· HTML 代码 · 共 994 行 · 第 1/4 页
HTML
994 行
<TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/MovieImporter.html#getMIMETypeList()">getMIMETypeList</A></B>()</CODE><BR> Returns a list of MIME types supported by the movie import component.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/std/movies/media/SampleDescription.html">SampleDescription</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/MovieImporter.html#getSampleDescription()">getSampleDescription</A></B>()</CODE><BR> Determines the sample description of the component.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/MovieImporter.html#removeProgressProc()">removeProgressProc</A></B>()</CODE><BR> This method removes a MovieProgress callback for the MovieImporter.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/MovieImporter.html#setAuxiliaryData(quicktime.util.QTHandleRef, int)">setAuxiliaryData</A></B>(<A HREF="../../../quicktime/util/QTHandleRef.html">QTHandleRef</A> data, int handleType)</CODE><BR> Specifies the handle and its type for the component.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/MovieImporter.html#setChunkSize(int)">setChunkSize</A></B>(int chunkSize)</CODE><BR> Specifies the size to allocate for the component.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/MovieImporter.html#setDimensions(float, float)">setDimensions</A></B>(float width, float height)</CODE><BR> Specifies the dimensions for the component.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/MovieImporter.html#setDuration(int)">setDuration</A></B>(int duration)</CODE><BR> Specifies the duration for the component.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/MovieImporter.html#setFromScrap(boolean)">setFromScrap</A></B>(boolean fromScrap)</CODE><BR> Specifies the scrap for the component.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/MovieImporter.html#setImportSettingsFromAtomContainer(quicktime.std.movies.AtomContainer)">setImportSettingsFromAtomContainer</A></B>(<A HREF="../../../quicktime/std/movies/AtomContainer.html">AtomContainer</A> settings)</CODE><BR> Sets the movie import component誷 current configuration from the passed settings data.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/MovieImporter.html#setMediaFile(quicktime.io.AliasHandle)">setMediaFile</A></B>(<A HREF="../../../quicktime/io/AliasHandle.html">AliasHandle</A> alias)</CODE><BR> Allows an application to specify a media file that is to receive the imported movie data.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/MovieImporter.html#setOffsetAndLimit(int, int)">setOffsetAndLimit</A></B>(int offset, int limit)</CODE><BR> NO QT DOCUMENTATION.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/MovieImporter.html#setProgressProc(quicktime.std.movies.MovieProgress)">setProgressProc</A></B>(<A HREF="../../../quicktime/std/movies/MovieProgress.html">MovieProgress</A> mp)</CODE><BR> This method establishes a MovieProgress object for the MovieImporter that will be called for you by the Movie Toolbox whenever it has to do a lengthy movie import process with this MovieImporter <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imDataExchange.10.htm#pgfId=629">QuickTime::MovieImportSetProgressProc</a> </b><BR><BR></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/MovieImporter.html#setSampleDescription(quicktime.std.movies.media.SampleDescription, int)">setSampleDescription</A></B>(<A HREF="../../../quicktime/std/movies/media/SampleDescription.html">SampleDescription</A> desc, int mediaType)</CODE><BR> Specifies the SampleDescription and media type for the component.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/MovieImporter.html#setSampleDuration(int, int)">setSampleDuration</A></B>(int duration, int scale)</CODE><BR> Specifies the duration for the component.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/MovieImporter.html#validate(quicktime.io.QTFile)">validate</A></B>(<A HREF="../../../quicktime/io/QTFile.html">QTFile</A> fileIn)</CODE><BR> Determines the validity of the file to be imported.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/MovieImporter.html#validate(quicktime.util.QTHandleRef)">validate</A></B>(<A HREF="../../../quicktime/util/QTHandleRef.html">QTHandleRef</A> theData)</CODE><BR> Determines the validity of the data in the handle to be imported.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_quicktime.std.comp.Component"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class quicktime.std.comp.<A HREF="../../../quicktime/std/comp/Component.html">Component</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/std/comp/Component.html#count()">count</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_quicktime.std.comp.ComponentIdentifier"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class quicktime.std.comp.<A HREF="../../../quicktime/std/comp/ComponentIdentifier.html">ComponentIdentifier</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/std/comp/ComponentIdentifier.html#find(quicktime.std.comp.ComponentDescription)">find</A>, <A HREF="../../../quicktime/std/comp/ComponentIdentifier.html#find(quicktime.std.comp.ComponentIdentifier, quicktime.std.comp.ComponentDescription)">find</A>, <A HREF="../../../quicktime/std/comp/ComponentIdentifier.html#getInfo()">getInfo</A>, <A HREF="../../../quicktime/std/comp/ComponentIdentifier.html#toString()">toString</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_quicktime.QTObject"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class quicktime.<A HREF="../../../quicktime/QTObject.html">QTObject</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/QTObject.html#disposeQTObject()">disposeQTObject</A>, <A HREF="../../../quicktime/QTObject.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../quicktime/QTObject.html#ID(quicktime.QTObject)">ID</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>getClass, hashCode, notify, notifyAll, 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="MovieImporter()"><!-- --></A><H3>MovieImporter</H3><PRE>public <B>MovieImporter</B>() throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Opens the specified movie import component,'eat ', with any subType. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refComponentMgr.8.htm#28411">QuickTime::OpenADefaultComponent</a> </b><BR><BR><HR><A NAME="MovieImporter(int)"><!-- --></A><H3>MovieImporter</H3><PRE>public <B>MovieImporter</B>(int subType) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Opens the specified movie import component,'eat ', with the given subType. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refComponentMgr.8.htm#28411">QuickTime::OpenADefaultComponent</a> </b><BR><BR><DT><B>Parameters:</B><DD><CODE>subType</CODE> - The movie import component sub type</DL></DD></DL><HR><A NAME="MovieImporter(quicktime.std.comp.ComponentIdentifier)"><!-- --></A><H3>MovieImporter</H3><PRE>public <B>MovieImporter</B>(<A HREF="../../../quicktime/std/comp/ComponentIdentifier.html">ComponentIdentifier</A> comp) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Given a component identifier it opens the specified component. The component type must be 'eat ' or an exception will be thrown as it is not a MovieImporter. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refComponentMgr.8.htm#10078">QuickTime::OpenAComponent</a> </b><BR><BR><DT><B>Parameters:</B><DD><CODE>comp</CODE> - the component identifier to open</DL></DD></DL><HR><A NAME="MovieImporter(quicktime.std.movies.media.DataRef, int)"><!-- --></A><H3>MovieImporter</H3><PRE>public <B>MovieImporter</B>(<A HREF="../../../quicktime/std/movies/media/DataRef.html">DataRef</A> dataRef, int flags) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This returns an appropriate instance of the MovieImporter for the DataRef object. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/ref_undocfuncs.htm#pgfId=16963">QuickTime::GetMovieImporterForDataRef()</a> </b><BR><BR><DT><B>Parameters:</B><DD><CODE>dr</CODE> - the DataRef from which the movie importer is made<DD><CODE>flags</CODE> - flags that control the kinds of importer components that are searched by this call</DL></DD></DL><HR><A NAME="MovieImporter(quicktime.std.movies.media.DataRef, int, java.lang.String)"><!-- --></A><H3>MovieImporter</H3><PRE>public <B>MovieImporter</B>(<A HREF="../../../quicktime/std/movies/media/DataRef.html">DataRef</A> dataRef, int flags, java.lang.String fileExt) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This returns an appropriate instance of the MovieImporter for the DataRef object. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/ref_undocfuncs.htm#pgfId=16963">QuickTime::GetMovieImporterForDataRef()</a> </b><BR><BR><DT><B>Parameters:</B><DD><CODE>dr</CODE> - the DataRef from which the movie importer is made<DD><CODE>flags</CODE> - flags that control the kinds of importer components that are searched by this call<DD><CODE>fileExt</CODE> - file extension for the source of the data. This is useful to provide the importer as a guide for it to know about the data format.</DL>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?