public static FileChannel newFileChannel(File file, String mode) throws FileNotFoundException {
        return new RandomAccessFile(file, mode).getChannel();
    }
@author Robert HG (254963746@qq.com) on 3/6/15.
lts-core/src/main/java/com/github/ltsopensource/core/commons/file/FileUtils.java