FilterInputStream

class FilterInputStream(**properties: Any)

Superclasses: InputStream, Object

Subclasses: BufferedInputStream, ConverterInputStream

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.

Methods

class FilterInputStream
get_base_stream() InputStream

Gets the base stream for the filter stream.

get_close_base_stream() bool

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

set_close_base_stream(close_base: bool) None

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

Parameters:

close_baseTrue to close the base stream.

Properties

class FilterInputStream
props.base_stream: InputStream

The underlying base stream on which the I/O ops will be done.

props.close_base_stream: bool

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

Fields

class FilterInputStream
base_stream
parent_instance