Package | Description |
---|---|
org.zeroturnaround.zip |
Modifier and Type | Method and Description |
---|---|
Zips |
Zips.addEntries(ZipEntrySource[] entries)
Specifies entries to add or change to the output when this Zips executes.
|
Zips |
Zips.addEntry(ZipEntrySource entry)
Specifies an entry to add or change to the output when this Zips executes.
|
Zips |
Zips.addFile(File file)
Adds a file entry.
|
Zips |
Zips.addFile(File file,
boolean preserveRoot)
Adds a file entry.
|
Zips |
Zips.addFile(File file,
boolean preserveRoot,
FileFilter filter)
Adds a file entry.
|
Zips |
Zips.addFile(File file,
FileFilter filter)
Adds a file entry.
|
Zips |
Zips.addTransformer(String path,
ZipEntryTransformer transformer)
Registers a transformer for a given entry.
|
Zips |
Zips.charset(Charset charset)
Specifies charset for this Zips execution
|
static Zips |
Zips.create()
Static factory method to obtain an instance of Zips without source file.
|
Zips |
Zips.destination(File destination)
Specifies destination file for this Zips execution,
if destination is null (default value), then source file will be overwritten.
|
static Zips |
Zips.get(File src)
Static factory method to obtain an instance of Zips.
|
Zips |
Zips.nameMapper(NameMapper nameMapper) |
Zips |
Zips.preserveTimestamps()
Enables timestamp preserving for this Zips execution
|
Zips |
Zips.removeEntries(String[] entries)
Specifies entries to remove to the output when this Zips executes.
|
Zips |
Zips.removeEntry(String entry)
Specifies an entry to remove to the output when this Zips executes.
|
Zips |
Zips.setPreserveTimestamps(boolean preserve)
Specifies timestamp preserving for this Zips execution
|
Zips |
Zips.unpack() |
Copyright © 2017 ZeroTurnaround. All rights reserved.