tags:

views:

52

answers:

1

Hi

I have an inputStream and i want to write it to a file.

I saw NIO and the FileChannel which has the method "transferTo" ou "transferFrom" and i know how to create the WriteableChannel, but i don't know to transform my inputStream to a ReadableChannel.

Thanks.

+3  A: 
aioobe
ChannelS (you should edit your link text). And that's exactly what i was looking for. Thanks !
Maxime ARNSTAMM
Updated. Thank you.
aioobe