Java Training: Input/Output
Filter Streams
InputFilterStream and OutputFilterStream are
base classes for other streams capable to transform or buffering the data.
BufferedInputStream and BufferedOutputStream provide I/O buffering
DataInputStream and DataOutputStream provide reading/writing the
primitive Java datatypes (int, double, ...) as well as text lines and UTF
(byte-encoded Unicode) strings. The data streams read/write these objects
in a binary format and provide portability across platforms.
LineNumberInputStream keeps track of line numbers from which text is read
PushBackInputStream is a regular input stream with one-byte buffer,
that you can push back onto the stream after reading it.
PrintStream implements an output stream that has
additional methods for printing.