TZipFileEntries¶
Collection used to store information about files and directories in the .zip archive.
Declaration¶
Source position: zipper.pp line 409
type
TZipFileEntries = class(TCollection)
public
function AddFileEntry(const ADiskFileName: AnsiString) : TZipFileEntry;
function AddFileEntry(const ADiskFileName: AnsiString;
const AArchiveFileName: AnsiString) : TZipFileEntry;
function AddFileEntry(const AStream: TStream;
const AArchiveFileName: AnsiString) : TZipFileEntry;
procedure AddFileEntries;
property Entries[AIndex : Integer]: TZipFileEntry; {rw}
end;
Inheritance¶
Description¶
TZipFileEntries is a TCollection descendant which provides support for using TZipFileEntry instances as the Items in the collection. It provides an indexed Entries property used to access the TZipFileEntry instances in the collection, and serves as the default property for enumerator access.
TZipFileEntries is the type used to implement the Entries property in TZipper.
Properties¶
| Member | Visibility | Description |
|---|---|---|
| Entries | public | Entries (files) in the zip archive. |
Methods¶
| Member | Visibility | Description |
|---|---|---|
| AddFileEntries | public | Adds TZipFileEntry instances in the collection for the file names in List. |
| AddFileEntry | public | Adds file to zip directory. |
See also¶
| Name | Description |
|---|---|
| TZipFileEntries.Entries | Entries (files) in the zip archive. |
| TZipFileEntry | Represents a file or directory added to a .ZIP file. |
| TZipper.Entries | Collection with the TZipFileEntry instances in the .ZIP archive. |
| TUnZipper.Entries | Collection with TFullZipFileEntry instances for files and directories stored in the .ZIP archive. |
| TFullZipFileEntries | Collection of TFullZipFileEntry items. |