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