java.lang.Object
com.yuzhyn.azylee.core.ios.zips.ZipTool

public class ZipTool extends Object
  • 构造器详细资料

    • ZipTool

      public ZipTool()
  • 方法详细资料

    • zip

      public static boolean zip() throws IOException
      压缩(未测试)
      返回:
      返回 返回
      抛出:
      IOException - 异常
    • unzip

      public static void unzip(String zipFilePath, String targetPath, String targetFolder) throws IOException
      解压zip文件
      参数:
      zipFilePath - 输入的zip文件路径
      targetPath - 输出的文件夹路径,不存在会则创建
      targetFolder - 输出的文件名
      抛出:
      IOException - 当然报io错误咯
    • main

      public static void main(String[] args) throws IOException
      抛出:
      IOException