|
|
|
|
|
Used
in concert with
DataInputStream
so you can write primitives (int, char, long, etc.) to a stream in a portable
fashion.
|
|
Contains
full interface to allow you to write primitive types.
|
|
For
producing formatted output. While
DataOutputStream
handles the
storage
of data,
PrintStream
handles
display.
|
OutputStream,
with optional boolean indicating that the buffer is flushed with every newline.
|
Should
be the “final” wrapping for your
OutputStream
object. You’ll probably use this a lot.
|
|
Use
this to prevent a physical write every time you send a piece of data.
You’re saying “Use a buffer.” You can call
flush( )
to flush the buffer.
|
OutputStream,
with optional buffer size.
|
This
doesn’t provide an interface
per
se
,
just a requirement that a buffer is used. Attach an interface object.
|