Gzip Configuration
The class accepts one or more of the following configuration settings. Configuration settings are similar in functionality to properties, but they are rarely used. In order to avoid "polluting" the property namespace of the class, access to these internal properties is provided through the Config method.Gzip Configuration Settings
FileComment: Holds the comment associated with the archive. When compressing this may be set to include a comment in the archive. This will also hold the comment associated with an archive after calling Scan. | |
PreserveModifiedTime: Whether or not to preserve the original modified time on extracted files. Specifies whether or not the modified time of the extracted files use the current time or the original time of the file in the archive. When set to True (default) the extracted files will have the same modified time as the original file. When set to False the modified time on the extracted files will be set to the current time. | |
WriteToProgressEvent: Whether or not to write data to the Progress Event. If WriteToProgressEvent is set to true, then all data produced through invocations of Extract, ExtractAll, and Compress will be written to the Progress event as well as to disk. Applications may stream out the compressed or decompressed data by trapping this event and copying the data. If WriteToProgressEvent is set to false, the data will not be streamed out, and the Data parameter of the Progress event will contain null. By default, this config is set to false. | |
FileDecompressedSize: Gets the size of the file, as decompressed outside the archive.
If an archive is open for read (i.e. has been scanned or decompressed), this information will be read from the archive headers. If an archive is not open for read, the component will retrieve the information for the corresponding value of DecompressedName from the local file system. A value of -1 will be returned in case of an I/O error. |
Base Configuration Settings
SelectWaitMillis: The length of time in milliseconds the class will wait when DoEvents is called if there are no events to process. If there are no events to process when DoEvents is called, the class will wait for the amount of time specified here before returning. The default value is 20. |
Base Configuration Settings
CodePage: The system code page used for Unicode to Multibyte translations. The default code page is the Active Code Page (0). The following is a list of valid code page identifiers:
The following is a list of valid code page identifiers for Mac OS only:
|