org.apache.nutch.crawl
Class Injector.InjectMapper
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Injector.InjectMapper
public Injector.InjectMapper()
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