File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes I/O and Streams and the fly likes Doubt regarding Difference between CharacterStream and ByteStream Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "Doubt regarding Difference between CharacterStream and ByteStream" Watch "Doubt regarding Difference between CharacterStream and ByteStream" New topic
Author

Doubt regarding Difference between CharacterStream and ByteStream

veena bijur
Ranch Hand

Joined: May 16, 2011
Posts: 67
Difference between CharacterStream and ByteStream



ByteStream

1. Used to perform IO operation of binary data or byte data
Examples: audio files,video files, word files i.e .doc,.xls ,image
and it supports only ASCII

2. Character Stream

Used to perform IO operation of Character i.e it only supports UNICODE characters, so supports any human language.
Examples. doc,.xls files .

So Character Stream doesnt support audio,video files and all?


Please, tell me is the above difference correct or no. IF any let me know.
Thanks
Tony Docherty
Bartender

Joined: Aug 07, 2007
Posts: 2158
    
  47
See this thread http://www.coderanch.com/t/511292/java/java/Byte-Character-streams
veena bijur
Ranch Hand

Joined: May 16, 2011
Posts: 67
i read the article, its just bouncing.

Could you please tell interview point.

i am just not getting what exactly the difference, please explain in simple way.
Jeff Verdegan
Bartender

Joined: Jan 03, 2004
Posts: 6109
    
    6

Do you understand the difference between a character and a byte?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Doubt regarding Difference between CharacterStream and ByteStream
 
Similar Threads
Diffrence between IO and NewIo
Printing Multiple files with different formats
Missing method: streaming a file as to SAX2 parser
Diffrence between IO and NewIo
memo data type in ms access