Methods Summary |
---|
public void | close()Closes the target stream. Implementations of this method should free any
resources used by the stream.
|
public void | flush()Flushes the target stream. Implementations of this method should ensure
that any pending writes are written out to the target stream.
|
public void | write(byte[] buffer)Writes the entire contents of the byte array {@code buffer} to the output
stream. Blocks until all bytes are written.
|
public void | write(byte[] buffer, int offset, int count)Writes {@code count} bytes from the byte array {@code buffer} starting at
position {@code offset} to the target stream. Blocks until all bytes are
written.
|
public void | write(int value)Writes a single byte to the target stream. Only the least significant
byte of the integer {@code value} is written to the stream. Blocks until
the byte is actually written.
|
public void | writeObject(java.lang.Object obj)Writes the specified object {@code obj} to the target stream.
|