Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how physical data storage is mapped to a logical stream

 
ravindar mynampati
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi to all,

i would like to know when reading/writing data from file,scocket.. how jvm
converts the physical data into logical stream, from which jvm reads byte by byte or character by character using respecting streams/readers. how the logical stream looks like if we have a file having text "hello world".
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13061
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The best way to get this sort of detail is to study the Java source code. As you drill down through the logic you will eventually reach calls to native methods - which are specific to each operating system.

Bill
 
ravindar mynampati
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks mr.william
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic