Internet Direct (Indy)
Home
PreviousUpNext
TReadFileExclusiveStream Class

Implements a file stream using a non-shared write access file sharing mode.

Pascal
TReadFileExclusiveStream = class(TIdFileStream);

TReadFileExclusiveStream is a TIdFileStream descendant that implements a file stream using a non-shared write access file sharing mode. 

TReadFileExclusiveStream implements a constructor that accepts a file name representing the storage for reading and writing values in the file stream. TReadFileExclusiveStream assumes that the file already exists on the local file system. 

The constructor also handles creating the file stream using the appropriate file mode and file sharing mode for the stream. 

Use TReadFileNonExclusiveStream to create a file stream that uses shared file access modes for reading. 

Use TFileCreateStream to create a file stream that recreates its' local file storage. 

Use TAppendFileStream to create a file stream that appends any output to an existing local file storage.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.