qtfile.html

来自「这个是java的quicktime for java 的详细使用文档」· HTML 代码 · 共 831 行 · 第 1/3 页

HTML
831
字号
                     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><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><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>&nbsp;byte[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/io/QTFile.html#getFSSpec(boolean, int)">getFSSpec</A></B>(boolean&nbsp;fileExists,          int&nbsp;permissions)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the byte array containing the fsspec.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../quicktime/io/AliasHandle.html">AliasHandle</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/io/QTFile.html#newAlias(boolean)">newAlias</A></B>(boolean&nbsp;minimal)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an alias record that describes the specified target.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../quicktime/io/AliasHandle.html">AliasHandle</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/io/QTFile.html#relativeAlias(quicktime.io.QTFile, boolean)">relativeAlias</A></B>(<A HREF="../../quicktime/io/QTFile.html">QTFile</A>&nbsp;relativeToFile,              boolean&nbsp;minimal)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a relative alias record that describes the specified target with respect to the given 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><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>&nbsp;<A HREF="../../quicktime/io/QTFile.html">QTFile</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/io/QTFile.html#resolveAlias(boolean)">resolveAlias</A></B>(boolean&nbsp;resolveAliasChains)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the target FSSpec passed in <br><br><b>QuickTime::ResolveAliasFile</b><br></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><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></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.io.File"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.io.File</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>canRead, canWrite, compareTo, compareTo, createNewFile, createTempFile, createTempFile, deleteOnExit, equals, exists, getAbsoluteFile, getAbsolutePath, getCanonicalFile, getCanonicalPath, getName, getParent, getParentFile, getPath, hashCode, isAbsolute, isDirectory, isFile, isHidden, lastModified, length, list, list, listFiles, listFiles, listFiles, listRoots, mkdir, mkdirs, renameTo, setLastModified, setReadOnly, toString, toURL</CODE></TD></TR></TABLE>&nbsp;<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, notify, notifyAll, wait, 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="kStandardQTFileTypes"><!-- --></A><H3>kStandardQTFileTypes</H3><PRE>public static final int[] <B>kStandardQTFileTypes</B></PRE><DL><DD>Standard types used in get file.</DL><HR><A NAME="kReadPermission"><!-- --></A><H3>kReadPermission</H3><PRE>public static final int <B>kReadPermission</B></PRE><DL><DD>Permission flags used to test security accessibility of a file path</DL><HR><A NAME="kWritePermission"><!-- --></A><H3>kWritePermission</H3><PRE>public static final int <B>kWritePermission</B></PRE><DL><DD>Permission flags used to test security accessibility of a file path</DL><HR><A NAME="kDeletePermission"><!-- --></A><H3>kDeletePermission</H3><PRE>public static final int <B>kDeletePermission</B></PRE><DL><DD>Permission flags used to test security accessibility of a file path</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="QTFile(java.lang.String)"><!-- --></A><H3>QTFile</H3><PRE>public <B>QTFile</B>(java.lang.String&nbsp;pathName)</PRE><DL><DD>Used to return a QTFile object from a full path specification<DD><DL><DT><B>Parameters:</B><DD><CODE>pathName</CODE> - the full path name of the file</DL></DD></DL><HR><A NAME="QTFile(java.io.File)"><!-- --></A><H3>QTFile</H3><PRE>public <B>QTFile</B>(java.io.File&nbsp;file)</PRE><DL><DD>Used to return a QTFile object from a Java file object.<DD><DL><DT><B>Parameters:</B><DD><CODE>file</CODE> - a java File object</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="fromGraphicsImporter(quicktime.std.image.GraphicsImporter)"><!-- --></A><H3>fromGraphicsImporter</H3><PRE>public static <A HREF="../../quicktime/io/QTFile.html">QTFile</A> <B>fromGraphicsImporter</B>(<A HREF="../../quicktime/std/image/GraphicsImporter.html">GraphicsImporter</A>&nbsp;g)                                   throws <A HREF="../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Determines the file that the graphics resides in.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refImporter.23.htm#21923">QuickTime::GraphicsImportGetDataFile</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>The file that contains the graphics data.<DT><B>See Also: </B><DD><A HREF="../../quicktime/std/image/GraphicsImporter.html#getDataFile()"><CODE>GraphicsImporter.getDataFile()</CODE></A></DL></DD></DL><HR><A NAME="fromGraphicsImporter(quicktime.std.image.GraphicsImporter, quicktime.io.QTFile, java.lang.String)"><!-- --></A><H3>fromGraphicsImporter</H3><PRE>public static <A HREF="../../quicktime/std/image/GraphicsImporterInfo.html">GraphicsImporterInfo</A> <B>fromGraphicsImporter</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)                                                 throws <A HREF="../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Presents a dialog box letting the user save an image in a foreign file format.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refImporter.21.htm#11734">QuickTime::GraphicsImportDoExportImageFileDialog</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>inDefaultSpec</CODE> - suggests the default name for the file. If you do not want to suggest a default name, pass null.<DD><CODE>prompt</CODE> - A prompt that appears in the standard put dialog box; it may be nil, in which case a default string is used.<DT><B>See Also: </B><DD><A HREF="../../quicktime/std/image/GraphicsImporter.html#doExportImageFileDialog(quicktime.io.QTFile, java.lang.String)"><CODE>GraphicsImporter.doExportImageFileDialog(quicktime.io.QTFile, java.lang.String)</CODE></A></DL></DD></DL><HR><A NAME="fromGraphicsExporterInput(quicktime.std.image.GraphicsExporter)"><!-- --></A><H3>fromGraphicsExporterInput</H3><PRE>public static <A HREF="../../quicktime/io/QTFile.html">QTFile</A> <B>fromGraphicsExporterInput</B>(<A HREF="../../quicktime/std/image/GraphicsExporter.html">GraphicsExporter</A>&nbsp;g)                                        throws <A HREF="../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Determines the file that is the source of input images to the Graphics exporter.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refExporter.22.htm#40937">QuickTime::GraphicsExportGetInputFile</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>The QTFile object<DT><B>See Also: </B><DD><A HREF="../../quicktime/std/image/GraphicsExporter.html#getInputFile()"><CODE>GraphicsExporter.getInputFile()</CODE></A></DL></DD></DL><HR><A NAME="fromGraphicsExporterOutput(quicktime.std.image.GraphicsExporter)"><!-- --></A><H3>fromGraphicsExporterOutput</H3><PRE>public static <A HREF="../../quicktime/io/QTFile.html">QTFile</A> <B>fromGraphicsExporterOutput</B>(<A HREF="../../quicktime/std/image/GraphicsExporter.html">GraphicsExporter</A>&nbsp;g)                                         throws <A HREF="../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Determines the file that is the destination of Output images to the Graphics exporter.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refExporter.26.htm#11668">QuickTime::GraphicsExportGetOutputFile</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>The QTFile object<DT><B>See Also: </B><DD><A HREF="../../quicktime/std/image/GraphicsExporter.html#getOutputFile()"><CODE>GraphicsExporter.getOutputFile()</CODE></A></DL></DD></DL><HR><A NAME="fromSequenceGrabber(quicktime.std.sg.SequenceGrabber)"><!-- --></A><H3>fromSequenceGrabber</H3><PRE>public static <A HREF="../../quicktime/io/QTFile.html">QTFile</A> <B>fromSequenceGrabber</B>(<A HREF="../../quicktime/std/sg/SequenceGrabber.html">SequenceGrabber</A>&nbsp;s)                                  throws <A HREF="../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Allows you to determine the movie file that is currently assigned to a sequence grabber component.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imSeqGrabComp.b.htm#imSeqG206">QuickTime::SGGetDataOutput</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>The QTFile movie file.<DT><B>See Also: </B><DD><A HREF="../../quicktime/std/sg/SequenceGrabber.html#getDataOutputFile()"><CODE>SequenceGrabber.getDataOutputFile()</CODE></A></DL></DD></DL><HR><A NAME="fromSynthesizerConnections(quicktime.std.music.SynthesizerConnections)"><!-- --></A><H3>fromSynthesizerConnections</H3><PRE>public static <A HREF="../../quicktime/io/QTFile.html">QTFile</A> <B>fromSynthesizerConnections</B>(<A HREF="../../quicktime/std/music/SynthesizerConnections.html">SynthesizerConnections</A>&nbsp;conns)                                         throws <A HREF="../../quicktime/QTException.html">QTException</A></PRE><DL><DD>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<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>conns</CODE> - the Synthesiser connections<DT><B>Returns:</B><DD>a QTFile</DL></DD></DL><HR><A NAME="checkSecurity(java.lang.String, int)"><!-- --></A><H3>

⌨️ 快捷键说明

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