This is an exported version of the JIRA issue tracker. Please use the Google Code site to open new tickets or report updates to these existing tickets. Feel free to contact the mailing list with any questions.

[RRR-16] Writer vs OutputStream
Created: Sun, 3 Oct 2004 09:19:06 -0700 (PDT)  Updated: Thu, 7 Oct 2004 12:54:19 -0700 (PDT)

Status:Closed
Project:ReportRunner
Component/s:Renderers
Affects Version/s:
Fix Version/s:0.2

Type:BugPriority: Major
Reporter:Henri YandellAssignee:Henri Yandell
Resolution:Fixed 
Environment:


 Description   
When rendering, should it be to an OutputStream or to a Writer?

Excel and images will need an OutputStream. Is there any reason to keep a Writer for the others? They can always use an OutputStreamWriter to get around things.

So seems to me....the system should switch to being OutputStream based and not Writer based.
Comment by bayard [ Sun, 3 Oct 2004 09:26:12 -0700 (PDT) ]
Currently both are supported, with an automatic version for OutputStream that promotes it to a Writer.

Possibly an AbstractBinaryRenderer class should exist to stop people using the Writer from the other one. Shame you can't make a method abstract that a super class already defines.
Comment by bayard [ Thu, 7 Oct 2004 12:54:19 -0700 (PDT) ]
This'll do for now.