You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Winarto <wi...@fermat.eu> on 2009/01/13 15:25:34 UTC

Copy OutputStream to InputStream

Hi All,

 

Can anyone tell me if there is any common utility to copy from
OutputStream to InputStream? I can only find in commons-io a class to
copy from InputStream to OutputStream.

 

Cheers,

Wins


RE: Copy OutputStream to InputStream

Posted by Andrew Mansfield <AM...@globeop.com>.
Check PipedInputStream and PipedOutputStream in the JRE. 

Regards,
Andy

-----Original Message-----
From: Winarto [mailto:winarto@fermat.eu] 
Sent: 13 January 2009 14:26
To: user@commons.apache.org
Subject: Copy OutputStream to InputStream

Hi All,

 

Can anyone tell me if there is any common utility to copy from
OutputStream to InputStream? I can only find in commons-io a class to
copy from InputStream to OutputStream.

 

Cheers,

Wins


 
--------------------------------------------------------------------------
This email with all information contained herein or attached hereto may contain confidential and/or privileged information intended for the addressee(s) only. If you have received this email in error, please contact the sender and immediately delete this email in its entirety and any attachments thereto.
(W1)

 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


AW: Copy OutputStream to InputStream

Posted by "Wabner, Thomas (EXT)" <th...@siemens.com>.
 
Hi,

You may have a look into my blog about this:

http://thomaswabner.wordpress.com/2007/10/09/fast-stream-copy-using-javanio-channels/

Cheers,

- Thomas Wabner
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


RE: Copy OutputStream to InputStream

Posted by Winarto <wi...@fermat.eu>.
Thanks all for the prompt reply.

Cheers,
Wins

-----Original Message-----
From: Jukka Zitting [mailto:jukka.zitting@gmail.com] 
Sent: Wednesday, 14 January 2009 00:50
To: Commons Users List
Subject: Re: Copy OutputStream to InputStream

Hi,

On Tue, Jan 13, 2009 at 3:25 PM, Winarto <wi...@fermat.eu> wrote:
> Can anyone tell me if there is any common utility to copy from
> OutputStream to InputStream? I can only find in commons-io a class to
> copy from InputStream to OutputStream.

See also the proposed classes in
https://issues.apache.org/jira/browse/IO-71

BR,

Jukka Zitting

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Re: Copy OutputStream to InputStream

Posted by Jukka Zitting <ju...@gmail.com>.
Hi,

On Tue, Jan 13, 2009 at 3:25 PM, Winarto <wi...@fermat.eu> wrote:
> Can anyone tell me if there is any common utility to copy from
> OutputStream to InputStream? I can only find in commons-io a class to
> copy from InputStream to OutputStream.

See also the proposed classes in https://issues.apache.org/jira/browse/IO-71

BR,

Jukka Zitting

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org