📄 ioexception.html
字号:
<BR>
Read a single character.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B>InputStreamReader.</B><B><A HREF="../../../java/io/InputStreamReader.html#read(char[], int, int)">read</A></B>(char[] cbuf, int off, int len)</CODE>
<BR>
Read characters into a portion of an array.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> long</CODE></FONT></TD>
<TD><CODE><B>InputStreamReader.</B><B><A HREF="../../../java/io/InputStreamReader.html#skip(long)">skip</A></B>(long n)</CODE>
<BR>
Skip characters.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B>InputStreamReader.</B><B><A HREF="../../../java/io/InputStreamReader.html#ready()">ready</A></B>()</CODE>
<BR>
Tell whether this stream is ready to be read.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B>InputStreamReader.</B><B><A HREF="../../../java/io/InputStreamReader.html#mark(int)">mark</A></B>(int readAheadLimit)</CODE>
<BR>
Mark the present position in the stream.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B>InputStreamReader.</B><B><A HREF="../../../java/io/InputStreamReader.html#reset()">reset</A></B>()</CODE>
<BR>
Reset the stream.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B>InputStreamReader.</B><B><A HREF="../../../java/io/InputStreamReader.html#close()">close</A></B>()</CODE>
<BR>
Close the stream.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B>OutputStreamWriter.</B><B><A HREF="../../../java/io/OutputStreamWriter.html#write(int)">write</A></B>(int c)</CODE>
<BR>
Write a single character.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B>OutputStreamWriter.</B><B><A HREF="../../../java/io/OutputStreamWriter.html#write(char[], int, int)">write</A></B>(char[] cbuf, int off, int len)</CODE>
<BR>
Write a portion of an array of characters.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B>OutputStreamWriter.</B><B><A HREF="../../../java/io/OutputStreamWriter.html#write(java.lang.String, int, int)">write</A></B>(<A HREF="../../../java/lang/String.html">String</A> str, int off, int len)</CODE>
<BR>
Write a portion of a string.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B>OutputStreamWriter.</B><B><A HREF="../../../java/io/OutputStreamWriter.html#flush()">flush</A></B>()</CODE>
<BR>
Flush the stream.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B>OutputStreamWriter.</B><B><A HREF="../../../java/io/OutputStreamWriter.html#close()">close</A></B>()</CODE>
<BR>
Close the stream.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B>ByteArrayInputStream.</B><B><A HREF="../../../java/io/ByteArrayInputStream.html#close()">close</A></B>()</CODE>
<BR>
Closes this input stream and releases any system resources associated with the stream.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B>DataOutput.</B><B><A HREF="../../../java/io/DataOutput.html#write(int)">write</A></B>(int b)</CODE>
<BR>
Writes to the output stream the eight low-order bits of the argument <code>b</code>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B>DataOutput.</B><B><A HREF="../../../java/io/DataOutput.html#write(byte[])">write</A></B>(byte[] b)</CODE>
<BR>
Writes to the output stream all the bytes in array <code>b</code>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B>DataOutput.</B><B><A HREF="../../../java/io/DataOutput.html#write(byte[], int, int)">write</A></B>(byte[] b, int off, int len)</CODE>
<BR>
Writes <code>len</code> bytes from array <code>b</code>, in order, to the output stream.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B>DataOutput.</B><B><A HREF="../../../java/io/DataOutput.html#writeBoolean(boolean)">writeBoolean</A></B>(boolean v)</CODE>
<BR>
Writes a <code>boolean</code> value to this output stream.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B>DataOutput.</B><B><A HREF="../../../java/io/DataOutput.html#writeByte(int)">writeByte</A></B>(int v)</CODE>
<BR>
Writes to the output stream the eight low- order bits of the argument <code>v</code>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B>DataOutput.</B><B><A HREF="../../../java/io/DataOutput.html#writeShort(int)">writeShort</A></B>(int v)</CODE>
<BR>
Writes two bytes to the output stream to represent the value of the argument.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B>DataOutput.</B><B><A HREF="../../../java/io/DataOutput.html#writeChar(int)">writeChar</A></B>(int v)</CODE>
<BR>
Writes a <code>char</code> value, which is comprised of two bytes, to the output stream.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B>DataOutput.</B><B><A HREF="../../../java/io/DataOutput.html#writeInt(int)">writeInt</A></B>(int v)</CODE>
<BR>
Writes an <code>int</code> value, which is comprised of four bytes, to the output stream.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B>DataOutput.</B><B><A HREF="../../../java/io/DataOutput.html#writeLong(long)">writeLong</A></B>(long v)</CODE>
<BR>
Writes an <code>long</code> value, which is comprised of four bytes, to the output stream.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B>DataOutput.</B><B><A HREF="../../../java/io/DataOutput.html#writeChars(java.lang.String)">writeChars</A></B>(<A HREF="../../../java/lang/String.html">String</A> s)</CODE>
<BR>
Writes every character in the string <code>s</code>, to the output stream, in order, two bytes per character.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B>DataOutput.</B><B><A HREF="../../../java/io/DataOutput.html#writeUTF(java.lang.String)">writeUTF</A></B>(<A HREF="../../../java/lang/String.html">String</A> str)</CODE>
<BR>
Writes two bytes of length information to the output stream, followed by the Java modified UTF representation of every character in the string <code>s</code>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B>ByteArrayOutputStream.</B><B><A HREF="../../../java/io/ByteArrayOutputStream.html#close()">close</A></B>()</CODE>
<BR>
Closes this output stream and releases any system resources associated with this stream.</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/io/IOException.html">IOException</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>Subclasses of <A HREF="../../../java/io/IOException.html">IOException</A> in <A HREF="../../../javax/microedition/io/package-summary.html">javax.microedition.io</A></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/microedition/io/ConnectionNotFoundException.html">ConnectionNotFoundException</A></B></CODE>
<BR>
This class is used to signal that a connection target cannot be found.</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 throw <A HREF="../../../java/io/IOException.html">IOException</A></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../javax/microedition/io/StreamConnection.html">StreamConnection</A></CODE></FONT></TD>
<TD><CODE><B>StreamConnectionNotifier.</B><B><A HREF="../../../javax/microedition/io/StreamConnectionNotifier.html#acceptAndOpen()">acceptAndOpen</A></B>()</CODE>
<BR>
Returns a <code>StreamConnection</code> that represents a server side socket connection.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -