## CamelFilterOutputStream

CamelFilterOutputStream — Filtered output stream

## Synopsis

    #include <camel/camel.h>

    struct              CamelFilterOutputStream;
    GOutputStream *     camel_filter_output_stream_new      (GOutputStream *base_stream,
                                                             CamelMimeFilter *filter);
    CamelMimeFilter *   camel_filter_output_stream_get_filter
                                                            (CamelFilterOutputStream *filter_stream);

## Object Hierarchy

      GObject
       +----GOutputStream
             +----GFilterOutputStream
                   +----CamelFilterOutputStream

## Properties

      "filter"                   CamelMimeFilter*      : Read / Write / Construct Only

## Description

CamelFilterOutputStream is similar to GConverterOutputStream, except it operates on a CamelMimeFilter instead of a GConverter.

This class is meant to be a temporary solution until all of Camel's MIME filters are ported to the GConverter interface.

## Details

### struct CamelFilterOutputStream

    struct CamelFilterOutputStream;

### camel_filter_output_stream_new ()

    GOutputStream *     camel_filter_output_stream_new      (GOutputStream *base_stream,
                                                             CamelMimeFilter *filter);

Creates a new filtered output stream for the `base_stream`.

`base_stream` : | a GOutputStream
`filter` : | a CamelMimeFilter
Returns : | a new GOutputStream

Since 3.12

### camel_filter_output_stream_get_filter ()

    CamelMimeFilter *   camel_filter_output_stream_get_filter
                                                            (CamelFilterOutputStream *filter_stream);

Gets the CamelMimeFilter that is used by `filter_stream`.

`filter_stream` : | a CamelFilterOutputStream
Returns : | a CamelMimeFilter

Since 3.12

## Property Details

### The `"filter"` property

      "filter"                   CamelMimeFilter*      : Read / Write / Construct Only

The MIME filter object.

## See Also

GOutputStream, CamelMimeFilter