What is the difference between BufferedStreams and Channels in java ?

I have seen that Channel has got more preference over BufferedStreams.Suppose i have writeen a program to copy a file.If i use Channel there then the speed with which the information is transfered is more speedy then the one with BufferedStream.
Can anyone tell me the reason why channel is more speedy than BufferedStream ?
What are the differences between BufferedStreams and Channels in java ?

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • PraveenKumar Purushothaman

    @praveenkumar-66Ze92 Aug 2, 2011

    Buffered Stream the bitrate is very low... Where as channel stream doesn't have a bit rate... 😁

  • The_Small_k

    @the-small-k Aug 2, 2011

    But why Buffered Stream bitrate is low ?
    And why channel stream doesn't have a bitrate ?

  • PraveenKumar Purushothaman

    @praveenkumar-66Ze92 Aug 2, 2011

    Buffered stream as it says, it splits the files into many parts and buffers it one by one. Whereas channel is a serial port... 😀