Method read()
Return type: int
Member of: java.io.BufferedReader
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 return (char)in.read();
2 return (char)in.read();
3 buffer.append((char)reader.read());
4 while ((ch = this.br.read()) != -1 &&
5 while ((chr = bufReader.read() ) != -1) {
6 while ((chr = reader.read() ) != -1)
7 char c = (char) this.br.read();
8 for (int i = fastReader.read (); i >= 0; i = fastReader.read ()) {
9 while((i = reader.read()) != -1) {
10 while (reader.read() != '\n') {}
11 while ((c = br.read()) != -1)
12 writer.write(reader.read());
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.