Sorry, so used to having it around I forgot it's not in the JDK :)
new ByteArrayInputStream(yourString.getBytes()) should work though.
-- Edvin
Den 01.06.2011 17:11, skrev Greg Brown:
I don't see a StringInputStream in the JDK. There is a StringBufferInputStream,
but it is deprecated.
G
On Jun 1, 2011, at 11:06 AM, Edvin Syse wrote:
Use StringInputStream()
-- Edvin
Den 01.06.2011 16:52, skrev noobmike:
Turns out this didnt work.
It looks like bxmlSerializer.readObject() needs an InputStream the
StringReader didnt work.
I tried StreamReader, or even making an Input stream, but had trouble
instantiating it.
any ideas?
--
View this message in context:
http://apache-pivot-users.399431.n3.nabble.com/BXML-Rendering-tp3010653p3011127.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.