org.apache.nutch.crawl
Class Signature

java.lang.Object
  extended by org.apache.nutch.crawl.Signature
All Implemented Interfaces:
org.apache.hadoop.conf.Configurable
Direct Known Subclasses:
MD5Signature, TextProfileSignature

public abstract class Signature
extends Object
implements org.apache.hadoop.conf.Configurable


Field Summary
protected  org.apache.hadoop.conf.Configuration conf
           
 
Constructor Summary
Signature()
           
 
Method Summary
abstract  byte[] calculate(Content content, Parse parse)
           
 org.apache.hadoop.conf.Configuration getConf()
           
 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
 

Field Detail

conf

protected org.apache.hadoop.conf.Configuration conf
Constructor Detail

Signature

public Signature()
Method Detail

calculate

public abstract byte[] calculate(Content content,
                                 Parse parse)

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 © 2006 The Apache Software Foundation