This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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: 12682
    
    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


Java Resources at www.wbrogden.com
ravindar mynampati
Greenhorn

Joined: Jan 24, 2007
Posts: 5
thanks mr.william
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how physical data storage is mapped to a logical stream
 
Similar Threads
how jvm read byte by byte and character by character in i/o streams, readers
Basic Question
How a file in hard disk become byte stream?
InputStreamReader!!
What is the diff. between character-stream and byte stream which one is better?why?