public class FileArchiver extends Object
| Constructor and Description |
|---|
FileArchiver(FilePath basePath,
Collection<File> filesList,
String outputFileName)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
zipFiles()
Zip files without specifying a base path - may create overly large directory tree in zip
|
void |
zipFiles(String base_path)
Zip files to ship to oak9
|
public FileArchiver(FilePath basePath, Collection<File> filesList, String outputFileName)
basePath - filesList - outputFileName - public void zipFiles()
throws IOException
IOException - thrown in the event that the zip file cannot be createdpublic void zipFiles(String base_path) throws IOException
base_path - the path from which to start scanning for IaC filesIOException - thrown in the event that zip file cannot be createdCopyright © 2016–2021. All rights reserved.