Class FileArchiver


  • public class FileArchiver
    extends Object
    • Constructor Detail

      • FileArchiver

        public FileArchiver​(FilePath basePath,
                            Collection<File> filesList,
                            String outputFileName)
        Constructor
        Parameters:
        basePath -
        filesList -
        outputFileName -
    • Method Detail

      • zipFiles

        public void zipFiles()
                      throws IOException
        Zip files without specifying a base path - may create overly large directory tree in zip
        Throws:
        IOException - thrown in the event that the zip file cannot be created
      • zipFiles

        public void zipFiles​(String base_path)
                      throws IOException
        Zip files to ship to oak9
        Parameters:
        base_path - the path from which to start scanning for IaC files
        Throws:
        IOException - thrown in the event that zip file cannot be created