Next: Seeking on FileStreams
Up: FileStream Management
Previous: Creating and Destroying FileStreams
  Contents
Upon creating a FileStream the question next arises: ``What can one do with a FileStream?'' ( ``I got three nickels and a
quater, can I get to El Sugundo?'' ) Among other things one can read and write bytes to the FileStream. This will in turn
read and write bytes to the physical file represented by this FileStream. The magic of GAT occurs in that the
application programmer need not be concerned if the FileStream corresponds to a local physical file or a remote
physical file or if the protocol used to access the physical file is ``the'' newest kid of the block. If the physical file is
local, the application programmer writes the same code as if the physical file were remote. If the file is accessed
using ftp, the application programmer writes the same code as if the physical file were being accessed using
https. GAT, the magic happens here.
Next: Seeking on FileStreams
Up: FileStream Management
Previous: Creating and Destroying FileStreams
  Contents
Andre Merzky
2004-05-13
|