System.Zip.TZipFile
Delphi
TZipFile = class
C++
class PASCALIMPLEMENTATION TZipFile : public System::TObject
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | System.Zip.pas System.Zip.hpp |
System.Zip | System.Zip |
Description
TZipFile is a class for creating and reading .zip files.
Use TZipFile methods to compress or decompress files in .zip format.
TZipFile allows you to use the following features for a better performance:
- Open and Close to open or close a .zip file.
- Add to add files to an archive.
- Extract and ExtractAll to provide a way to extract files from an archive.
For information and an example on how to extract password-protected (encrypted) files, see Extracting Password-protected Files.
Also, you can use TZipFile properties like FileName, FileInfo, or FileComment to obtain information about the files contained by a .zip archive. You can also extract files from an archive without instantiating TZipFile objects by using the ExtractZipFile class procedure.
Tip: TZipFile methods may raise exceptions of type EZipException.
Note: From RAD Studio Alexandria TZipFile supports Zip64.
See Also
- System.Zip.TZipFile.Open
- System.Zip.TZipFile.Close
- System.Zip.TZipFile.Read
- System.Zip.TZipFile.Add
- System.Zip.TZipFile.Extract
- System.Zip.TZipFile.ExtractAll
- System.Zip.TZipFile.FileName
- System.Zip.TZipFile.FileInfo
- System.Zip.TZipFile.FileComment
- System.Zip.TZipFile.ExtractZipFile
- System.Zip.EZipException