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
IOException
public static String createMd5(String text) throws IOException
IOException
public static String createMd5(File file) throws IOException
IOException
protected static MessageDigest getMD5Digest() throws IOException
IOException
Copyright © 2016 Nuxeo SA. All rights reserved.