KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > matuschek > http > AbstractHttpDocManager


1 package net.matuschek.http;
2
3 import java.io.IOException JavaDoc;
4 import java.net.URL JavaDoc;
5
6 /**
7  * Abstract base class for HttpDocManagers.
8  * Implements all methods (empty) of HttpDocManager
9  *
10  * @author oliver_schmidt
11  * @version $Id:
12  */

13
14 public abstract class AbstractHttpDocManager implements HttpDocManager {
15
16 /**
17  * Empty implementation.
18  * @see net.matuschek.http.HttpDocManager#storeDocument(net.matuschek.http.HttpDoc)
19  */

20     public void storeDocument(HttpDoc doc) throws DocManagerException {
21     }
22
23     /**
24      * Empty implementation.
25      * @see net.matuschek.http.HttpDocManager#removeDocument(java.net.URL)
26      */

27     public void removeDocument(URL JavaDoc url) {
28     }
29
30     /**
31      * Empty implementation.
32      * @see net.matuschek.http.HttpDocManager#findDuplicate(net.matuschek.http.HttpDoc)
33      */

34     public String JavaDoc findDuplicate(HttpDoc doc) throws IOException JavaDoc {
35         return null;
36     }
37
38     /**
39      * Empty implementation.
40      * @see net.matuschek.http.HttpDocManager#finish()
41      */

42     public void finish() {
43     }
44     
45     /**
46      * Empty implementation.
47      * @see net.matuschek.http.HttpDocManager#retrieveFromCache(java.net.URL)
48      */

49     public HttpDoc retrieveFromCache(URL JavaDoc u) {
50         return null;
51     }
52     
53     /**
54      * Empty implementation.
55      * @see net.matuschek.http.HttpDocManager#processDocument(net.matuschek.http.HttpDoc)
56      */

57     public void processDocument(HttpDoc doc) throws DocManagerException {
58     }
59
60 }
61
Popular Tags