KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > matuschek > spider > docfilter > DocumentFilter


1 package net.matuschek.spider.docfilter;
2
3 /*********************************************
4     Copyright (c) 2001 by Daniel Matuschek
5 *********************************************/

6
7 import net.matuschek.http.HttpDoc;
8
9 /**
10  * This interface defines a filter for a HTTP document.
11  * Objects that implement this interface will do some kind
12  * of transformation on the document.
13  *
14  * @author Daniel Matuschek
15  * @version $Revision: 1.5 $
16  */

17 public interface DocumentFilter
18 {
19
20   /**
21    * This method filters (transforms) an HttpDoc
22    */

23   HttpDoc process(HttpDoc input) throws FilterException;
24
25 }
26
Popular Tags