have a public flushBuffer() for buffered output streams/writers

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Won't Fix
    • Priority: P4
    • None
    • Affects Version/s: 1.1.8
    • Component/s: core-libs
    • generic
    • generic



      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)
      ======================================================================

            Assignee:
            Stuart Marks
            Reporter:
            Sandeep Konchady
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: