public class CheckSummer
extends java.lang.Object
Constructor and Description |
---|
CheckSummer() |
Modifier and Type | Method and Description |
---|---|
boolean |
compare(java.io.FileInputStream fis,
java.lang.String hexToCompare) |
boolean |
compare(java.io.File file,
java.lang.String hexToCompare) |
boolean |
compare(java.lang.String fileName,
java.lang.String hexToCompare) |
static java.lang.String |
getMD5Hex(byte[] bytes) |
java.lang.String |
getMD5Hex(java.io.File file) |
static java.lang.String |
getMD5Hex(java.io.FileInputStream fis) |
java.lang.String |
getMD5Hex(java.lang.String fileName) |
static void |
main(java.lang.String[] arg) |
public java.lang.String getMD5Hex(java.lang.String fileName) throws java.io.IOException
java.io.IOException
public java.lang.String getMD5Hex(java.io.File file) throws java.io.IOException
java.io.IOException
public boolean compare(java.lang.String fileName, java.lang.String hexToCompare) throws java.io.IOException
java.io.IOException
public boolean compare(java.io.File file, java.lang.String hexToCompare) throws java.io.IOException
java.io.IOException
public boolean compare(java.io.FileInputStream fis, java.lang.String hexToCompare) throws java.io.IOException
java.io.IOException
public static java.lang.String getMD5Hex(java.io.FileInputStream fis) throws java.io.IOException
java.io.IOException
public static java.lang.String getMD5Hex(byte[] bytes) throws java.io.IOException
java.io.IOException
public static void main(java.lang.String[] arg)
Copyright © 2004-2014 The YAWL Foundation.