gov.nasa.pds.harvest.file
Class ChecksumManifest

java.lang.Object
  extended by gov.nasa.pds.harvest.file.ChecksumManifest

public class ChecksumManifest
extends Object

Class that reads a checksum manifest file.

Author:
mcayanan

Constructor Summary
ChecksumManifest()
           
 
Method Summary
static HashMap<File,String> read(File manifest)
          Reads a checksum manifest file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChecksumManifest

public ChecksumManifest()
Method Detail

read

public static 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.


Copyright © 2010–2015 Planetary Data System. All rights reserved.