com.spinn3r.api.util
Class Hashcode

java.lang.Object
  extended by com.spinn3r.api.util.Hashcode

public class Hashcode
extends java.lang.Object


Field Summary
static int HASH_WIDTH
           
 
Constructor Summary
Hashcode()
           
 
Method Summary
static java.lang.String getHashcode(java.lang.String resource)
          Compute a hashcode for the given resource URL.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HASH_WIDTH

public static final int HASH_WIDTH
See Also:
Constant Field Values
Constructor Detail

Hashcode

public Hashcode()
Method Detail

getHashcode

public static java.lang.String getHashcode(java.lang.String resource)
Compute a hashcode for the given resource URL. This is truncated MD5 with Base64 encoding.



Copyright © Tailrank Inc. All Rights Reserved.