public class ZipUtils
extends java.lang.Object
Constructor and Description |
---|
ZipUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
extractFiles(java.nio.file.Path zipDirectory,
java.nio.file.Path outputDirectory) |
static void |
extractFiles(java.lang.String zipDirectory,
java.lang.String outputDirectory) |
static void |
zipFile(java.nio.file.Path fileToZip,
java.nio.file.Path destination) |
static void |
zipFile(java.lang.String fileToZip,
java.lang.String destinationFilename) |
public static void zipFile(java.nio.file.Path fileToZip, java.nio.file.Path destination) throws java.io.IOException
java.io.IOException
public static void zipFile(java.lang.String fileToZip, java.lang.String destinationFilename) throws java.io.IOException
java.io.IOException
public static void extractFiles(java.nio.file.Path zipDirectory, java.nio.file.Path outputDirectory) throws java.io.IOException
java.io.IOException
public static void extractFiles(java.lang.String zipDirectory, java.lang.String outputDirectory) throws java.io.IOException
java.io.IOException