org.apache.nutch.net
Class BasicUrlNormalizer

java.lang.Object
  extended byorg.apache.nutch.net.BasicUrlNormalizer
All Implemented Interfaces:
Configurable, UrlNormalizer
Direct Known Subclasses:
RegexUrlNormalizer

public class BasicUrlNormalizer
extends Object
implements UrlNormalizer

Converts URLs to a normal form .


Field Summary
static org.apache.commons.logging.Log LOG
           
 
Constructor Summary
BasicUrlNormalizer()
           
 
Method Summary
 Configuration getConf()
           
 String normalize(String urlString)
           
 void setConf(Configuration conf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

public static final org.apache.commons.logging.Log LOG
Constructor Detail

BasicUrlNormalizer

public BasicUrlNormalizer()
Method Detail

normalize

public String normalize(String urlString)
                 throws MalformedURLException
Specified by:
normalize in interface UrlNormalizer
Throws:
MalformedURLException

setConf

public void setConf(Configuration conf)
Specified by:
setConf in interface Configurable

getConf

public Configuration getConf()
Specified by:
getConf in interface Configurable


Copyright © 2006 The Apache Software Foundation