Description | Hierarchy | Fields | Methods | Properties |
type TFileArchive = class(TReferenceCounted)
A TFileArchive
manages archives and provides access to files inside of them.
![]() |
function CreateAndOpenFile(const FileName: StringType): TReadFile; overload; inline; |
![]() |
function CreateAndOpenFile(Index: LongWord): TReadFile; overload; inline; |
![]() |
function GetFileList: TFileList; inline; |
![]() |
property ArchiveType: TFileArchiveType read GetType; |
![]() |
property Password: AnsiString read GetPassword write SetPassword; |
![]() |
function CreateAndOpenFile(const FileName: StringType): TReadFile; overload; inline; |
Opens a file based on its name. Parameters
ReturnsA pointer to the created file on success; nil on failure. |
![]() |
function CreateAndOpenFile(Index: LongWord): TReadFile; overload; inline; |
Opens a file based on its position in the file list. Parameters
ReturnsThe opened file on success; nil on failure. |
![]() |
function GetFileList: TFileList; inline; |
Returns a file list containing the complete directory tree for the archive. |
![]() |
property ArchiveType: TFileArchiveType read GetType; |
The Archive Type. |
![]() |
property Password: AnsiString read GetPassword write SetPassword; |
An optionally used |