public class IOUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static File |
backup(org.nuxeo.connect.update.LocalPackage pkg,
File file)
Backup the given file to the package backup directory.
|
static String |
createMd5(File file) |
static String |
createMd5(String text) |
protected static MessageDigest |
getMD5Digest() |
static String |
md5ToHex(byte[] hash) |
public static File backup(org.nuxeo.connect.update.LocalPackage pkg, File file) throws IOException
IOExceptionpublic static String createMd5(String text) throws IOException
IOExceptionpublic static String createMd5(File file) throws IOException
IOExceptionprotected static MessageDigest getMD5Digest() throws IOException
IOExceptionCopyright © 2019 Nuxeo. All rights reserved.