public final class FileChecksum extends Object
| Constructor and Description |
|---|
FileChecksum() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getChecksum(InputStream fis)
MD5-Checksum for a file.
|
static String |
getChecksum(String string)
MD5-Checksum for a string.
|
public static String getChecksum(String string) throws Exception
string - chain to calculate ChecksumException - exceptionpublic static String getChecksum(InputStream fis) throws Exception
fis - InputStreamException - exceptionCopyright © 2003–2017 eXo Platform SAS. All rights reserved.