Update of /cvsroot/nutch/nutch/src/java/net/nutch/net/protocols
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2281/src/java/net/nutch/net/protocols
Modified Files:
Response.java
Log Message:
Added a new command, crawl, that constructs a database, injects a url
file and performs a few rounds of generate/fetch/updatedb. This
simplifies use for intranet sites. Changed some defaults to be
more intranet friendly.
Also fixed a bug where Fetcher.java didn't construct correct relative links
when a page was redirected.
Index: Response.java
===================================================================
RCS file: /cvsroot/nutch/nutch/src/java/net/nutch/net/protocols/Response.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Response.java 13 Feb 2004 19:53:49 -0000 1.1
--- Response.java 21 Apr 2004 22:52:10 -0000 1.2
***************
*** 4,11 ****
--- 4,17 ----
package net.nutch.net.protocols;
+ import java.net.URL;
+
+
/** A response inteface. Makes all protocols model HTTP. */
public interface Response {
+ /** Returns the URL used to retrieve this response. */
+ public URL getUrl();
+
/** Returns the response code. */
public int getCode();
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Nutch-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nutch-cvs