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

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

1 while ( ( i = in.read ( ) ) > -1 ) out.write ( i );
2 in.read();
3 byte b = (byte)in.read();
4 return (byte)m_input.read();
5 ch = input.read() ;
6 int b1 = is.read();
7 type = in.read();
8 int ch1 = in.read();
9 System.in.read();
10 for(int i=0,b = in.read();i
11 int next = is.read();
12 while (System.in.read() != '\n');
13 buf.append((char)is.read());
14 while ((c = in.read()) != -1) {
15 while ((i = is.read()) != -1)
16 b = refStream.read();
17 if ( (ch = input.read()) == '\n' )
18 while ((ch = in.read()) != -1) {
19 return (byte) in_.read ();
20 b[i] = (byte)is.read();
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.