Package gov.nasa.pds.harvest.search.file
Class ChecksumManifest
- java.lang.Object
-
- gov.nasa.pds.harvest.search.file.ChecksumManifest
-
public class ChecksumManifest extends Object
Class that reads a checksum manifest file.- Author:
- mcayanan
-
-
Constructor Summary
Constructors Constructor Description ChecksumManifest(String basePath)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HashMap<File,String>
read(File manifest)
Reads a checksum manifest file.
-
-
-
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.
-
-