Class TextMD5Signature

  • All Implemented Interfaces:

    
    public class TextMD5Signature
    extends Signature
                        

    Default implementation of a page signature. It calculates an MD5 hash of the textual content of a page. In case there is no signature, it calculates a hash from the page's fetched content.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Array<byte> calculate(WebPage page) We need calculate signature using a more clean signature content, eg, extracted by signature-persist
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TextMD5Signature

        TextMD5Signature()
    • Method Detail

      • calculate

         Array<byte> calculate(WebPage page)

        We need calculate signature using a more clean signature content, eg, extracted by signature-persist