org.apache.maven.plugin.install
Class DualDigester
java.lang.Object
org.apache.maven.plugin.install.DualDigester
public class DualDigester
- extends Object
Calculates md5 and sha1 digest.
Todo: Consider using a thread to calculate one of the digests when the files are large; it's fairly slow !
- Author:
- Kristian Rosenvold
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DualDigester
public DualDigester()
calculate
public void calculate(File file)
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
getMd5
public String getMd5()
getSha1
public String getSha1()
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.