Class JarFileHashAnalyzer
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.apache.maven.shared.jar.identification.hash.JarFileHashAnalyzer
- All Implemented Interfaces:
JarHashAnalyzer
,org.codehaus.plexus.logging.LogEnabled
public class JarFileHashAnalyzer
extends org.codehaus.plexus.logging.AbstractLogEnabled
implements JarHashAnalyzer
Analyzer that calculates the hash code for the entire file. Can be used to detect an exact copy of the file.
If you are not using Plexus, you must call
setDigester(org.codehaus.plexus.digest.Digester)
before use-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncomputeHash
(JarAnalyzer jarAnalyzer) Compute the hash for the JAR.void
setDigester
(org.codehaus.plexus.digest.Digester digester) Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Constructor Details
-
JarFileHashAnalyzer
public JarFileHashAnalyzer()
-
-
Method Details
-
setDigester
public void setDigester(org.codehaus.plexus.digest.Digester digester)