org.apache.maven.plugin.install
Class Utils

java.lang.Object
  extended byorg.apache.maven.plugin.install.Utils

public class Utils
extends java.lang.Object

A utility class to assist testing.

Version:
$Id: Utils.java 730530 2009-01-01 11:40:02Z bentmann $
Author:
Benjamin Bentmann

Constructor Summary
Utils()
           
 
Method Summary
static void verifyChecksum(java.io.File checksumFile)
          Verifies a checksum file in the local repo.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utils

public Utils()
Method Detail

verifyChecksum

public static void verifyChecksum(java.io.File checksumFile)
                           throws java.lang.Exception
Verifies a checksum file in the local repo.

Parameters:
checksumFile - The checksum file to verify, must not be null.
Throws:
java.lang.Exception - If the verification failed.


Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.