Class ChecksumManifest


  • public class ChecksumManifest
    extends Object
    Class that reads a checksum manifest file.
    Author:
    mcayanan
    • Constructor Detail

      • ChecksumManifest

        public ChecksumManifest​(String basePath)
        Constructor.
        Parameters:
        basePath - A base path for resolving relative file references.
    • Method Detail

      • read

        public HashMap<File,​String> read​(File manifest)
                                        throws IOException
        Reads a checksum manifest file.
        Parameters:
        manifest - The checksum manifest.
        Returns:
        A hash map of absolute file pathnames to checksum values.
        Throws:
        IOException - If there was an error reading the checksum manifest.