com.lazerycode.selenium.download
Class CheckFileHash
java.lang.Object
com.lazerycode.selenium.download.CheckFileHash
public class CheckFileHash
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CheckFileHash
public CheckFileHash()
fileToCheck
public void fileToCheck(File fileToCheck)
throws FileNotFoundException
- The File to perform a Hash check upon
- Parameters:
fileToCheck
-
- Throws:
FileNotFoundException
hashDetails
public void hashDetails(String hash,
HashType hashType)
- Hash details used to perform the Hash check
- Parameters:
hash
- hashType
-
hasAValidHash
public boolean hasAValidHash()
throws IOException,
org.apache.maven.plugin.MojoExecutionException
- Performs a expectedFileHash check on a File.
- Returns:
-
- Throws:
IOException
org.apache.maven.plugin.MojoExecutionException
Copyright © 2012. All Rights Reserved.