added URLNormalizer

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150783 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
cmarschner 2002-06-17 14:16:12 +00:00
parent 8e18fa1cb0
commit 8ed5fa47fd
1 changed files with 3 additions and 2 deletions

View File

@ -57,6 +57,7 @@ package de.lanlab.larm.util;
import java.net.URL;
import de.lanlab.larm.fetcher.URLMessage;
import de.lanlab.larm.net.HostManager;
/**
* a web document of whatever type. generated by a fetcher task
@ -69,9 +70,9 @@ public class WebDocument extends URLMessage
protected int size;
protected String title;
public WebDocument(URL url, String mimeType, byte[] document, int resultCode, URL referer, int size, String title)
public WebDocument(URL url, String mimeType, byte[] document, int resultCode, URL referer, int size, String title, HostManager hm)
{
super(url, referer, false, null);
super(url, referer, false, null, hm);
this.url = url;
this.mimeType = mimeType;
this.document = document;