|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.plexus.logging.AbstractLogEnabled
org.apache.maven.shared.jar.identification.hash.JarFileHashAnalyzer
public class JarFileHashAnalyzer
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 callsetDigester(org.codehaus.plexus.digest.Digester)
before use
Constructor Summary | |
---|---|
JarFileHashAnalyzer()
|
Method Summary | |
---|---|
java.lang.String |
computeHash(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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JarFileHashAnalyzer()
Method Detail |
---|
public java.lang.String computeHash(JarAnalyzer jarAnalyzer)
JarHashAnalyzer
computeHash
in interface JarHashAnalyzer
jarAnalyzer
- the JAR analyzer to use to obtain the entries to hash
public void setDigester(org.codehaus.plexus.digest.Digester digester)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |