Gio.FilterInputStream - Classes - Gio 2.0 (original) (raw)
g GObject.Object GObject.Object Gio.InputStream Gio.InputStream GObject.Object->Gio.InputStream Gio.FilterInputStream Gio.FilterInputStream Gio.InputStream->Gio.FilterInputStream
Subclasses:
Gio.BufferedInputStream, Gio.ConverterInputStream
Methods¶
Inherited:
Gio.InputStream (19), GObject.Object (37)
Structs:
get_base_stream () |
---|
get_close_base_stream () |
set_close_base_stream (close_base) |
Virtual Methods¶
Inherited:
Gio.InputStream (9), GObject.Object (7)
Properties¶
Name | Type | Flags | Short Description |
---|---|---|---|
base-stream | Gio.InputStream | r/w/co | |
close-base-stream | bool | r/w/c |
Signals¶
Inherited:
Fields¶
Inherited:
Name | Type | Access | Description |
---|---|---|---|
base_stream | Gio.InputStream | r | |
parent_instance | Gio.InputStream | r |
Class Details¶
class Gio.FilterInputStream(**kwargs)¶
Bases:
Abstract:
Yes
Structure:
Base class for input 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.
Returns:
Return type:
Gets the base stream for the filter stream.
get_close_base_stream()[source]¶
Returns:
True if the base stream will be closed.
Return type:
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.FilterInputStream.props.base_stream¶
Name:
base-stream
Type:
Default Value:
Flags:
READABLE, WRITABLE, CONSTRUCT_ONLY
The underlying base stream on which the I/O ops will be done.
Gio.FilterInputStream.props.close_base_stream¶
Name:
close-base-stream
Type:
Default Value:
Flags:
Whether the base stream should be closed when the filter stream is closed.