Class 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
    • Constructor Detail

      • DualDigester

        public DualDigester()
    • Method Detail

      • 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()