public class Utils extends Object
Modifier and Type | Field and Description |
---|---|
static List<String> |
CHECKSUM_ALGORITHMS |
Constructor and Description |
---|
Utils() |
Modifier and Type | Method and Description |
---|---|
static void |
verifyChecksum(File file)
Verifies the checksum files in the local repo for the given file.
|
public static void verifyChecksum(File file) throws MojoExecutionException, IOException
file
- The file to verify its checksum with, must not be null
.MojoExecutionException
- In case the checksums were incorrect.IOException
- If the files couldn't be read.Copyright © 2004–2018 The Apache Software Foundation. All rights reserved.