Lines Matching refs:read
23 * time {@code '\r'}, {@code '\n'} or {@code "\r\n"} is read. The class has an
75 * indicates how many characters can be read before the mark is invalidated.
82 * the number of characters that can be read from this stream
108 * @return the character read or -1 if the end of the source reader has been
115 public int read() throws IOException {
117 int ch = super.read();
119 ch = super.read();
137 * Returns the number of characters actually read or -1 if no characters
138 * have been read and the end of this reader has been reached.
145 * the array in which to store the characters read.
148 * read from this reader.
151 * @return the number of characters actually read or -1 if the end of the
157 public int read(char[] buffer, int offset, int count) throws IOException {
159 int read = super.read(buffer, offset, count);
160 if (read == -1) {
163 for (int i = 0; i < read; i++) {
177 return read;
188 * been read before the end of the stream has been reached.
215 * bytes have been read since setting the mark.
246 * {@code read()}'s will not return these characters unless {@code reset()}
259 * @see #read()
269 if (read() == -1) {