[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Represents a file or directory added to a .ZIP file.
Source position: zipper.pp line 363
type TZipFileEntry = class(TCollectionItem) |
||
public |
||
constructor Create(); override; |
|
Constructor for the class instance. |
function IsDirectory; |
|
True if the entry is a directory on the local file system. |
function IsLink; |
|
True if the directory is a symbolic link on the local file system. |
procedure Assign(); override; |
|
Copies property values from the specified persistent object. |
|
Stream with the content for the entry. |
|
published |
||
property ArchiveFileName: AnsiString; [rw] |
|
Name of the file or directory in the .ZIP archive. |
property UTF8ArchiveFileName: UTF8String; [rw] |
|
Archive filename as UTF8 string. |
property DiskFileName: AnsiString; [rw] |
|
Name of the file or directory on the local file system. |
property UTF8DiskFileName: UTF8String; [rw] |
|
Name of the file or directory on the local file system using UTF-8 encoding. |
property Size: Int64; [rw] |
|
Size of the compressed content for the file or directory. |
property DateTime: TDateTime; [rw] |
|
Timestamp for the file or directory in the .ZIP archive. |
property OS: Byte; [rw] |
|
Indication of operating system/file system. |
property Attributes: LongWord; [rw] |
|
File attributes for the file or directory. |
property CompressionLevel: Tcompressionlevel; [rw] |
|
Compression level applied to the content stored in the .ZIP archive. |
end; |
|
Represents a file or directory added to a .ZIP file. |
|
| | ||
| | ||
| | ||
TObject,IFPObserved |
TZipFileEntry is a TCollectionItem descendant which represents a file or directory added to a .ZIP file archive. TZipFileEntry is the type used for items in the Entries property in the TZipFileEntries collection.
TZipFileEntry provides properties with metadata for the file or directory, including:
Use IsDirectory to determine if the entry represents a directory.
Use IsLink to determine if the entry is a symbolic link on the local file system.