Package org.alfresco.repo.virtual.ref
Class HierarchicalPathHasher
java.lang.Object
org.alfresco.repo.virtual.ref.HierarchicalPathHasher
- All Implemented Interfaces:
PathHasher
- Direct Known Subclasses:
NumericPathHasher,StoredPathHasher
Creates and looks up hashes of '/' paths defining strings.
Paths are hashed using
Store defined hashes are matched for the longest possible sub-path of a given path. The remaining path is encoded using a Base64 encoder. The two resulted strings.
Paths are hashed using
HashStore defined hashes. Store defined hashes are matched for the longest possible sub-path of a given path. The remaining path is encoded using a Base64 encoder. The two resulted strings.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
HierarchicalPathHasher
public HierarchicalPathHasher()
-
-
Method Details
-
hashSubpath
-
lookupSubpathHash
-
hash
- Specified by:
hashin interfacePathHasher
-
lookup
- Specified by:
lookupin interfacePathHasher
-