presentation29 - Streams Soheil Hassas Yeganeh Computer...

Info iconThis preview shows pages 1–13. Sign up to view the full content.

View Full Document Right Arrow Icon
Streams Soheil Hassas Yeganeh Computer Engineering Department Sharif University of Technology
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Reading from/Writing to a File 2 01001011 01101000 01100101 01101001 01101100 01101001 00100000 01001011 01101111 01101010 01101011 01100001 01110110 01101001 00001010 X.TXT
Background image of page 2
01001011011010000110010101101001011011000 Reading from/Writing to a File 2 01001011 01101000 01100101 01101001 01101100 01101001 00100000 01001011 01101111 01101010 01101011 01100001 01110110 01101001 00001010 X.TXT
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Reading from/Writing to a File 2 01001011 01101000 01100101 01101001 01101100 01101001 00100000 01001011 01101111 01101010 01101011 01100001 01110110 01101001 00001010 X.TXT This is called a stream.
Background image of page 4
Java & Input/Output 3
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Java & Input/Output Stream is a (but, not the only ) mechanism to handle input/output in java. Any input/output can be considered as a stream. This type of I/O is said blocking ! 3
Background image of page 6
2 Types of Stream 4 Byte Stream Character Stream
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
01001011011010000110010101101001011011000110100100100000010010110110111 2 Types of Stream 4 Byte Stream Character Stream
Background image of page 8
2 Types of Stream 4 Byte Stream Character Stream
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
abcdefgakba as kj;’askdfj;laksdjf;kajsd 2 Types of Stream 4 Byte Stream Character Stream
Background image of page 10
2 Types of Stream 4 Byte Stream Character Stream
Background image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Different States of Streams 5
Background image of page 12
Image of page 13
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 11/21/2010 for the course COMPUTER S 003 taught by Professor Izadi during the Spring '10 term at Amirkabir University of Technology.

Page1 / 35

presentation29 - Streams Soheil Hassas Yeganeh Computer...

This preview shows document pages 1 - 13. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online