Name: skT88420 Date: 10/05/99
I have a situation where I am passing an OutputStream wrapped
by an OutputStreamWriter to a method that requires a Writer.
Because the stream I am passing to the method is buffered
(OutputStreamWriter is buffered), I must call flush() on the
stream when the method returns. This completely flushes the
stream which is not what I desire, I just want the buffer in
OutputStreamWriter to be empty. Interestingly enough, there
is a package accessible flushBuffer() method which is used for
the purpose I have described by sun inside PrintStream. To do
what I ask for, all you would have to do is make flushBuffer()
public!
(Review ID: 96168)
======================================================================