Class ZipUtils


  • public class ZipUtils
    extends java.lang.Object
    This utility class is currently used for compress/uncompress utilities.
    • Constructor Summary

      Constructors 
      Constructor Description
      ZipUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void compressDirectories​(java.lang.String[] paths, java.lang.String zipPath)
      compress directories to a zip file
      • Methods inherited from class java.lang.Object

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

      • ZipUtils

        public ZipUtils()
    • Method Detail

      • compressDirectories

        public static void compressDirectories​(java.lang.String[] paths,
                                               java.lang.String zipPath)
                                        throws java.io.FileNotFoundException,
                                               java.io.IOException
        compress directories to a zip file
        Parameters:
        paths - list of paths to be compressed
        zipPath - output path of the result zip file
        Throws:
        java.io.FileNotFoundException
        java.io.IOException