org.apache.nutch.net.urlnormalizer.pass
Class PassURLNormalizer
java.lang.Object
org.apache.nutch.net.urlnormalizer.pass.PassURLNormalizer
- All Implemented Interfaces:
- org.apache.hadoop.conf.Configurable, URLNormalizer
public class PassURLNormalizer
- extends Object
- implements URLNormalizer
This URLNormalizer doesn't change urls. It is sometimes useful if for a given
scope at least one normalizer must be defined but no transformations are required.
- Author:
- Andrzej Bialecki
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PassURLNormalizer
public PassURLNormalizer()
normalize
public String normalize(String urlString,
String scope)
throws MalformedURLException
- Specified by:
normalize
in interface URLNormalizer
- Throws:
MalformedURLException
getConf
public org.apache.hadoop.conf.Configuration getConf()
- Specified by:
getConf
in interface org.apache.hadoop.conf.Configurable
setConf
public void setConf(org.apache.hadoop.conf.Configuration conf)
- Specified by:
setConf
in interface org.apache.hadoop.conf.Configurable
Copyright © 2013 The Apache Software Foundation