org.apache.nutch.net.urlnormalizer.pass
Class PassURLNormalizer

java.lang.Object
  extended by 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

Field Summary
 
Fields inherited from interface org.apache.nutch.net.URLNormalizer
X_POINT_ID
 
Constructor Summary
PassURLNormalizer()
           
 
Method Summary
 org.apache.hadoop.conf.Configuration getConf()
           
 String normalize(String urlString, String scope)
           
 void setConf(org.apache.hadoop.conf.Configuration conf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PassURLNormalizer

public PassURLNormalizer()
Method Detail

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