## CamelFilterInputStream CamelFilterInputStream — Filtered input stream |

## Synopsis

    #include <camel/camel.h>

    struct              CamelFilterInputStream;
    GInputStream *      camel_filter_input_stream_new       (GInputStream *base_stream,
                                                             CamelMimeFilter *filter);
    CamelMimeFilter *   camel_filter_input_stream_get_filter
                                                            (CamelFilterInputStream *filter_stream);

## Object Hierarchy

      GObject
       +----GInputStream
             +----GFilterInputStream
                   +----CamelFilterInputStream

## Properties

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

## Description

CamelFilterInputStream is similar to GConverterInputStream, 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 CamelFilterInputStream

    struct CamelFilterInputStream;

### camel_filter_input_stream_new ()

    GInputStream *      camel_filter_input_stream_new       (GInputStream *base_stream,
                                                             CamelMimeFilter *filter);

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

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

Since 3.12

### camel_filter_input_stream_get_filter ()

    CamelMimeFilter *   camel_filter_input_stream_get_filter
                                                            (CamelFilterInputStream *filter_stream);

Gets the CamelMimeFilter that is used by `filter_stream`.

`filter_stream` : | a CamelFilterInputStream
Returns : | a CamelMimeFilter

Since 3.12

## Property Details

### The `"filter"` property

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

The MIME filter object.

## See Also

GInputStream, CamelMimeFilter