TZipper class
Creates a .ZIP archive file.
Declaration
TZipper = class(TObject)Inheritance
- TZipper
- TObject
Description
Nothing more than the line above yet.
Properties
NeedsZip64 | protected | |
BufferSize | public | Buffer size used when reading and processing files. |
FileName | public | Name of the .ZIP archive file where the compressed files and directories are stored. |
FileComment | public | Comment stored in the .ZIP archive file. |
Files | public | Provides access to the list of files and directories in the archive. |
InMemSize | public | Total memory used for the compressed content in the .ZIP file. |
Entries | public | Collection with the TZipFileEntry instances in the .ZIP archive. |
Terminated | public | True if the Terminate method has been called. |
UseLanguageEncoding | public | Use language encoding. |
Methods
CloseInput | protected | |
StartZipFile | protected | |
UpdateZipHeader | protected | |
BuildZipDirectory | protected | |
DoEndOfFile | protected | |
ZipOneFile | protected | |
OpenInput | protected | |
GetFileInfo | protected | |
SetBufSize | protected | |
SetFileName | protected | |
CreateCompressor | protected | |
Create | public | Constructor for the class instance. |
Destroy | public | Destructor for the class instance. |
ZipAllFiles | public | Zips all files in object and writes zip to disk. |
SaveToFile | public | Saves the archive to a file with a new name. |
SaveToStream | public | Save the archive to a stream. |
ZipFile | public | Zip one file to a zip file. |
ZipFiles | public | Zip multiple files into an archive. |
Zip | public | Convenience method used to create a .zip file with the given name containing the specified file(s). |
Clear | public | Removes all values in the Entries and Files properties. |
Terminate | public | Halts an assigned compressor in the class instance, and sets Terminated to True. |
Events
OnPercent | public | Threshold percentage which triggers progress notifications when processing files. |
OnProgress | public | Event handler signalled to show a percent complete progress notifications. |
OnStartFile | public | Event handler signalled when compression for a file is started. |
OnEndFile | public | Event handler signalled when compression for a file has been completed. |
Inherited
From TObject (40)
AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
