Gio.FilterOutputStream

g GObject.Object GObject.Object Gio.OutputStream Gio.OutputStream GObject.Object->Gio.OutputStream Gio.FilterOutputStream Gio.FilterOutputStream Gio.OutputStream->Gio.FilterOutputStream

Subclasses:

Gio.BufferedOutputStream, Gio.ConverterOutputStream, Gio.DataOutputStream

Methods

Inherited:

Gio.OutputStream (29), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_base_stream ()

get_close_base_stream ()

set_close_base_stream (close_base)

Virtual Methods

Inherited:

Gio.OutputStream (15), GObject.Object (7)

Properties

Name

Type

Flags

Short Description

base-stream

Gio.OutputStream

r/w/co

close-base-stream

bool

r/w/co

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

base_stream

Gio.OutputStream

r

parent_instance

Gio.OutputStream

r

Class Details

class Gio.FilterOutputStream(**kwargs)
Bases:

Gio.OutputStream

Abstract:

Yes

Structure:

Gio.FilterOutputStreamClass

Base class for output stream implementations that perform some kind of filtering operation on a base stream. Typical examples of filtering operations are character set conversion, compression and byte order flipping.

get_base_stream()[source]
Returns:

a Gio.OutputStream.

Return type:

Gio.OutputStream

Gets the base stream for the filter stream.

get_close_base_stream()[source]
Returns:

True if the base stream will be closed.

Return type:

bool

Returns whether the base stream will be closed when self is closed.

set_close_base_stream(close_base)[source]
Parameters:

close_base (bool) – True to close the base stream.

Sets whether the base stream will be closed when self is closed.

Property Details

Gio.FilterOutputStream.props.base_stream
Name:

base-stream

Type:

Gio.OutputStream

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

Gio.FilterOutputStream.props.close_base_stream
Name:

close-base-stream

Type:

bool

Default Value:

True

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

Whether the base stream should be closed when the filter stream is closed.