stringhandle.html
来自「这个是java的quicktime for java 的详细使用文档」· HTML 代码 · 共 417 行 · 第 1/2 页
HTML
417 行
<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 =========== --><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="kCStringFormat"><!-- --></A><H3>kCStringFormat</H3><PRE>public static final int <B>kCStringFormat</B></PRE><DL></DL><HR><A NAME="kPStringFormat"><!-- --></A><H3>kPStringFormat</H3><PRE>public static final int <B>kPStringFormat</B></PRE><DL></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="StringHandle(java.lang.String, int)"><!-- --></A><H3>StringHandle</H3><PRE>public <B>StringHandle</B>(java.lang.String str, int format) throws <A HREF="../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Construct a handle from a java String. The string will only be stored as 7bit ASCII values - the full unicode specification of the Java String is lost in this conversion. You must supply information about how this String is to be formatted.<DD><DL><DT><B>Parameters:</B><DD><CODE>str</CODE> - the Java string to store in the handle<DD><CODE>format</CODE> - if kCStringFormat the string is formatted as a C string with a '\0' termination if kPStringFormat then the string is formatted as a PString with a count byte inserted at the start.</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="fromCodecName(quicktime.std.image.CodecName)"><!-- --></A><H3>fromCodecName</H3><PRE>public static <A HREF="../../quicktime/util/StringHandle.html">StringHandle</A> <B>fromCodecName</B>(<A HREF="../../quicktime/std/image/CodecName.html">CodecName</A> cn)</PRE><DL><DD>Get the name of the compressor component.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the name.<DT><B>See Also: </B><DD><A HREF="../../quicktime/std/image/CodecName.html#getName()"><CODE>CodecName.getName()</CODE></A></DL></DD></DL><HR><A NAME="getStringLength()"><!-- --></A><H3>getStringLength</H3><PRE>public int <B>getStringLength</B>()</PRE><DL><DD>Returns the length of the String that is stored in the StringHandle.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the number of characters in this String</DL></DD></DL><HR><A NAME="getFormat()"><!-- --></A><H3>getFormat</H3><PRE>public int <B>getFormat</B>()</PRE><DL><DD>Returns true if the string stored in the handle is a C String, or false if it is a PString<DD><DL></DL></DD></DL><HR><A NAME="toJavaString()"><!-- --></A><H3>toJavaString</H3><PRE>public java.lang.String <B>toJavaString</B>() throws <A HREF="../../quicktime/util/UtilException.html">UtilException</A></PRE><DL><DD>Returns the String found in the Handle as a java.lang.String<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>java.lang.String representation</DL></DD></DL><HR><A NAME="fromJavaString(java.lang.String)"><!-- --></A><H3>fromJavaString</H3><PRE>public void <B>fromJavaString</B>(java.lang.String str) throws <A HREF="../../quicktime/util/UtilException.html">UtilException</A></PRE><DL><DD>Sets the String found in the handle to the java.lang.String characters. This will NOT grow the handle so that handle must be big enough to hold the new string<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>str</CODE> - the characters that the StringHandle will be set to</DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD>Returns the String found in the Handle as a java.lang.String<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../quicktime/util/QTHandleRef.html#toString()">toString</A></CODE> in class <CODE><A HREF="../../quicktime/util/QTHandleRef.html">QTHandleRef</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>java.lang.String representation</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/StringHandle.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/util/RawEncodedImage.html"><B>PREV CLASS</B></A> NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="StringHandle.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <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 + =
减小字号Ctrl + -
显示快捷键?