📄 ioexception.html
字号:
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B>DataInputStream.</B><B><A HREF="../../../java/io/DataInputStream.html#readBoolean()">readBoolean</A></B>()</CODE>
<BR>
See the general contract of the <code>readBoolean</code> method of <code>DataInput</code>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> byte</CODE></FONT></TD>
<TD><CODE><B>DataInputStream.</B><B><A HREF="../../../java/io/DataInputStream.html#readByte()">readByte</A></B>()</CODE>
<BR>
See the general contract of the <code>readByte</code> method of <code>DataInput</code>.</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>DataInputStream.</B><B><A HREF="../../../java/io/DataInputStream.html#readUnsignedByte()">readUnsignedByte</A></B>()</CODE>
<BR>
See the general contract of the <code>readUnsignedByte</code> method of <code>DataInput</code>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> short</CODE></FONT></TD>
<TD><CODE><B>DataInputStream.</B><B><A HREF="../../../java/io/DataInputStream.html#readShort()">readShort</A></B>()</CODE>
<BR>
See the general contract of the <code>readShort</code> method of <code>DataInput</code>.</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>DataInputStream.</B><B><A HREF="../../../java/io/DataInputStream.html#readUnsignedShort()">readUnsignedShort</A></B>()</CODE>
<BR>
See the general contract of the <code>readUnsignedShort</code> method of <code>DataInput</code>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> char</CODE></FONT></TD>
<TD><CODE><B>DataInputStream.</B><B><A HREF="../../../java/io/DataInputStream.html#readChar()">readChar</A></B>()</CODE>
<BR>
See the general contract of the <code>readChar</code> method of <code>DataInput</code>.</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>DataInputStream.</B><B><A HREF="../../../java/io/DataInputStream.html#readInt()">readInt</A></B>()</CODE>
<BR>
See the general contract of the <code>readInt</code> method of <code>DataInput</code>.</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>DataInputStream.</B><B><A HREF="../../../java/io/DataInputStream.html#readLong()">readLong</A></B>()</CODE>
<BR>
See the general contract of the <code>readLong</code> method of <code>DataInput</code>.</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>DataInputStream.</B><B><A HREF="../../../java/io/DataInputStream.html#readUTF()">readUTF</A></B>()</CODE>
<BR>
See the general contract of the <code>readUTF</code> method of <code>DataInput</code>.</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>DataInputStream.</B><B><A HREF="../../../java/io/DataInputStream.html#readUTF(java.io.DataInput)">readUTF</A></B>(<A HREF="../../../java/io/DataInput.html">DataInput</A> in)</CODE>
<BR>
Reads from the stream <code>in</code> a representation of a Unicode character string encoded in Java modified UTF-8 format; this string of characters is then returned as a <code>String</code>.</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>DataInputStream.</B><B><A HREF="../../../java/io/DataInputStream.html#skip(long)">skip</A></B>(long n)</CODE>
<BR>
Skips over and discards <code>n</code> bytes of data from the input stream.</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>DataInputStream.</B><B><A HREF="../../../java/io/DataInputStream.html#available()">available</A></B>()</CODE>
<BR>
Returns the number of bytes that can be read from this input stream without blocking.</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>DataInputStream.</B><B><A HREF="../../../java/io/DataInputStream.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>DataInputStream.</B><B><A HREF="../../../java/io/DataInputStream.html#reset()">reset</A></B>()</CODE>
<BR>
Repositions this stream to the position at the time the <code>mark</code> method was last called on this input stream.</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>Reader.</B><B><A HREF="../../../java/io/Reader.html#read()">read</A></B>()</CODE>
<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>Reader.</B><B><A HREF="../../../java/io/Reader.html#read(char[])">read</A></B>(char[] cbuf)</CODE>
<BR>
Read characters into an array.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract int</CODE></FONT></TD>
<TD><CODE><B>Reader.</B><B><A HREF="../../../java/io/Reader.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>Reader.</B><B><A HREF="../../../java/io/Reader.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>Reader.</B><B><A HREF="../../../java/io/Reader.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>Reader.</B><B><A HREF="../../../java/io/Reader.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>Reader.</B><B><A HREF="../../../java/io/Reader.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>abstract void</CODE></FONT></TD>
<TD><CODE><B>Reader.</B><B><A HREF="../../../java/io/Reader.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>Writer.</B><B><A HREF="../../../java/io/Writer.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>Writer.</B><B><A HREF="../../../java/io/Writer.html#write(char[])">write</A></B>(char[] cbuf)</CODE>
<BR>
Write an array of characters.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract void</CODE></FONT></TD>
<TD><CODE><B>Writer.</B><B><A HREF="../../../java/io/Writer.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>Writer.</B><B><A HREF="../../../java/io/Writer.html#write(java.lang.String)">write</A></B>(<A HREF="../../../java/lang/String.html">String</A> str)</CODE>
<BR>
Write 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>Writer.</B><B><A HREF="../../../java/io/Writer.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>abstract void</CODE></FONT></TD>
<TD><CODE><B>Writer.</B><B><A HREF="../../../java/io/Writer.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>abstract void</CODE></FONT></TD>
<TD><CODE><B>Writer.</B><B><A HREF="../../../java/io/Writer.html#close()">close</A></B>()</CODE>
<BR>
Close the stream, flushing it first.</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>DataInput.</B><B><A HREF="../../../java/io/DataInput.html#readFully(byte[])">readFully</A></B>(byte[] b)</CODE>
<BR>
Reads some bytes from an input stream and stores them into the buffer array <code>b</code>.</TD>
</TR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -