TUnZipper class
Extracts and decompresses files and directories in a .ZIP archive file.
Declaration
TUnZipper = class(TObject)Inheritance
- TUnZipper
- TObject
Description
Nothing more than the line above yet.
Properties
BufferSize | public | Size of the buffer used to read and decompress entries in the .ZIP file. |
FileName | public | Path and file name for the .zip file to be unzipped / processed. |
OutputPath | public | Path where archive files will be unzipped. |
FileComment | public | Comment stored in the .ZIP archive file. |
Files | public | Files in the zip file (deprecated). |
Entries | public | Collection with TFullZipFileEntry instances for files and directories stored in the .ZIP archive. |
UseUTF8 | public | Indicates that the UTF-8-encoded names are used when locating and unzipping entries in the archive. |
Flat | public | Extracts files to a single directory. |
Terminated | public | True if the Terminate method has been called. |
Methods
OpenInput | protected | |
CloseOutput | protected | |
CloseInput | protected | |
FindEndHeaders | protected | |
ReadZipDirectory | protected | |
ReadZipHeader | protected | |
DoEndOfFile | protected | |
OpenOutput | protected | |
SetBufSize | protected | |
SetFileName | protected | |
SetOutputPath | protected | |
CreateDeCompressor | protected | |
Create | public | Constructor for the class instance. |
Destroy | public | Destructor for the class instance. |
UnZipOneFile | public | |
UnZipAllFiles | public | Unzips all files in a zip file, writing them to disk. |
UnZipFile | public | Unzips a single file found in the specified .ZIP archive. |
UnZipFiles | public | Unzips the specified files in a .ZIP archive file. |
Unzip | public | Unzips the specified .ZIP archive file. |
Clear | public | Removes all entries and files from object. |
Examine | public | Opens zip file and reads the directory entries (list of zipped files). |
Terminate | public | Sets the value in Terminated to True. |
Events
OnOpenInputStream | public | Event handler signalled when the input stream for the .ZIP file is opened. |
OnCloseInputStream | public | Event handler signalled when the input stream for the .ZIP file is closed. |
OnCreateStream | public | Event handler signalled when an output stream is created. |
OnDoneStream | public | Event handler signalled when an output stream is closed. |
OnPercent | public | Threshold percentage which triggers a progress notification. |
OnProgress | public | Progress event handler used when decompressing files. |
OnProgressEx | public | Extended progress event handler used when decompressing files. |
OnStartFile | public | Callback procedure that will be called before unzipping a file. |
OnEndFile | public | Callback procedure that will be called after unzipping a file. |
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.
