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

📄 qtexception.html

📁 这个是java的quicktime for java 的详细使用文档
💻 HTML
📖 第 1 页 / 共 5 页
字号:
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This call will open a QTSession and perform any initialisations of the QTML environment.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;void</CODE></FONT></TD><TD><CODE><B>QTSession.</B><B><A HREF="../../quicktime/QTSession.html#open(java.lang.Class)">open</A></B>(java.lang.Class&nbsp;signedClass)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This call will open a QTSession and perform any initialisations of the QTML environment.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;void</CODE></FONT></TD><TD><CODE><B>QTSession.</B><B><A HREF="../../quicktime/QTSession.html#open(int, java.lang.Class)">open</A></B>(int&nbsp;initFlag,     java.lang.Class&nbsp;signedClass)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This call will open a QTSession and perform any initialisations of the QTML environment.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;void</CODE></FONT></TD><TD><CODE><B>QTSession.</B><B><A HREF="../../quicktime/QTSession.html#open(int, int, int, java.lang.Class)">open</A></B>(int&nbsp;majorVersion,     int&nbsp;minorVersion,     int&nbsp;initFlag,     java.lang.Class&nbsp;signedClass)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This call will open a QTSession and perform any initialisations of the QTML environment.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;boolean</CODE></FONT></TD><TD><CODE><B>QTSession.</B><B><A HREF="../../quicktime/QTSession.html#isQD3DAvailable()">isQD3DAvailable</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determine whether it is safe to call a QuickDraw 3D API.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;boolean</CODE></FONT></TD><TD><CODE><B>QTSession.</B><B><A HREF="../../quicktime/QTSession.html#isQTVRAvailable()">isQTVRAvailable</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determine whether it is safe to call a QuickTime VR API.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;int</CODE></FONT></TD><TD><CODE><B>QTSession.</B><B><A HREF="../../quicktime/QTSession.html#gestalt(int)">gestalt</A></B>(int&nbsp;selector)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This call will do a gestalt check.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;void</CODE></FONT></TD><TD><CODE><B>QTSession.</B><B><A HREF="../../quicktime/QTSession.html#enterMovies()">enterMovies</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Before you call any Movie Toolbox functions, you must initialize the toolbox 	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.24.htm#iqMovi335">QuickTime::EnterMovies()</a> </b><BR><BR></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;void</CODE></FONT></TD><TD><CODE><B>QTException.</B><B><A HREF="../../quicktime/QTException.html#checkError(int)">checkError</A></B>(int&nbsp;err)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method will throw an exception if the incoming err argument is  a non-zero value.</TD></TR></TABLE>&nbsp;<P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Constructors in <A HREF="../../quicktime/package-summary.html">quicktime</A> with parameters of type <A HREF="../../quicktime/QTException.html">QTException</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../quicktime/QTRuntimeException.html#QTRuntimeException(quicktime.QTException)">QTRuntimeException</A></B>(<A HREF="../../quicktime/QTException.html">QTException</A>&nbsp;e)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a QTRuntimeException</TD></TR></TABLE>&nbsp;<P><A NAME="quicktime.io"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2">Uses of <A HREF="../../quicktime/QTException.html">QTException</A> in <A HREF="../../quicktime/io/package-summary.html">quicktime.io</A></FONT></TD></TR></TABLE>&nbsp;<P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Subclasses of <A HREF="../../quicktime/QTException.html">QTException</A> in <A HREF="../../quicktime/io/package-summary.html">quicktime.io</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;class</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/io/QTIOException.html">QTIOException</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A General catch all class that is used to signal errors that occur from QT calls</TD></TR></TABLE>&nbsp;<P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../quicktime/io/package-summary.html">quicktime.io</A> that throw <A HREF="../../quicktime/QTException.html">QTException</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../quicktime/io/QTFile.html">QTFile</A></CODE></FONT></TD><TD><CODE><B>QTFile.</B><B><A HREF="../../quicktime/io/QTFile.html#fromGraphicsImporter(quicktime.std.image.GraphicsImporter)">fromGraphicsImporter</A></B>(<A HREF="../../quicktime/std/image/GraphicsImporter.html">GraphicsImporter</A>&nbsp;g)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determines the file that the graphics resides in.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../quicktime/std/image/GraphicsImporterInfo.html">GraphicsImporterInfo</A></CODE></FONT></TD><TD><CODE><B>QTFile.</B><B><A HREF="../../quicktime/io/QTFile.html#fromGraphicsImporter(quicktime.std.image.GraphicsImporter, quicktime.io.QTFile, java.lang.String)">fromGraphicsImporter</A></B>(<A HREF="../../quicktime/std/image/GraphicsImporter.html">GraphicsImporter</A>&nbsp;g,                     <A HREF="../../quicktime/io/QTFile.html">QTFile</A>&nbsp;inDefaultSpec,                     java.lang.String&nbsp;prompt)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Presents a dialog box letting the user save an image in a foreign file format.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../quicktime/io/QTFile.html">QTFile</A></CODE></FONT></TD><TD><CODE><B>QTFile.</B><B><A HREF="../../quicktime/io/QTFile.html#fromGraphicsExporterInput(quicktime.std.image.GraphicsExporter)">fromGraphicsExporterInput</A></B>(<A HREF="../../quicktime/std/image/GraphicsExporter.html">GraphicsExporter</A>&nbsp;g)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determines the file that is the source of input images to the Graphics exporter.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../quicktime/io/QTFile.html">QTFile</A></CODE></FONT></TD><TD><CODE><B>QTFile.</B><B><A HREF="../../quicktime/io/QTFile.html#fromGraphicsExporterOutput(quicktime.std.image.GraphicsExporter)">fromGraphicsExporterOutput</A></B>(<A HREF="../../quicktime/std/image/GraphicsExporter.html">GraphicsExporter</A>&nbsp;g)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determines the file that is the destination of Output images to the Graphics exporter.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../quicktime/io/QTFile.html">QTFile</A></CODE></FONT></TD><TD><CODE><B>QTFile.</B><B><A HREF="../../quicktime/io/QTFile.html#fromSequenceGrabber(quicktime.std.sg.SequenceGrabber)">fromSequenceGrabber</A></B>(<A HREF="../../quicktime/std/sg/SequenceGrabber.html">SequenceGrabber</A>&nbsp;s)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Allows you to determine the movie file that is currently assigned to a sequence grabber component.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../quicktime/io/QTFile.html">QTFile</A></CODE></FONT></TD><TD><CODE><B>QTFile.</B><B><A HREF="../../quicktime/io/QTFile.html#fromSynthesizerConnections(quicktime.std.music.SynthesizerConnections)">fromSynthesizerConnections</A></B>(<A HREF="../../quicktime/std/music/SynthesizerConnections.html">SynthesizerConnections</A>&nbsp;conns)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return a QTFile (or null if none) of a sound bank file that is used by a MusicComponent as specified in that component's SynthesizerConnections</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../quicktime/io/QTFile.html">QTFile</A></CODE></FONT></TD><TD><CODE><B>QTFile.</B><B><A HREF="../../quicktime/io/QTFile.html#resolveAlias(quicktime.io.AliasHandle)">resolveAlias</A></B>(<A HREF="../../quicktime/io/AliasHandle.html">AliasHandle</A>&nbsp;alias)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method will take an alias and will resolve it, returning the full path name of the resolved file.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../quicktime/io/QTFile.html">QTFile</A></CODE></FONT></TD><TD><CODE><B>QTFile.</B><B><A HREF="../../quicktime/io/QTFile.html#standardGetFilePreview(int[])">standardGetFilePreview</A></B>(int[]&nbsp;fileTypes)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Present a standard open file panel to the user to retrieve a file.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B>QTFile.</B><B><A HREF="../../quicktime/io/QTFile.html#convertToMovieFile(quicktime.io.QTFile, int, int)">convertToMovieFile</A></B>(<A HREF="../../quicktime/io/QTFile.html">QTFile</A>&nbsp;outputFile,                   int&nbsp;fCreator,                   int&nbsp;inFlags)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method takes a specified file and converts it to a movie file.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B>QTFile.</B><B><A HREF="../../quicktime/io/QTFile.html#convertToMovieFile(quicktime.io.QTFile, int, int, quicktime.std.qtcomponents.MovieImporter)">convertToMovieFile</A></B>(<A HREF="../../quicktime/io/QTFile.html">QTFile</A>&nbsp;outputFile,                   int&nbsp;fCreator,                   int&nbsp;inFlags,                   <A HREF="../../quicktime/std/qtcomponents/MovieImporter.html">MovieImporter</A>&nbsp;mic)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method takes a specified file and converts it to a movie file.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B>QTFile.</B><B><A HREF="../../quicktime/io/QTFile.html#convertToMovieFile(quicktime.io.QTFile, int, int, quicktime.std.qtcomponents.MovieImporter, quicktime.std.movies.MovieProgress)">convertToMovieFile</A></B>(<A HREF="../../quicktime/io/QTFile.html">QTFile</A>&nbsp;outputFile,                   int&nbsp;fCreator,                   int&nbsp;flags,                   <A HREF="../../quicktime/std/qtcomponents/MovieImporter.html">MovieImporter</A>&nbsp;mic,                   <A HREF="../../quicktime/std/movies/MovieProgress.html">MovieProgress</A>&nbsp;mp)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method takes a specified file and converts it to a movie file.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B>QTFile.</B><B><A HREF="../../quicktime/io/QTFile.html#createShortcutMovieFile(int, int, int, quicktime.std.movies.media.DataRef)">createShortcutMovieFile</A></B>(int&nbsp;creator,                        int&nbsp;scriptTag,                        int&nbsp;createMovieFileFlags,                        <A HREF="../../quicktime/std/movies/media/DataRef.html">DataRef</A>&nbsp;targetDataRef)</CODE>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -