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.
Use Open and Close to open or close a .zip file. Add adds files to an archive, while Extract and ExtractAll 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.
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 form an archive without instantiating TZipFile objects by using the ExtractZipFile class procedure.
TZipFile methods may raise exceptions of type EZipException.
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