Class ZipService
- java.lang.Object
-
- io.jenkins.plugins.propelo.commons.service.ZipService
-
public class ZipService extends Object
-
-
Constructor Summary
Constructors Constructor Description ZipService()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static File
newFile(File destinationDir, ZipEntry zipEntry)
void
unZip(File sourceZipFile, File unzipDestinationDir)
void
zipDirectory(File sourceDirectory, File outputZipFile)
-
-
-
Method Detail
-
zipDirectory
public void zipDirectory(File sourceDirectory, File outputZipFile) throws IOException
- Throws:
IOException
-
unZip
public void unZip(File sourceZipFile, File unzipDestinationDir) throws IOException
- Throws:
IOException
-
newFile
public static File newFile(File destinationDir, ZipEntry zipEntry) throws IOException
- Throws:
IOException
-
-