1 2 3 4 package net.nutch.db; 5 6 import java.io.*; 7 import java.util.*; 8 9 import net.nutch.pagedb.*; 10 import net.nutch.linkdb.*; 11 12 29 public interface IWebDBWriter { 30 33 public void close() throws IOException; 34 35 47 public void addPage(Page page) throws IOException; 48 49 57 public void addPageWithScore(Page page) throws IOException; 58 59 65 public void addPageIfNotPresent(Page page) throws IOException; 66 67 71 public void addPageIfNotPresent(Page page, Link link) throws IOException; 72 73 77 public void deletePage(String url) throws IOException; 78 79 96 public void addLink(Link link) throws IOException; 97 } 98 | Popular Tags |