Package | Description |
---|---|
org.zeroturnaround.zip | |
org.zeroturnaround.zip.transform |
Modifier and Type | Class and Description |
---|---|
class |
ByteSource |
class |
FileSource |
Modifier and Type | Method and Description |
---|---|
static void |
ZipUtil.addEntries(File zip,
ZipEntrySource[] entries)
Changes a zip file it with with new entries.
|
static void |
ZipUtil.addEntries(File zip,
ZipEntrySource[] entries,
File destZip)
Copies an existing ZIP file and appends it with new entries.
|
static void |
ZipUtil.addEntries(File zip,
ZipEntrySource[] entries,
OutputStream destOut)
Copies an existing ZIP file and appends it with new entries.
|
static void |
ZipUtil.addEntries(InputStream is,
ZipEntrySource[] entries,
OutputStream destOut)
Copies an existing ZIP file and appends it with new entries.
|
Zips |
Zips.addEntries(ZipEntrySource[] entries)
Specifies entries to add or change to the output when this Zips executes.
|
static void |
ZipUtil.addEntry(File zip,
ZipEntrySource entry)
Changes a zip file, adds one new entry in-place.
|
static void |
ZipUtil.addEntry(File zip,
ZipEntrySource entry,
File destZip)
Copies an existing ZIP file and appends it with one new entry.
|
Zips |
Zips.addEntry(ZipEntrySource entry)
Specifies an entry to add or change to the output when this Zips executes.
|
static void |
ZipUtil.addOrReplaceEntries(File zip,
ZipEntrySource[] entries)
Changes a ZIP file: adds/replaces the given entries in it.
|
static void |
ZipUtil.addOrReplaceEntries(File zip,
ZipEntrySource[] entries,
File destZip)
Copies an existing ZIP file and adds/replaces the given entries in it.
|
static void |
ZipUtil.pack(ZipEntrySource[] entries,
File zip)
Compresses the given entries into a new ZIP file.
|
static void |
ZipUtil.pack(ZipEntrySource[] entries,
OutputStream os)
Compresses the given entries into an output stream.
|
static boolean |
ZipUtil.replaceEntries(File zip,
ZipEntrySource[] entries)
Changes an existing ZIP file: replaces a given entry in it.
|
static boolean |
ZipUtil.replaceEntries(File zip,
ZipEntrySource[] entries,
File destZip)
Copies an existing ZIP file and replaces the given entries in it.
|
static boolean |
ZipUtil.replaceEntry(File zip,
ZipEntrySource entry)
Changes an existing ZIP file: replaces a given entry in it.
|
static boolean |
ZipUtil.replaceEntry(File zip,
ZipEntrySource entry,
File destZip)
Copies an existing ZIP file and replaces a given entry in it.
|
Constructor and Description |
---|
ZipEntrySourceZipEntryTransformer(ZipEntrySource source) |
Copyright © 2017 ZeroTurnaround. All rights reserved.