|
Raw Input and Output in Java
An Introduction |
|
Prof. David Bernstein
|
| Computer Science Department |
| bernstdh@jmu.edu |
OutputStream Class
write() Methods:
byte or array of bytes
close()
flush()
InputStream Class
read Methods:
byte or array of bytes
available()
skip()
DataInputStream Class
readLine() Method:
String
String in a Stream