Class MD5Checksum


  • public class MD5Checksum
    extends Object
    A class that calculates the MD5 checksum of a file.
    Author:
    mcayanan
    • Constructor Detail

      • MD5Checksum

        public MD5Checksum()
    • Method Detail

      • getMD5Checksum

        public static String getMD5Checksum​(URL url)
                                     throws Exception
        Gets the MD5 checksum value.
        Parameters:
        url - The url to the file or resource.
        Returns:
        The MD5 checksum of the given filename.
        Throws:
        Exception - If an error occurred while calculating the checksum.