public class Zip extends AbstractArchiveTask
| Modifier and Type | Class and Description |
|---|---|
protected class |
Zip.ZipCopyActionImpl
Zip compress action implementation.
|
Task.Namer| Modifier and Type | Field and Description |
|---|---|
static String |
ZIP_EXTENSION |
TASK_ACTION, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE| Constructor and Description |
|---|
Zip() |
| Modifier and Type | Method and Description |
|---|---|
protected Zip.ZipCopyActionImpl |
getCopyAction() |
ZipEntryCompression |
getEntryCompression()
Returns the compression level of the entries of the archive.
|
void |
setEntryCompression(ZipEntryCompression entryCompression)
Sets the compression level of the entries of the archive.
|
getAppendix, getArchiveName, getArchivePath, getBaseName, getClassifier, getDestinationDir, getExtension, getVersion, into, into, setAppendix, setArchiveName, setBaseName, setClassifier, setDestinationDir, setExtension, setVersionconfigureRootSpec, copy, eachFile, eachFile, exclude, exclude, exclude, exclude, expand, filter, filter, filter, from, from, getDefaultSource, getDirMode, getExcludes, getFileMode, getIncludeEmptyDirs, getIncludes, getMainSpec, getRootSpec, getSource, include, include, include, include, isCaseSensitive, rename, rename, rename, setCaseSensitive, setDirMode, setExcludes, setFileMode, setIncludeEmptyDirs, setIncludes, withconventionMapping, conventionMapping, getConventionMappingaddValidator, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doLast, doLast, execute, executeWithoutThrowingTaskFailure, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDidWork, getEnabled, getExecuter, getExtensions, getGroup, getInputs, getLogger, getLogging, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getStandardOutputCapture, getState, getStateInternal, getTaskDependencies, getTemporaryDir, getTemporaryDirFactory, getValidators, hasProperty, injectIntoNewInstance, isEnabled, leftShift, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setGroup, setName, setOnlyIf, setOnlyIf, setProject, setProperty, toStringpublic static final String ZIP_EXTENSION
public ZipEntryCompression getEntryCompression()
ZipEntryCompression.DEFLATED (the default), each entry is
compressed using the DEFLATE algorithm. If set to ZipEntryCompression.STORED the entries of the archive are left uncompressed.public void setEntryCompression(ZipEntryCompression entryCompression)
ZipEntryCompression.DEFLATED (the default), each entry is
compressed using the DEFLATE algorithm. If set to ZipEntryCompression.STORED the entries of the archive are left uncompressed.entryCompression - STORED or DEFLATEDprotected Zip.ZipCopyActionImpl getCopyAction()
getCopyAction in class AbstractCopyTask