KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > portal > format > parser > chars > Filter


1 /*****************************************
2  * *
3  * JBoss Portal: The OpenSource Portal *
4  * *
5  * Distributable under LGPL license. *
6  * See terms of license at gnu.org. *
7  * *
8  *****************************************/

9
10 package org.jboss.portal.format.parser.chars;
11
12 import java.io.IOException JavaDoc;
13 import java.io.Reader JavaDoc;
14 import java.io.Writer JavaDoc;
15
16 /**
17  * Filter an input stream and produce the result into an output stream.
18  * The implementations of this interface must be stateless.
19  *
20  * @author <a HREF="mailto:julien@jboss.org">Julien Viet</a>
21  * @version $Revision: 1.2 $
22  */

23 public interface Filter
24 {
25    /**
26     * Filters.
27     */

28    void filter(Reader JavaDoc in, Writer JavaDoc out) throws IOException JavaDoc;
29 }
30
Popular Tags