Zips |
Zips.nameMapper(NameMapper nameMapper) |
|
static void |
ZipUtil.pack(java.io.File sourceDir,
java.io.File targetZip,
NameMapper mapper) |
Compresses the given directory and all its sub-directories into a ZIP file.
|
static void |
ZipUtil.pack(java.io.File sourceDir,
java.io.File targetZip,
NameMapper mapper,
int compressionLevel) |
Compresses the given directory and all its sub-directories into a ZIP file.
|
static void |
ZipUtil.pack(java.io.File sourceDir,
java.io.OutputStream os,
NameMapper mapper) |
Compresses the given directory and all of its sub-directories into the passed in
stream.
|
static void |
ZipUtil.pack(java.io.File sourceDir,
java.io.OutputStream os,
NameMapper mapper,
int compressionLevel) |
Compresses the given directory and all of its sub-directories into the passed in
stream.
|
private static void |
ZipUtil.pack(java.io.File dir,
java.util.zip.ZipOutputStream out,
NameMapper mapper,
java.lang.String pathPrefix,
boolean mustHaveChildren) |
Compresses the given directory and all its sub-directories into a ZIP file.
|
static void |
ZipUtil.packEntries(java.io.File[] filesToPack,
java.io.File destZipFile,
NameMapper mapper) |
Compresses the given files into a ZIP file.
|
static void |
ZipUtil.packEntries(java.io.File[] filesToPack,
java.io.File destZipFile,
NameMapper mapper,
int compressionLevel) |
Compresses the given files into a ZIP file.
|
static void |
ZipUtil.packEntry(java.io.File fileToPack,
java.io.File destZipFile,
NameMapper mapper) |
Compresses the given file into a ZIP file.
|
static void |
ZipUtil.unpack(java.io.File zip,
java.io.File outputDir,
NameMapper mapper) |
Unpacks a ZIP file to the given directory using a specific Charset
for the input file.
|
static void |
ZipUtil.unpack(java.io.File zip,
java.io.File outputDir,
NameMapper mapper,
java.nio.charset.Charset charset) |
Unpacks a ZIP file to the given directory.
|
static void |
ZipUtil.unpack(java.io.InputStream is,
java.io.File outputDir,
NameMapper mapper) |
Unpacks a ZIP stream to the given directory.
|
static void |
ZipUtil.unpack(java.io.InputStream is,
java.io.File outputDir,
NameMapper mapper,
java.nio.charset.Charset charset) |
Unpacks a ZIP stream to the given directory.
|
static void |
ZipUtil.unwrap(java.io.File zip,
java.io.File outputDir,
NameMapper mapper) |
Unwraps a ZIP file to the given directory shaving of root dir.
|
static void |
ZipUtil.unwrap(java.io.InputStream is,
java.io.File outputDir,
NameMapper mapper) |
Unwraps a ZIP file to the given directory shaving of root dir.
|