Re: What replaces StringBufferInputStream
- From: "Mike Schilling" <mscottschilling@xxxxxxxxxxx>
- Date: Wed, 30 Aug 2006 16:48:24 GMT
"Chris Uppal" <chris.uppal@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:44f578f9$0$641$bed64819@xxxxxxxxxxxxxxxxxxxx
Certainly there is. You can create an OutputStream decorator which wraps
a
Writer (or an InputStream which wraps a Reader) in just the same way as an
OutputStreamWriter wraps an OutputStream. All you need is a
CharacterDecoder
(or Encoder).
The java.io package lacks such a beast, but it's trivial enough to create
your
own if you have a need for it (and -- as I said before -- if you can think
of
an acceptable name for it).
WriterOutputStream and ReaderInputStream will do.
.
- Follow-Ups:
- Re: What replaces StringBufferInputStream
- From: Chris Uppal
- Re: What replaces StringBufferInputStream
- References:
- What replaces StringBufferInputStream
- From: Patricia Shanahan
- Re: What replaces StringBufferInputStream
- From: Arne Vajhøj
- Re: What replaces StringBufferInputStream
- From: Patricia Shanahan
- Re: What replaces StringBufferInputStream
- From: vahan
- Re: What replaces StringBufferInputStream
- From: Patricia Shanahan
- Re: What replaces StringBufferInputStream
- From: Lasse Reichstein Nielsen
- Re: What replaces StringBufferInputStream
- From: Patricia Shanahan
- Re: What replaces StringBufferInputStream
- From: M.J. Dance
- Re: What replaces StringBufferInputStream
- From: Lasse Reichstein Nielsen
- Re: What replaces StringBufferInputStream
- From: Chris Uppal
- What replaces StringBufferInputStream
- Prev by Date: Re: Speeding up URLConnection
- Next by Date: Re: how do you call a c library in a web services?
- Previous by thread: Re: What replaces StringBufferInputStream
- Next by thread: Re: What replaces StringBufferInputStream
- Index(es):
Relevant Pages
|