cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oscar Picasso <oscgoo...@yahoo.com>
Subject Re: Serving arbitrary OutputStreams with Cocoon
Date Wed, 14 Apr 2004 11:04:51 GMT

--- Ugo Cei <ugo@apache.org> wrote:
> Il giorno 13/apr/04, alle 19:51, Oscar Picasso ha scritto:
> 
> > I guess the above approaches mean I need to use Piped streams to 
> > 'transform' my
> > OuputStream to an InputSream. Or have you a better suggestion?
> 
> Possibly, but keep in mind that you cannot write to and read from a 
> Piped stream in the same thread. Alternatively, you could use a 
> ByteArrayOtputStream if memory consumption is not an issue.
> 


Thanks for your useful advice.

A ByteArrayOutputStream seems in my case more convenient.

Oscar


	
		
__________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message