org.apache.nutch.net.urlnormalizer.basic
Class BasicURLNormalizer

java.lang.Object
  extended by org.apache.nutch.net.urlnormalizer.basic.BasicURLNormalizer
All Implemented Interfaces:
Configurable, URLNormalizer

public class BasicURLNormalizer
extends Object
implements URLNormalizer

Converts URLs to a normal form .


Field Summary
static org.slf4j.Logger LOG
           
 
Fields inherited from interface org.apache.nutch.net.URLNormalizer
X_POINT_ID
 
Constructor Summary
BasicURLNormalizer()
           
 
Method Summary
 Configuration getConf()
           
 String normalize(String urlString, String scope)
           
 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.slf4j.Logger LOG
Constructor Detail

BasicURLNormalizer

public BasicURLNormalizer()
Method Detail

normalize

public String normalize(String urlString,
                        String scope)
                 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 © 2012 The Apache Software Foundation