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) |
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
public static String md5ToHex(byte[] hash)
Copyright © 2015 Nuxeo SA. All rights reserved.