The Gzip type exposes the following members.
Constructors
Methods
Name | Description | |
---|---|---|
Compress(FileSet, String) |
Compresses files defined by set into a GZIP archive.
New GZIP file is created (existing GZIP file is overwritten).
| |
Compress(String, TraversalMode, String) |
Compresses specified files or directories into a GZIP archive.
New GZIP file is created (existing GZIP file is overwritten).
| |
Decompress |
Decompresses all files from the GZIP archive to the specified directory.
Existing files in target directory will be overwritten.
| |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
CompressionLevel |
Gets or sets the compression level.
Possible values are 0-9, where 0 means no compression (fastest) and 9 means best compression (slowest).
6 (medium compression and speed) is a default value.
|