dcsimg
how to get an InputStream from a Reader, and an OutpuStream from a Writer ?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Luigi_Viggiano
Posted On:   Friday, July 20, 2001 03:46 AM

how to get an InputStream from a Reader, and an OutpuStream from a Writer ?

Re: how to get an InputStream from a Reader, and an OutpuStream from a Writer ?

Posted By:   Tim_Rohaly  
Posted On:   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.
About | Sitemap | Contact