GMime.FilterDos2Unix

g GMime.Filter GMime.Filter GMime.FilterDos2Unix GMime.FilterDos2Unix GMime.Filter->GMime.FilterDos2Unix GObject.Object GObject.Object GObject.Object->GMime.Filter

Subclasses:

None

Methods

Inherited:

GMime.Filter (6), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (ensure_newline)

Virtual Methods

Inherited:

GMime.Filter (4), GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

ensure_newline

bool

r

True if the filter should ensure that the stream ends with a new line

parent_object

GMime.Filter

r

parent GMime.Filter

pc

int

r

the previous character encountered

Class Details

class GMime.FilterDos2Unix(**kwargs)
Bases:

GMime.Filter

Abstract:

No

Structure:

GMime.FilterDos2UnixClass

A filter to convert a stream from Windows/DOS line endings to Unix line endings.

classmethod new(ensure_newline)
Parameters:

ensure_newline (bool) – True if the filter should ensure that the stream ends in a new line

Returns:

a new GMime.FilterDos2Unix filter.

Return type:

GMime.Filter

Creates a new GMime.FilterDos2Unix filter.