| Modifier and Type | Field and Description |
|---|---|
protected java.io.File |
dest |
protected java.io.File |
source |
protected Resource |
srcResource |
description, location, project| Constructor and Description |
|---|
Unpack() |
| Modifier and Type | Method and 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.
setDest(String) is deprecated and is replaced with
setDest(File) to make Ant's Introspection
mechanism do the work and also to encapsulate operations on
the type in its own class.
|
void |
setSrc(java.io.File src)
The file to expand; required.
|
void |
setSrc(java.lang.String src)
Deprecated.
since 1.5.x.
setSrc(String) is deprecated and is replaced with
setSrc(File) to make Ant's Introspection
mechanism do the work and also to encapsulate operations on
the type in its own class.
|
void |
setSrcResource(Resource src)
The resource to expand; required.
|
protected boolean |
supportsNonFileResources()
Whether this task can deal with non-file resources.
|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeclone, getDescription, getLocation, getProject, setDescription, setLocation, setProjectprotected 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 TaskBuildException - on errorprotected abstract java.lang.String getDefaultExtension()
protected abstract void extract()
protected boolean supportsNonFileResources()
This implementation returns false.