add


Description:

public int add (MimeFilter filter)

Add a new MimeFilter to execute during the processing of this stream.

Each filter added is processed after the previous one.

Note that a filter should only be added to a single stream at a time, otherwise unpredictable results may occur.

Parameters:

this

a StreamFilter object

filter

a MimeFilter object

Returns:

a filter id for the added filter.