1 package net.javacoding.jspider.core.event; 2 3 4 import net.javacoding.jspider.core.event.impl.*; 5 6 import java.net.URL ; 7 8 9 15 public interface CoreEventVisitor { 16 17 public void visit(URL url, CoreEvent event); 18 19 public void visit(URL url, URLSpideredOkEvent event); 20 21 public void visit(URL url, URLSpideredErrorEvent event); 22 23 public void visit(URL url, ResourceParsedOkEvent event); 24 25 public void visit(URL url, ResourceParsedErrorEvent event); 26 27 public void visit(URL url, URLFoundEvent event); 28 29 public void visit(URL url, RobotsTXTSpideredOkEvent event); 30 31 public void visit(URL url, RobotsTXTSpideredErrorEvent event); 32 33 public void visit(URL url, RobotsTXTUnexistingEvent event); 34 35 } 36 | Popular Tags |