public class SSDeepHashMatcher extends java.lang.Object implements FuzzyHashMatcher
| Constructor and Description |
|---|
SSDeepHashMatcher() |
SSDeepHashMatcher(ComponentLog logger) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getHash(java.lang.String line) |
java.lang.String |
getMatch(java.lang.String line) |
java.io.BufferedReader |
getReader(java.lang.String source) |
double |
getSimilarity(java.lang.String inputHash,
java.lang.String existingHash) |
boolean |
isValidHash(java.lang.String inputHash) |
boolean |
matchExceedsThreshold(double similarity,
double matchThreshold) |
public SSDeepHashMatcher()
public SSDeepHashMatcher(ComponentLog logger)
public java.io.BufferedReader getReader(java.lang.String source)
throws java.io.IOException
getReader in interface FuzzyHashMatcherjava.io.IOExceptionpublic boolean matchExceedsThreshold(double similarity,
double matchThreshold)
matchExceedsThreshold in interface FuzzyHashMatcherpublic double getSimilarity(java.lang.String inputHash,
java.lang.String existingHash)
getSimilarity in interface FuzzyHashMatcherpublic boolean isValidHash(java.lang.String inputHash)
isValidHash in interface FuzzyHashMatcherpublic java.lang.String getHash(java.lang.String line)
getHash in interface FuzzyHashMatcherpublic java.lang.String getMatch(java.lang.String line)
getMatch in interface FuzzyHashMatcher