| |
11. 27. 1. 字符读:读案文(字) |
|
- Reader is an abstract class that represents an input stream for reading characters.
- You use the Reader class to read text (characters, i.e. human readable data).
- The two implementation classes of Reader are InputStreamReader and BufferedReader.
|
The Reader class has three read method overloads that are similar to the read methods in InputStream: |
public int read()
public int read (char[] data)
public int read (char[] data, int offset, int length)
public int read(java.nio.CharBuffer target)
|
|
11. 27. 阅读器 | | 11. 27. 1. | 字符读:读案文(字) | | |
|