| |
|
| org.apache.tools.ant.Task org.apache.tools.ant.taskdefs.Unpack
All known Subclasses: org.apache.tools.ant.taskdefs.BUnzip2, org.apache.tools.ant.taskdefs.GUnzip,
Unpack | abstract public class Unpack extends Task (Code) | | Abstract Base class for unpack tasks.
since: Ant 1.5 |
addConfigured | public void addConfigured(ResourceCollection a)(Code) | | Set the source Archive resource.
Parameters: a - the archive as a single element Resource collection. |
extract | abstract protected void extract()(Code) | | Do the uncompressing.
This is to be overridden by subclasses.
|
getDefaultExtension | abstract protected String getDefaultExtension()(Code) | | Get the extension.
This is to be overridden by subclasses.
the default extension. |
setDest | public void setDest(String dest)(Code) | | Parameters: dest - a String value |
setDest | public void setDest(File dest)(Code) | | The destination file or directory; optional.
Parameters: dest - destination file or directory |
setSrc | public void setSrc(String src)(Code) | | Parameters: src - a String value |
setSrc | public void setSrc(File src)(Code) | | The file to expand; required.
Parameters: src - file to expand |
setSrcResource | public void setSrcResource(Resource src)(Code) | | The resource to expand; required.
Parameters: src - resource to expand |
supportsNonFileResources | protected boolean supportsNonFileResources()(Code) | | Whether this task can deal with non-file resources.
This implementation returns false.
false for this task. since: Ant 1.7 |
|
|
|