[Yanel-development] TODO: Is this the best way to generate an InputStream from an OutputStream?

simon litwan simon.litwan at wyona.com
Tue Dec 12 09:02:57 CET 2006


hi all

in the resources i found a lot of this:
// TODO: Is this the best way to generate an InputStream from an
// OutputStream?

after reading the following article i'm not sure, but probably not.

http://ostermiller.org/convert_java_outputstream_inputstream.html

another thing to mention in this context:
i find it quite unhandy to applay xsl-sheets as it is now. most notably 
if i want to apply multiple stylsheets. allways to transform the 
outputstream to an inputstream again.

i think we could proviede convenience class which takes care of that.

WDYT?

simon


-- 
Simon Litwan                               simon.litwan at wyona.com
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org



More information about the Yanel-development mailing list