Raw Input and Output in Java
An Introduction |
Prof. David Bernstein
|
Computer Science Department |
bernstdh@jmu.edu |
OutputStream
Classwrite()
Methods:
byte
or array of bytes
close()
flush()
PrintStream
ClassInputStream
Classread
Methods:
byte
or array of bytes
available()
skip()
DataInputStream
ClassreadLine()
Method:
String
A Driver for the Googler
A Better Driver for the Googler
String
in a Stream