Description | Hierarchy | Fields | Methods | Properties |
type TAdFile = class(TObject)
A virtual file in a virtual file system. Its data can be read by using the stream returned by GetStream. Note that every trial to get a non-read-only stream will throw an exception if there are any other streams reading or writing. Trying to get a read-only stream when a stream is writing will also result in an exception.
![]() |
constructor Create(const Directory: TAdDirectory; const FileName, Path: String; const AStream: TStream; const Size: Int64); |
![]() |
destructor Destroy; override; |
![]() |
function GetStream(const ReadOnly: Boolean=True): TStream; |
![]() |
property FileName: String read FFileName; |
![]() |
property Path: String read FPath; |
![]() |
property PackagePath: String read FPackagePath; |
![]() |
property Size: Int64 read FSize; |
![]() |
property Directory: TAdDirectory read FDirectory; |
![]() |
property Locked: Boolean read FWriting; |
![]() |
property LockedForWriting: Boolean read IsLockedForWriting; |
![]() |
constructor Create(const Directory: TAdDirectory; const FileName, Path: String; const AStream: TStream; const Size: Int64); |
![]() |
destructor Destroy; override; |
![]() |
function GetStream(const ReadOnly: Boolean=True): TStream; |
![]() |
property FileName: String read FFileName; |
![]() |
property Path: String read FPath; |
![]() |
property PackagePath: String read FPackagePath; |
![]() |
property Size: Int64 read FSize; |
![]() |
property Directory: TAdDirectory read FDirectory; |
![]() |
property Locked: Boolean read FWriting; |
![]() |
property LockedForWriting: Boolean read IsLockedForWriting; |