Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4103785
Votes 7
Synopsis java.io: Add ReaderInputStream and WriterOutputStream classes
Category java:classes_io
Reported Against 1.1 , 1.2beta2
Release Fixed
State 11-Closed, Will Not Fix, request for enhancement
Priority: 4-Low
Related Bugs
Submit Date 14-JAN-1998
Description
There have been many requests to add the duals of InputStreamReader and
OutputStreamWriter, namely ReaderInputStream and WriterOutputStream.  Because
encoding converters are hidden within the I/O classes at present, the only way
to get this functionality right now is to use a piped stream, which is not very
efficient.
Work Around
N/A
Evaluation
Will not fix.  Now that we have a public API for character-set coding (see
java.nio.charset), there is no compelling reason to add these classes.

--   xxxxx@xxxxx   2002/5/23
Comments
  
  Include a link with my name & email   

Submitted On 06-JUN-2001
tupari
Please fix this.  I need to write Gzipped and Zipped output
to a Writer and currently there is no way to do this.  See
also bug 4094886


Submitted On 20-MAY-2005
gkbuck
Gee, what a surprise. Sun drops the ball by leaving out this much-needed bridge for going from Outputstream to Writer, and then flat-out refuses to correct their design mistake.  At a minimum, would it be so hard to add a new constructor to PrintStream that accepts a Writer as the destination?


Submitted On 17-JUL-2007
Try a google search on 'ReaderInputStream'.
http://www.google.nl/search?q=ReaderInputstream

Gives many hits, not seldomly to apidocs of all kind of projects which simply added it themselves. A bit silly, all this, if you ask me.



PLEASE NOTE: JDK6 is formerly known as Project Mustang