Gsf.OutfileZip¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
The level of compression used, zero meaning none |
||
r/w/co |
The level of deflate compression used, zero meaning none and -1 meaning the zlib default |
||
r/w/co |
The filename of this member in the archive without path |
||
r/w/co |
Where the archive is written |
||
r/w/co |
Whether to use zip64 format, -1 meaning automatic |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Gsf.OutfileZip(**kwargs)¶
- Bases:
- Abstract:
No
- classmethod new(sink)¶
- Parameters:
sink (
Gsf.Output
) – aGsf.Output
to hold the ZIP file- Raises:
- Returns:
the new zip file handler
- Return type:
Creates the root directory of a Zip file and manages the addition of children.
This adds a reference to sink.
- set_compression_method(method)¶
- Parameters:
method (
Gsf.ZipCompressionMethod
) –- Return type:
Property Details¶
- Gsf.OutfileZip.props.compression_level¶
- Name:
compression-level
- Type:
- Default Value:
8
- Flags:
The level of compression used, zero meaning none
- Gsf.OutfileZip.props.deflate_level¶
- Name:
deflate-level
- Type:
- Default Value:
-1
- Flags:
The level of deflate compression used, zero meaning none and -1 meaning the zlib default
- Gsf.OutfileZip.props.entry_name¶
- Name:
entry-name
- Type:
- Default Value:
- Flags:
The filename of this member in the archive without path
- Gsf.OutfileZip.props.sink¶
- Name:
sink
- Type:
- Default Value:
- Flags:
Where the archive is written
- Gsf.OutfileZip.props.zip64¶
- Name:
zip64
- Type:
- Default Value:
-1
- Flags:
Whether to use zip64 format, -1 meaning automatic