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

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

1 int ch = sr.read ();
2 while ((ch = in.read()) != -1) {
3 while ((chr = in.read()) != -1) {
4 buf[i] = (char)(app1reader.read());
5 int c = lineReader.read();
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.