Gsf.InfileZip

g GObject.Object GObject.Object Gsf.Input Gsf.Input GObject.Object->Gsf.Input Gsf.Infile Gsf.Infile Gsf.InfileZip Gsf.InfileZip Gsf.Infile->Gsf.InfileZip Gsf.Input->Gsf.Infile

Subclasses:

None

Methods

Inherited:

Gsf.Infile (5), Gsf.Input (24), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (source)

Virtual Methods

Inherited:

Gsf.Infile (2), Gsf.Input (3), GObject.Object (7)

Properties

Inherited:

Gsf.Input (7)

Name

Type

Flags

Short Description

compression-level

int

r

The level of compression used, zero meaning none

internal-parent

Gsf.InfileZip

w/co

Internal use only

source

Gsf.Input

r/w/co

The archive being interpreted

zip64

bool

r

Whether zip64 is being used

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Gsf.InfileZip(**kwargs)
Bases:

Gsf.Infile

Abstract:

No

classmethod new(source)
Parameters:

source (Gsf.Input) – A base Gsf.Input

Raises:

GLib.Error

Returns:

the new zip file handler

Return type:

Gsf.Infile

Opens the root directory of a Zip file.

This adds a reference to source.

Property Details

Gsf.InfileZip.props.compression_level
Name:

compression-level

Type:

int

Default Value:

0

Flags:

READABLE

Controls the level of compression used for new members.

Gsf.InfileZip.props.internal_parent
Name:

internal-parent

Type:

Gsf.InfileZip

Default Value:

None

Flags:

WRITABLE, CONSTRUCT_ONLY

Internal use only

Gsf.InfileZip.props.source
Name:

source

Type:

Gsf.Input

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The archive being interpreted

Gsf.InfileZip.props.zip64
Name:

zip64

Type:

bool

Default Value:

False

Flags:

READABLE

Whether zip64 is being used