org.apache.nutch.net.urlnormalizer.basic
Class BasicURLNormalizer
java.lang.Object
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
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
public static final org.slf4j.Logger LOG
BasicURLNormalizer
public BasicURLNormalizer()
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