📄 string.html
字号:
<BR>
Constructs an <code>ArrayIndexOutOfBoundsException</code> class with the specified detail message.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../java/lang/String.html#String(java.lang.String)">String</A></B>(<A HREF="../../../java/lang/String.html">String</A> value)</CODE>
<BR>
Initializes a newly created <code>String</code> object so that it represents the same sequence of characters as the argument; in other words, the newly created string is a copy of the argument string.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../java/lang/String.html#String(byte[], int, int, java.lang.String)">String</A></B>(byte[] bytes, int off, int len, <A HREF="../../../java/lang/String.html">String</A> enc)</CODE>
<BR>
Construct a new <code>String</code> by converting the specified subarray of bytes using the specified character encoding.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../java/lang/String.html#String(byte[], java.lang.String)">String</A></B>(byte[] bytes, <A HREF="../../../java/lang/String.html">String</A> enc)</CODE>
<BR>
Construct a new <code>String</code> by converting the specified array of bytes using the specified character encoding.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../java/lang/ClassNotFoundException.html#ClassNotFoundException(java.lang.String)">ClassNotFoundException</A></B>(<A HREF="../../../java/lang/String.html">String</A> s)</CODE>
<BR>
Constructs a <code>ClassNotFoundException</code> with the specified detail message.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../java/lang/IllegalAccessException.html#IllegalAccessException(java.lang.String)">IllegalAccessException</A></B>(<A HREF="../../../java/lang/String.html">String</A> s)</CODE>
<BR>
Constructs an <code>IllegalAccessException</code> with a detail message.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../java/lang/StringBuffer.html#StringBuffer(java.lang.String)">StringBuffer</A></B>(<A HREF="../../../java/lang/String.html">String</A> str)</CODE>
<BR>
Constructs a string buffer so that it represents the same sequence of characters as the string argument; in other words, the initial contents of the string buffer is a copy of the argument string.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../java/lang/ClassCastException.html#ClassCastException(java.lang.String)">ClassCastException</A></B>(<A HREF="../../../java/lang/String.html">String</A> s)</CODE>
<BR>
Constructs a <code>ClassCastException</code> with the specified detail message.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../java/lang/ArrayStoreException.html#ArrayStoreException(java.lang.String)">ArrayStoreException</A></B>(<A HREF="../../../java/lang/String.html">String</A> s)</CODE>
<BR>
Constructs an <code>ArrayStoreException</code> with the specified detail message.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../java/lang/StringIndexOutOfBoundsException.html#StringIndexOutOfBoundsException(java.lang.String)">StringIndexOutOfBoundsException</A></B>(<A HREF="../../../java/lang/String.html">String</A> s)</CODE>
<BR>
Constructs a <code>StringIndexOutOfBoundsException</code> with the specified detail message.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../java/lang/NullPointerException.html#NullPointerException(java.lang.String)">NullPointerException</A></B>(<A HREF="../../../java/lang/String.html">String</A> s)</CODE>
<BR>
Constructs a <code>NullPointerException</code> with the specified detail message.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../java/lang/IllegalMonitorStateException.html#IllegalMonitorStateException(java.lang.String)">IllegalMonitorStateException</A></B>(<A HREF="../../../java/lang/String.html">String</A> s)</CODE>
<BR>
Constructs an <code>IllegalMonitorStateException</code> with the specified detail message.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../java/lang/ArithmeticException.html#ArithmeticException(java.lang.String)">ArithmeticException</A></B>(<A HREF="../../../java/lang/String.html">String</A> s)</CODE>
<BR>
Constructs an <code>ArithmeticException</code> with the specified detail message.</TD>
</TR>
</TABLE>
<P>
<A NAME="java.util"><!-- --></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="../../../java/lang/String.html">String</A> in <A HREF="../../../java/util/package-summary.html">java.util</A></FONT></TD>
</TR>
</TABLE>
<P>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
<TD COLSPAN=2>Methods in <A HREF="../../../java/util/package-summary.html">java.util</A> that return <A HREF="../../../java/lang/String.html">String</A></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../java/lang/String.html">String</A></CODE></FONT></TD>
<TD><CODE><B>Hashtable.</B><B><A HREF="../../../java/util/Hashtable.html#toString()">toString</A></B>()</CODE>
<BR>
Returns a rather long string representation of this hashtable.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../java/lang/String.html">String</A></CODE></FONT></TD>
<TD><CODE><B>Vector.</B><B><A HREF="../../../java/util/Vector.html#toString()">toString</A></B>()</CODE>
<BR>
Returns a string representation of this vector.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../java/lang/String.html">String</A></CODE></FONT></TD>
<TD><CODE><B>TimeZone.</B><B><A HREF="../../../java/util/TimeZone.html#getID()">getID</A></B>()</CODE>
<BR>
Gets the ID of this time zone.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static <A HREF="../../../java/lang/String.html">String</A>[]</CODE></FONT></TD>
<TD><CODE><B>TimeZone.</B><B><A HREF="../../../java/util/TimeZone.html#getAvailableIDs()">getAvailableIDs</A></B>()</CODE>
<BR>
Gets all the available IDs supported.</TD>
</TR>
</TABLE>
<P>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
<TD COLSPAN=2>Methods in <A HREF="../../../java/util/package-summary.html">java.util</A> with parameters of type <A HREF="../../../java/lang/String.html">String</A></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static <A HREF="../../../java/util/TimeZone.html">TimeZone</A></CODE></FONT></TD>
<TD><CODE><B>TimeZone.</B><B><A HREF="../../../java/util/TimeZone.html#getTimeZone(java.lang.String)">getTimeZone</A></B>(<A HREF="../../../java/lang/String.html">String</A> ID)</CODE>
<BR>
Gets the <code>TimeZone</code> for the given ID.</TD>
</TR>
</TABLE>
<P>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
<TD COLSPAN=2>Constructors in <A HREF="../../../java/util/package-summary.html">java.util</A> with parameters of type <A HREF="../../../java/lang/String.html">String</A></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../java/util/NoSuchElementException.html#NoSuchElementException(java.lang.String)">NoSuchElementException</A></B>(<A HREF="../../../java/lang/String.html">String</A> s)</CODE>
<BR>
Constructs a <code>NoSuchElementException</code>, saving a reference to the error message string <tt>s</tt> for later retrieval by the <tt>getMessage</tt> method.</TD>
</TR>
</TABLE>
<P>
<A NAME="javax.microedition.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="../../../java/lang/String.html">String</A> in <A HREF="../../../javax/microedition/io/package-summary.html">javax.microedition.io</A></FONT></TD>
</TR>
</TABLE>
<P>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
<TD COLSPAN=2>Fields in <A HREF="../../../javax/microedition/io/package-summary.html">javax.microedition.io</A> declared as <A HREF="../../../java/lang/String.html">String</A></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static <A HREF="../../../java/lang/String.html">String</A></CODE></FONT></TD>
<TD><CODE><B>HttpConnection.</B><B><A HREF="../../../javax/microedition/io/HttpConnection.html#HEAD">HEAD</A></B></CODE>
<BR>
HTTP Head method.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static <A HREF="../../../java/lang/String.html">String</A></CODE></FONT></TD>
<TD><CODE><B>HttpConnection.</B><B><A HREF="../../../javax/microedition/io/HttpConnection.html#GET">GET</A></B></CODE>
<BR>
HTTP Get method.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static <A HREF="../../../java/lang/String.html">String</A></CODE></FONT></TD>
<TD><CODE><B>HttpConnection.</B><B><A HREF="../../../javax/microedition/io/HttpConnection.html#POST">POST</A></B></CODE>
<BR>
HTTP Post method.</TD>
</TR>
</TABLE>
<P>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
<TD COLSPAN=2>Methods in <A HREF="../../../javax/microedition/io/package-summary.html">javax.microedition.io</A> that return <A HREF="../../../java/lang/String.html">String</A></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../java/lang/String.html">String</A></CODE></FONT></TD>
<TD><CODE><B>SecurityInfo.</B><B><A HREF="../../../javax/microedition/io/SecurityInfo.html#getProtocolVersion()">getProtocolVersion</A></B>()</CODE>
<BR>
Returns the protocol version.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../java/lang/String.html">String</A></CODE></FONT></TD>
<TD><CODE><B>SecurityInfo.</B><B><A HREF="../../../javax/microedition/io/SecurityInfo.html#getProtocolName()">getProtocolName</A></B>()</CODE>
<BR>
Returns the secure protocol name.</TD>
</TR>
<TR
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -