File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply 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: 12268
    
    1
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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: how physical data storage is mapped to a logical stream
 
Similar Threads
How a file in hard disk become byte stream?
Basic Question
InputStreamReader!!
how jvm read byte by byte and character by character in i/o streams, readers
What is the diff. between character-stream and byte stream which one is better?why?