📄 dataref.html
字号:
<BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.3a.htm#iqMovi862">QuickTime::GetMediaDataRef()</a> </b><BR><BR>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>index</CODE> - Identifies the data reference.<DT><B>Returns:</B><DD>a copy of a specified data reference.<DT><B>See Also: </B><DD><A HREF="../../../../quicktime/std/movies/media/Media.html#getDataRef(int)"><CODE>Media.getDataRef(int)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="fromSGOutput(quicktime.std.sg.SequenceGrabber, quicktime.std.sg.SGOutput)"><!-- --></A><H3>
fromSGOutput</H3>
<PRE>
public static <A HREF="../../../../quicktime/std/movies/media/DataRef.html">DataRef</A> <B>fromSGOutput</B>(<A HREF="../../../../quicktime/std/sg/SequenceGrabber.html">SequenceGrabber</A> sg,
<A HREF="../../../../quicktime/std/sg/SGOutput.html">SGOutput</A> output)
throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE>
<DL>
<BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refSeqGrabComp.d.htm#refSeq409">QuickTime::SGGetOutputDataReference(</a> </b><BR><BR>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>sg</CODE> - the sequence grabber that owns this output<DD><CODE>output</CODE> - the output from which to get the data ref from<DT><B>Returns:</B><DD>the data reference associated with this sequence grabber output.</DL>
</DD>
</DL>
<HR>
<A NAME="getType()"><!-- --></A><H3>
getType</H3>
<PRE>
public int <B>getType</B>()</PRE>
<DL>
<DD>This method returns the data reference type.
<BR><DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the data reference type.</DL>
</DD>
</DL>
<HR>
<A NAME="getAttributes()"><!-- --></A><H3>
getAttributes</H3>
<PRE>
public int <B>getAttributes</B>()</PRE>
<DL>
<DD>This method returns the data reference attributes.
<BR><DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the data reference attributes.</DL>
</DD>
</DL>
<HR>
<A NAME="getUniversalResourceLocator()"><!-- --></A><H3>
getUniversalResourceLocator</H3>
<PRE>
public java.lang.String <B>getUniversalResourceLocator</B>()
throws <A HREF="../../../../quicktime/QTException.html">QTException</A></PRE>
<DL>
<DD>Returns a string representating the location of this object. If the DataRef points
to a File or URL the path will be printed, if not then an empty string is returned.<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="fromMovieAnchor(quicktime.std.movies.Movie)"><!-- --></A><H3>
fromMovieAnchor</H3>
<PRE>
public <A HREF="../../../../quicktime/std/movies/media/DataRef.html">DataRef</A> <B>fromMovieAnchor</B>(<A HREF="../../../../quicktime/std/movies/Movie.html">Movie</A> theMovie)
throws <A HREF="../../../../quicktime/std/StdQTException.html">StdQTException</A></PRE>
<DL>
<DD>To resolve relative data references, a method was needed to determine the original location from which a movie was opened or imported.
This data reference indicates from where the movie was originally opened or imported but still allows the movie's default data reference
to remain nil in the import-in-place case.
<BR>This routine retrieves a movie's anchor data reference.
<BR>If the movie has setAnchorDataRef called on it, the routine will return a copy of the data reference and type.
<BR>If there is no anchor data reference associated with the movie, then this routine will return a copy of the default
data reference and type along with setting the following bit of the long integer referenced through the flags parameter.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>theMovie</CODE> - the movie whose anchor data reference is returned.<DT><B>Returns:</B><DD>movie's anchor data reference.</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 CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="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="class-use/DataRef.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="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="../../../../quicktime/std/movies/media/DataHandler.html"><B>PREV CLASS</B></A>
<A HREF="../../../../quicktime/std/movies/media/FlashDescription.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="DataRef.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>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -