📄 atomdata.html
字号:
<P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ 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="fromVectorStream(quicktime.std.image.Curve, quicktime.std.image.VectorStream, int)"><!-- --></A><H3>fromVectorStream</H3><PRE>public static <A HREF="../../../quicktime/std/movies/AtomData.html">AtomData</A> <B>fromVectorStream</B>(<A HREF="../../../quicktime/std/image/Curve.html">Curve</A> c, <A HREF="../../../quicktime/std/image/VectorStream.html">VectorStream</A> vectorStream, int atomType) throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method is used to find the first atom of a specified type within a vector data stream and get its data. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refVectors.56.htm#refVec116">QuickTime::CurveGetAtomDataFromVectorStream</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>vectorStream</CODE> - Contains a handle to the vector data stream from which to get the atom.<DD><CODE>atomType</CODE> - Specifies the type of atom to find.<DT><B>Returns:</B><DD>the atom's data.</DL></DD></DL><HR><A NAME="getByte(int)"><!-- --></A><H3>getByte</H3><PRE>public byte <B>getByte</B>(int offset) throws java.lang.IndexOutOfBoundsException</PRE><DL><DD>Get the byte value at the given position(offset) within the native object.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>offset</CODE> - the given number of bytes to offset<DT><B>Returns:</B><DD>the byte value at the offset.<DT><B>Throws:</B><DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - is thrown if the offset is larger than the size of the data</DL></DD></DL><HR><A NAME="getShort(int)"><!-- --></A><H3>getShort</H3><PRE>public short <B>getShort</B>(int offset) throws java.lang.IndexOutOfBoundsException</PRE><DL><DD>Get the short value at the given position(offset) within the native object.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>offset</CODE> - the given number of bytes to offset<DT><B>Returns:</B><DD>the short value at the offset.<DT><B>Throws:</B><DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - is thrown if the offset is larger than the size of the data</DL></DD></DL><HR><A NAME="getInt(int)"><!-- --></A><H3>getInt</H3><PRE>public int <B>getInt</B>(int offset) throws java.lang.IndexOutOfBoundsException</PRE><DL><DD>Get the int value at the given position(offset) within the native object.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>offset</CODE> - the given number of bytes to offset<DT><B>Returns:</B><DD>the int value at the offset.<DT><B>Throws:</B><DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - is thrown if the offset is larger than the size of the data</DL></DD></DL><HR><A NAME="getLong(int)"><!-- --></A><H3>getLong</H3><PRE>public long <B>getLong</B>(int offset) throws java.lang.IndexOutOfBoundsException</PRE><DL><DD>Get the long value at the given position(offset) within the native object.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>offset</CODE> - the given number of bytes to offset<DT><B>Returns:</B><DD>the long value at the offset.<DT><B>Throws:</B><DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - is thrown if the offset is larger than the size of the data</DL></DD></DL><HR><A NAME="getFloat(int)"><!-- --></A><H3>getFloat</H3><PRE>public float <B>getFloat</B>(int offset) throws java.lang.IndexOutOfBoundsException</PRE><DL><DD>Get the float value at the given position(offset) within the native object.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>offset</CODE> - the given number of bytes to offset<DT><B>Returns:</B><DD>the float value at the offset.<DT><B>Throws:</B><DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - is thrown if the offset is larger than the size of the data</DL></DD></DL><HR><A NAME="getDouble(int)"><!-- --></A><H3>getDouble</H3><PRE>public double <B>getDouble</B>(int offset) throws java.lang.IndexOutOfBoundsException</PRE><DL><DD>Get the double value at the given position(offset) within the native object.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>offset</CODE> - the given number of bytes to offset<DT><B>Returns:</B><DD>the double value at the offset.<DT><B>Throws:</B><DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - is thrown if the offset is larger than the size of the data</DL></DD></DL><HR><A NAME="getCString(int)"><!-- --></A><H3>getCString</H3><PRE>public java.lang.String <B>getCString</B>(int offset) throws <A HREF="../../../quicktime/util/UtilException.html">UtilException</A>, java.lang.IndexOutOfBoundsException</PRE><DL><DD>Returns the C string found at the offset as a java.lang.String<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>offset</CODE> - the given number of bytes to offset<DT><B>Returns:</B><DD>java.lang.String representation<DT><B>Throws:</B><DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - is thrown if the offset is larger than the size of the data</DL></DD></DL><HR><A NAME="getPString(int)"><!-- --></A><H3>getPString</H3><PRE>public java.lang.String <B>getPString</B>(int offset) throws <A HREF="../../../quicktime/util/UtilException.html">UtilException</A>, java.lang.IndexOutOfBoundsException</PRE><DL><DD>Returns the Pascal string found at the offset as a java.lang.String<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>offset</CODE> - the given number of bytes to offset<DT><B>Returns:</B><DD>java.lang.String representation<DT><B>Throws:</B><DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - is thrown if the offset is larger than the size of the data</DL></DD></DL><HR><A NAME="getBytes(int, int)"><!-- --></A><H3>getBytes</H3><PRE>public byte[] <B>getBytes</B>(int offset, int length) throws java.lang.IndexOutOfBoundsException</PRE><DL><DD>Returns the byte values at the given position(offset) within the object's memory area.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>offset</CODE> - the given number of bytes to locate the struct.<DD><CODE>length</CODE> - the given number of bytes of memory. The maximum length that will be copied is (size - offset) bytes. If zero then this will return all of the available bytes from the offset.<DT><B>Returns:</B><DD>the byte array<DT><B>Throws:</B><DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - is thrown if the offset is larger than the size of the data</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/AtomData.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/AtomContainer.html"><B>PREV CLASS</B></A> <A HREF="../../../quicktime/std/movies/EffectsList.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="AtomData.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <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 + -