how physical data storage is mapped to a logical stream
Joined: Jan 24, 2007
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".
Author and all-around good cowpoke
Joined: Mar 22, 2000
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.