|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.ant.compress.taskdefs.PackBase
public abstract class PackBase
Abstract Base class for pack tasks.
| Nested Class Summary | |
|---|---|
static interface |
PackBase.ResourceWrapper
|
| Field Summary |
|---|
| Fields inherited from class org.apache.tools.ant.Task |
|---|
target, taskName, taskType |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
|---|
description, location, project |
| Constructor Summary | |
|---|---|
protected |
PackBase(CompressorStreamFactory factory,
PackBase.ResourceWrapper wrapper)
|
protected |
PackBase(PackBase.ResourceWrapper wrapper)
|
| Method Summary | |
|---|---|
void |
add(ArchiveBase task)
|
void |
add(PackBase task)
|
void |
addConfigured(org.apache.tools.ant.types.ResourceCollection a)
Set the source resource. |
void |
addConfiguredDest(org.apache.tools.ant.types.resources.Resources r)
The archive to create. |
void |
execute()
validate, then hand off to the subclass |
void |
setDest(org.apache.tools.ant.types.Resource dest)
The resource to pack; required. |
void |
setDestfile(java.io.File dest)
the required destination file. |
protected void |
setFactory(CompressorStreamFactory factory)
|
void |
setSrc(org.apache.tools.ant.types.Resource src)
The resource to pack; required. |
void |
setSrcfile(java.io.File src)
the file to compress; required. |
| Methods inherited from class org.apache.tools.ant.Task |
|---|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
|---|
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected PackBase(CompressorStreamFactory factory,
PackBase.ResourceWrapper wrapper)
protected PackBase(PackBase.ResourceWrapper wrapper)
| Method Detail |
|---|
protected final void setFactory(CompressorStreamFactory factory)
public void setDestfile(java.io.File dest)
public void setDest(org.apache.tools.ant.types.Resource dest)
src - resource to expandpublic void addConfiguredDest(org.apache.tools.ant.types.resources.Resources r)
public void setSrcfile(java.io.File src)
src - the source filepublic void setSrc(org.apache.tools.ant.types.Resource src)
src - resource to expandpublic void addConfigured(org.apache.tools.ant.types.ResourceCollection a)
a - the resource to pack as a single element Resource collection.public void add(ArchiveBase task)
public void add(PackBase task)
public void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildException - on error
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||