|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.smila.connectivity.framework.util.ConnectivityHashFactory
public final class ConnectivityHashFactory
A factory to create Hash objects in Crawlers and Agents.
| Method Summary | |
|---|---|
java.lang.String |
createHash(AnyMap hashAttributesMap)
Create a hash object based on the given Attributes. |
java.lang.String |
createHash(AnyMap hashAttributeMap,
java.util.Map<java.lang.String,?> hashAttachments)
Create a hash object based on the given Attributes and Attachments. |
java.lang.String |
createHash(java.util.Map<java.lang.String,?> hashAttachments)
Create a hash object based on the given Attachments. |
java.lang.String |
createHash(java.lang.String value)
Computes a hash for the value. |
static ConnectivityHashFactory |
getInstance()
Returns the singleton instance of the HashFactory. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ConnectivityHashFactory getInstance()
public java.lang.String createHash(AnyMap hashAttributesMap)
hashAttributesMap - an AnyMap of attributes whose values are used to create the hash. Must not be null or empty.
public java.lang.String createHash(java.util.Map<java.lang.String,?> hashAttachments)
hashAttachments - a Map of attachment names and attachment String values, that are used to create the hash. Must not be null
or empty.
public java.lang.String createHash(AnyMap hashAttributeMap,
java.util.Map<java.lang.String,?> hashAttachments)
hashAttributeMap - an AnyMap of attributes whose values are used to create the hashhashAttachments - a Map of attachment names and attachment String values, that are used to create the hash.
public java.lang.String createHash(java.lang.String value)
value - the value to compute the hash for.
|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||