Sign in Join
FPDoc Onlineexperiment

TZipper class

In unit Zipper

Creates a .ZIP archive file.

Declaration

pascal
TZipper = class(TObject)

Inheritance

  1. TZipper
  2. TObject

Description

Nothing more than the line above yet.

Properties

NeedsZip64protected
BufferSizepublicBuffer size used when reading and processing files.
FileNamepublicName of the .ZIP archive file where the compressed files and directories are stored.
FileCommentpublicComment stored in the .ZIP archive file.
FilespublicProvides access to the list of files and directories in the archive.
InMemSizepublicTotal memory used for the compressed content in the .ZIP file.
EntriespublicCollection with the TZipFileEntry instances in the .ZIP archive.
TerminatedpublicTrue if the Terminate method has been called.
UseLanguageEncodingpublicUse language encoding.

Methods

CloseInputprotected
StartZipFileprotected
UpdateZipHeaderprotected
BuildZipDirectoryprotected
DoEndOfFileprotected
ZipOneFileprotected
OpenInputprotected
GetFileInfoprotected
SetBufSizeprotected
SetFileNameprotected
CreateCompressorprotected
CreatepublicConstructor for the class instance.
DestroypublicDestructor for the class instance.
ZipAllFilespublicZips all files in object and writes zip to disk.
SaveToFilepublicSaves the archive to a file with a new name.
SaveToStreampublicSave the archive to a stream.
ZipFilepublicZip one file to a zip file.
ZipFilespublicZip multiple files into an archive.
ZippublicConvenience method used to create a .zip file with the given name containing the specified file(s).
ClearpublicRemoves all values in the Entries and Files properties.
TerminatepublicHalts an assigned compressor in the class instance, and sets Terminated to True.

Events

OnPercentpublicThreshold percentage which triggers progress notifications when processing files.
OnProgresspublicEvent handler signalled to show a percent complete progress notifications.
OnStartFilepublicEvent handler signalled when compression for a file is started.
OnEndFilepublicEvent 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.