pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Brown <gk_br...@verizon.net>
Subject Re: BXML Rendering
Date Wed, 01 Jun 2011 15:08:21 GMT
Ah, you're right.  :-(  I couldn't find a way to wrap a Reader in an InputStream - anybody
know of one? Worst case, you can write the text out to a file using FileWriter and then wrap
it in a FileInputStream to read it back in.

BXMLSerializer should probably support a method signature that takes a Reader.

On Jun 1, 2011, at 10:52 AM, noobmike wrote:

> 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.

View raw message