Class ZipUtils


  • public class ZipUtils
    extends Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ZipUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static byte[] fromGzip​(byte[] gzipBytes)  
      static byte[] toGzip​(byte[] bytes)  
      static boolean zipDirectory​(String srcDir, String destDir, String zipFileName)  
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ZipUtils

        public ZipUtils()
    • Method Detail

      • toGzip

        public static byte[] toGzip​(byte[] bytes)
      • fromGzip

        public static byte[] fromGzip​(byte[] gzipBytes)
      • zipDirectory

        public static boolean zipDirectory​(String srcDir,
                                           String destDir,
                                           String zipFileName)