Class FileZipper

java.lang.Object
com.seeq.utilities.process.FileZipper

public class FileZipper extends Object
This utility class is used to zip one or more directories.
  • Constructor Details

    • FileZipper

      public FileZipper()
  • Method Details

    • zipDirectory

      public static File zipDirectory(Path... inputDirectories) throws IOException
      Zips the given directories.
      Parameters:
      inputDirectories - The directories to add to the archive.
      Returns:
      A reference to a zipped file.
      Throws:
      IOException - If something goes amiss.