org.extex.scanner.stream
Interface OutputStreamInterceptor


public interface OutputStreamInterceptor

This interface describes the ability to manipulate an OutputStream by attaching additional processing units in a pipe manner.

Version:
$Revision:5563 $
Author:
Gerd Neugebauer

Method Summary
 java.io.OutputStream pipe(java.io.OutputStream stream)
          Attach a processor to an output stream.
 

Method Detail

pipe

java.io.OutputStream pipe(java.io.OutputStream stream)
Attach a processor to an output stream. If the decorator decides that no additional pipe element is required it should simply return the output stream.

Parameters:
stream - the stream to add some processing unit to
Returns:
the new output stream. This value should never be null.