01: package net.matuschek.http;
02:
03: import java.io.IOException;
04: import java.net.URL;
05:
06: /**
07: * Abstract base class for HttpDocManagers.
08: * Implements all methods (empty) of HttpDocManager
09: *
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 url) {
28: }
29:
30: /**
31: * Empty implementation.
32: * @see net.matuschek.http.HttpDocManager#findDuplicate(net.matuschek.http.HttpDoc)
33: */
34: public String findDuplicate(HttpDoc doc) throws IOException {
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 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: }
|