Modifier and Type | Field | Description |
---|---|---|
protected java.io.File |
dest |
|
protected java.io.File |
source |
|
protected Resource |
srcResource |
description, location, project
Constructor | Description |
---|---|
Unpack() |
Modifier and Type | Method | Description |
---|---|---|
void |
addConfigured(ResourceCollection a) |
Set the source Archive resource.
|
void |
execute() |
Execute the task.
|
protected abstract void |
extract() |
Do the uncompressing.
|
protected abstract java.lang.String |
getDefaultExtension() |
Get the extension.
|
void |
setDest(java.io.File dest) |
The destination file or directory; optional.
|
void |
setDest(java.lang.String dest) |
Deprecated.
since 1.5.x.
|
void |
setSrc(java.io.File src) |
The file to expand; required.
|
void |
setSrc(java.lang.String src) |
Deprecated.
since 1.5.x.
|
void |
setSrcResource(Resource src) |
The resource to expand; required.
|
protected boolean |
supportsNonFileResources() |
Whether this task can deal with non-file resources.
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
protected java.io.File source
protected java.io.File dest
protected Resource srcResource
@Deprecated public void setSrc(java.lang.String src)
src
- a String
value@Deprecated public void setDest(java.lang.String dest)
dest
- a String
valuepublic void setSrc(java.io.File src)
src
- file to expandpublic void setSrcResource(Resource src)
src
- resource to expandpublic void addConfigured(ResourceCollection a)
a
- the archive as a single element Resource collection.public void setDest(java.io.File dest)
dest
- destination file or directorypublic void execute() throws BuildException
execute
in class Task
BuildException
- on errorprotected abstract java.lang.String getDefaultExtension()
protected abstract void extract()
protected boolean supportsNonFileResources()
This implementation returns false.