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 SummaryConstructors Constructor Description ChecksumManifest(String basePath)Constructor.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description HashMap<File,String>read(File manifest)Reads a checksum manifest file.
 
- 
- 
- 
Constructor Detail- 
ChecksumManifestpublic ChecksumManifest(String basePath) Constructor.- Parameters:
- basePath- A base path for resolving relative file references.
 
 
- 
 - 
Method Detail- 
readpublic 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.
 
 
- 
 
-