public class MD5BinaryFileUtils
extends java.lang.Object
| Constructor and Description |
|---|
MD5BinaryFileUtils() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
createChecksum(java.io.File the_file) |
static java.lang.String |
getMD5Checksum(java.io.File the_file)
In case this is too slow for you:
There are faster ways to convert
a byte array to a HEX string
|
static java.lang.String |
getMD5InRemoteFile(java.net.URL remote_file)
Gets the MD5 string of a md5 file which is associated with
the file provided.
|
public static java.lang.String getMD5InRemoteFile(java.net.URL remote_file)
remote_file - the file that has a ".md5" file next to itpublic static byte[] createChecksum(java.io.File the_file)
throws java.lang.Exception
java.lang.Exceptionpublic static java.lang.String getMD5Checksum(java.io.File the_file)
throws java.lang.Exception
the_file - the input filejava.lang.Exception