类 ZipUtils

java.lang.Object
org.beangle.ems.util.ZipUtils

public final class ZipUtils extends Object

ZipUtils class.

版本:
$Id: $
作者:
chaostone
  • 方法详细资料

    • zip

      public static File zip(List<String> fileNames, String zipPath)

      zip.

      参数:
      fileNames - a List object.
      zipPath - a String object.
      返回:
      a File object.
    • zip

      public static File zip(List<String> fileNames, String zipPath, String encoding)

      zip.

      参数:
      fileNames - a List object.
      zipPath - a String object.
      encoding - a String object.
      返回:
      a File object.
    • unzip

      public static List<String> unzip(File zipFile, String destination)

      unzip.

      参数:
      zipFile - a File object.
      destination - a String object.
      返回:
      a List object.
    • unzip

      public static List<String> unzip(File zipFile, String destination, String encoding)

      unzip.

      参数:
      zipFile - a File object.
      destination - a String object.
      encoding - a String object.
      返回:
      a List object.
    • isZipFile

      public static boolean isZipFile(File zipFile)

      isZipFile.

      参数:
      zipFile - a File object.
      返回:
      a boolean.