MimeFilter


Object Hierarchy:

Object hierarchy for MimeFilter

Description:

[ CCode ( type_id = "camel_mime_filter_get_type ()" ) ]
public abstract class MimeFilter : Object

Stream-processing filter modules for MIME data.

MimeFilter is an abstract base class for stream-processing modules that transform blocks of data. Filters can be used in three ways:

  • **Individually** — call filter and complete directly to process data buffers.
  • **Attached to a stream** — add to a StreamFilter so that data read from or written to the stream is automatically transformed.
  • **Attached to a parser** — register with MimeParser for pipelined decoding while a message is being parsed.

Each concrete filter subclass implements three virtual methods: filter, complete, and reset. The base class handles all memory management for the pre-space / look-back buffer mechanism, which allows efficient multi-stage pipelined processing.

Available filter implementations include character-set conversion (MimeFilterCharset ), base64 and quoted-printable encoding (MimeFilterBasic), line-ending canonicalisation (MimeFilterCRLF), gzip compression ( MimeFilterGZip), HTML conversion (CamelMimeFilterToHtml), From-line escaping (MimeFilterFrom), and many others.


Namespace: Camel
Package: camel-1.2

Content:

Static methods:

Creation methods:

Methods:

Fields:

Inherited Members: