Closes this output stream and releases any system resources
associated with the stream.
Closes this output stream and releases any system resources
associated with the stream.
The close method of FilterOutputStream
calls its flush method, and then calls the
close method of its underlying output stream.
Throws: - IOException - if an I/O error occurs.
See Also:FilterOutputStream.flush(),
FilterOutputStream.out,
Flushes this output stream and forces any buffered output bytes
to be written out to the stream.
Flushes this output stream and forces any buffered output bytes
to be written out to the stream.
The flush method of FilterOutputStream
calls the flush method of its underlying output stream.
Throws: - IOException - if an I/O error occurs.
See Also:FilterOutputStream.out,
The write method of FilterOutputStream
calls its write method of three arguments with the
arguments b, 0, and
b.length.
Note that this method does not call the one-argument
write method of its underlying stream with the single
argument b.
Parameters: - b - the data to be written.
Throws: - IOException - if an I/O error occurs.
See Also:FilterOutputStream.write(byte[], int, int),
Writes an array of bytes. Will block until the bytes are actually written.
Parameters: - b - the data to be written
- off - the start offset of the data
- len - the number of bytes to be written
Throws: - IOException - if an I/O error has occurred
Writes a byte. Will block until the byte is actually written.
Parameters: - b - the byte to be written
Throws: - IOException - if an I/O error has occurred