com.metsci.glimpse.dspl.util
Class MD5Checksum
java.lang.Object
com.metsci.glimpse.dspl.util.MD5Checksum
public class MD5Checksum
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MD5Checksum
public MD5Checksum()
createChecksum
public static byte[] createChecksum(java.io.InputStream in)
throws java.security.NoSuchAlgorithmException,
java.io.IOException
- Throws:
java.security.NoSuchAlgorithmException
java.io.IOException
createChecksum
public static byte[] createChecksum(java.lang.String filename)
throws java.security.NoSuchAlgorithmException,
java.io.FileNotFoundException,
java.io.IOException
- Throws:
java.security.NoSuchAlgorithmException
java.io.FileNotFoundException
java.io.IOException
getMD5Checksum
public static java.lang.String getMD5Checksum(java.lang.String filename)
throws java.security.NoSuchAlgorithmException,
java.io.FileNotFoundException,
java.io.IOException
- Throws:
java.security.NoSuchAlgorithmException
java.io.FileNotFoundException
java.io.IOException
getMD5Checksum
public static java.lang.String getMD5Checksum(java.io.InputStream in)
throws java.security.NoSuchAlgorithmException,
java.io.IOException
- Throws:
java.security.NoSuchAlgorithmException
java.io.IOException
getMD5Checksum
public static java.lang.String getMD5Checksum(byte[] b)
Copyright © 2012 Metron, Inc.. All Rights Reserved.