| Modifier and Type | Field and Description |
|---|---|
| protected File | |
| protected File | |
| protected Resource |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addConfigured(ResourceCollection
the archive as a single element Resource collection. a)Set the source Archive resource. |
| private void | |
| public void | |
| protected abstract void | |
| protected abstract String | |
| private String | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| protected boolean | Returns: false for this task.Whether this task can deal with non-file resources. |
| private void |
| dest | back to summary |
|---|---|
| protected File dest | |
| source | back to summary |
|---|---|
| protected File source | |
| srcResource | back to summary |
|---|---|
| protected Resource srcResource | |
| Unpack | back to summary |
|---|---|
| public Unpack() | |
| addConfigured | back to summary |
|---|---|
| public void addConfigured(ResourceCollection a) Set the source Archive resource.
| |
| createDestFile | back to summary |
|---|---|
| private void createDestFile(String defaultExtension) | |
| execute | back to summary |
|---|---|
| public void execute() throws BuildException Overrides org. Execute the task.
| |
| extract | back to summary |
|---|---|
| protected abstract void extract() Do the uncompressing. This is to be overridden by subclasses. | |
| getDefaultExtension | back to summary |
|---|---|
| protected abstract String getDefaultExtension() Get the extension. This is to be overridden by subclasses.
| |
| getLastNamePart | back to summary |
|---|---|
| private String getLastNamePart(Resource r) | |
| setDest | back to summary |
|---|---|
| public void setDest(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.
| |
| setDest | back to summary |
|---|---|
| public void setDest(File dest) The destination file or directory; optional.
| |
| setSrc | back to summary |
|---|---|
| public void setSrc(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.
| |
| setSrc | back to summary |
|---|---|
| public void setSrc(File src) The file to expand; required.
| |
| setSrcResource | back to summary |
|---|---|
| public void setSrcResource(Resource src) The resource to expand; required.
| |
| supportsNonFileResources | back to summary |
|---|---|
| protected boolean supportsNonFileResources() Whether this task can deal with non-file resources. This implementation returns false.
| |
| validate | back to summary |
|---|---|
| private void validate() throws BuildException | |