Quoting Jon Schewe (jpschewe at mtu.net): > > > How can I get a StringReader into a class that is part of the InputStream > > > hierarchy? > > > > > > I use to use the StringBufferInputStream, but that is deprecated. > > > > How about using java.io.ByteArrayInputStream? I do find it irritating that > there isn't a way to get from Reader to InputStream, but there is a way to get > from InputStream to Reader, java.io.InputStreamReader. I ended up using the ByteArrayInputStream. :-( -- Bob Tanner <tanner at real-time.com> | Phone : (952)943-8700 http://www.mn-linux.org | Fax : (952)943-8500 Key fingerprint = 6C E9 51 4F D5 3E 4C 66 62 A9 10 E5 35 85 39 D9