GMime.FilterUnix2Dos

g GMime.Filter GMime.Filter GMime.FilterUnix2Dos GMime.FilterUnix2Dos GMime.Filter->GMime.FilterUnix2Dos 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.FilterUnix2Dos(**kwargs)
Bases:

GMime.Filter

Abstract:

No

Structure:

GMime.FilterUnix2DosClass

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.FilterUnix2Dos filter.

Return type:

GMime.Filter

Creates a new GMime.FilterUnix2Dos filter.