Filter object

In object-oriented programming, a filter object is an object which receives a stream of data as its input and produces the stream of data as its output based on the data from input stream. So a filter object filters input data transforming it into output data.

Often the input and output streams are streams of characters, but these also may be streams of arbitrary objects. These are generally used in wrappers since they conceal the existing implementation with the abstraction required at the developer side.

This article is issued from Wikipedia - version of the 9/17/2015. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.