org.apache.geronimo.system.configuration
Class ConfigurationStoreUtil
java.lang.Object
org.apache.geronimo.system.configuration.ConfigurationStoreUtil
public class ConfigurationStoreUtil
- extends Object
Utility methods for dealing with checksums (hashes) of files in the
configuration store.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigurationStoreUtil
public ConfigurationStoreUtil()
writeChecksumFor
public static void writeChecksumFor(File file)
throws IOException
- Throws:
IOException
verifyChecksum
public static boolean verifyChecksum(File file)
getExpectedChecksum
public static String getExpectedChecksum(File file)
getActualChecksum
public static String getActualChecksum(File file)
getActualChecksum
public static String getActualChecksum(File file,
String algorithm)
Copyright © 2006 Apache Software Foundation. All Rights Reserved.