GMime.FilterGZip¶
- Subclasses:
 None
Methods¶
- Inherited:
 - Structs:
 
class  | 
  | 
  | 
|
  | 
|
  | 
|
  | 
Virtual Methods¶
- Inherited:
 
Properties¶
None
Signals¶
- Inherited:
 
Fields¶
- Inherited:
 
Name  | 
Type  | 
Access  | 
Description  | 
|---|---|---|---|
level  | 
r  | 
compression level  | 
|
mode  | 
r  | 
||
parent_object  | 
r  | 
parent   | 
|
priv  | 
r  | 
private state data  | 
Class Details¶
- class GMime.FilterGZip(**kwargs)¶
 - Bases:
 - Abstract:
 No
- Structure:
 
A filter for compresing or decompressing a gzip stream.
- classmethod new(mode, level)¶
 - Parameters:
 mode (
GMime.FilterGZipMode) – zip or unziplevel (
int) – compression level
- Returns:
 a new gzip (or gunzip) filter.
- Return type:
 
Creates a new gzip (or gunzip) filter.
- get_comment()¶
 - Returns:
 a string containing the comment.
- Return type:
 
Gets the comment that was either previously set or retrieved when decoding a gzip stream.
New in version 3.2.
- get_filename()¶
 - Returns:
 a string containing th ename of the file.
- Return type:
 
Gets the filename that was either previously set or retrieved when decoding a gzip stream.
New in version 3.2.