gpt4 book ai didi

com.blankj.util.ZipUtils.unzipFileByKeyword()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-13 12:25:52 27 4
gpt4 key购买 nike

本文整理了Java中com.blankj.util.ZipUtils.unzipFileByKeyword()方法的一些代码示例,展示了ZipUtils.unzipFileByKeyword()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZipUtils.unzipFileByKeyword()方法的具体详情如下:
包路径:com.blankj.util.ZipUtils
类名称:ZipUtils
方法名:unzipFileByKeyword

ZipUtils.unzipFileByKeyword介绍

[英]Unzip the file by keyword.
[中]按关键字解压文件。

代码示例

代码示例来源:origin: Blankj/AndroidUtilCode

/**
 * Unzip the file.
 *
 * @param zipFilePath The path of ZIP file.
 * @param destDirPath The path of destination directory.
 * @return the unzipped files
 * @throws IOException if unzip unsuccessfully
 */
public static List<File> unzipFile(final String zipFilePath,
                  final String destDirPath)
    throws IOException {
  return unzipFileByKeyword(zipFilePath, destDirPath, null);
}

代码示例来源:origin: Blankj/AndroidUtilCode

/**
 * Unzip the file.
 *
 * @param zipFile The ZIP file.
 * @param destDir The destination directory.
 * @return the unzipped files
 * @throws IOException if unzip unsuccessfully
 */
public static List<File> unzipFile(final File zipFile,
                  final File destDir)
    throws IOException {
  return unzipFileByKeyword(zipFile, destDir, null);
}

代码示例来源:origin: Blankj/AndroidUtilCode

/**
 * Unzip the file by keyword.
 *
 * @param zipFilePath The path of ZIP file.
 * @param destDirPath The path of destination directory.
 * @param keyword     The keyboard.
 * @return the unzipped files
 * @throws IOException if unzip unsuccessfully
 */
public static List<File> unzipFileByKeyword(final String zipFilePath,
                      final String destDirPath,
                      final String keyword)
    throws IOException {
  return unzipFileByKeyword(getFileByPath(zipFilePath), getFileByPath(destDirPath), keyword);
}

代码示例来源:origin: gradle.plugin.com.blankj/bus-gradle-plugin

/**
 * Unzip the file.
 *
 * @param zipFilePath The path of ZIP file.
 * @param destDirPath The path of destination directory.
 * @return the unzipped files
 * @throws IOException if unzip unsuccessfully
 */
public static List<File> unzipFile(final String zipFilePath,
                  final String destDirPath)
    throws IOException {
  return unzipFileByKeyword(zipFilePath, destDirPath, null);
}

代码示例来源:origin: gradle.plugin.com.blankj/bus-gradle-plugin

/**
 * Unzip the file.
 *
 * @param zipFile The ZIP file.
 * @param destDir The destination directory.
 * @return the unzipped files
 * @throws IOException if unzip unsuccessfully
 */
public static List<File> unzipFile(final File zipFile,
                  final File destDir)
    throws IOException {
  return unzipFileByKeyword(zipFile, destDir, null);
}

代码示例来源:origin: gradle.plugin.com.blankj/bus-gradle-plugin

/**
 * Unzip the file by keyword.
 *
 * @param zipFilePath The path of ZIP file.
 * @param destDirPath The path of destination directory.
 * @param keyword     The keyboard.
 * @return the unzipped files
 * @throws IOException if unzip unsuccessfully
 */
public static List<File> unzipFileByKeyword(final String zipFilePath,
                      final String destDirPath,
                      final String keyword)
    throws IOException {
  return unzipFileByKeyword(getFileByPath(zipFilePath), getFileByPath(destDirPath), keyword);
}

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com