Re: how to get an InputStream from a Reader, and an OutpuStream from a Writer ?
Friday, July 20, 2001 11:40 AM
Why would you need to do this? It sounds like you
have a problem in the design of your application.
The Reader/Writer classes are only for properly
localized text streams, and shouldn't be used if
the stream contains binary data. If your application
needs to pass an InputStream/OutputStream to
some method, then open the data source as an
InputStream/OutputStream in the first place.