GeeCON Prague 2014*
The moose likes Java in General and the fly likes how physical data storage is mapped to a logical stream Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark "how physical data storage is mapped to a logical stream" Watch "how physical data storage is mapped to a logical stream" New topic
Author

how physical data storage is mapped to a logical stream

ravindar mynampati
Greenhorn

Joined: Jan 24, 2007
Posts: 5
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

Joined: Mar 22, 2000
Posts: 12791
    
    5
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

Joined: Jan 24, 2007
Posts: 5
thanks mr.william
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how physical data storage is mapped to a logical stream