org.apache.nutch.crawl
Class Injector.InjectMapper

java.lang.Object
  extended by org.apache.nutch.crawl.Injector.InjectMapper
All Implemented Interfaces:
Closeable, JobConfigurable, Mapper
Enclosing class:
Injector

public static class Injector.InjectMapper
extends Object
implements Mapper

Normalize and filter injected urls.


Constructor Summary
Injector.InjectMapper()
           
 
Method Summary
 void close()
           
 void configure(JobConf job)
           
 void map(WritableComparable key, Writable val, OutputCollector output, Reporter reporter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Injector.InjectMapper

public Injector.InjectMapper()
Method Detail

configure

public void configure(JobConf job)
Specified by:
configure in interface JobConfigurable

close

public void close()
Specified by:
close in interface Closeable

map

public void map(WritableComparable key,
                Writable val,
                OutputCollector output,
                Reporter reporter)
         throws IOException
Specified by:
map in interface Mapper
Throws:
IOException


Copyright © 2006 The Apache Software Foundation