org.apache.tools.ant.taskdefs
Class Unpack
public abstract class Unpack
Abstract Base class for unpack tasks.
void | execute() - Called by the project to let the task do its work.
|
protected abstract void | extract()
|
protected abstract String | getDefaultExtension()
|
void | setDest(File dest) - The destination file or directory; optional.
|
void | setDest(String dest) - 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(File src) - The file to expand; required.
|
void | setSrc(String src) - 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.
|
execute , getDescription , getLocation , getOwningTarget , getRuntimeConfigurableWrapper , getTaskName , getTaskType , getWrapper , handleErrorFlush , handleErrorOutput , handleFlush , handleInput , handleOutput , init , isInvalid , log , log , maybeConfigure , perform , reconfigure , setDescription , setLocation , setOwningTarget , setRuntimeConfigurableWrapper , setTaskName , setTaskType |
source
protected File source
execute
public void execute()
throws BuildException
Called by the project to let the task do its work. This method may be
called more than once, if the task is invoked more than once.
For example,
if target1 and target2 both depend on target3, then running
"ant target1 target2" will run all tasks in target3 twice.
- execute in interface Task
extract
protected abstract void extract()
getDefaultExtension
protected abstract String getDefaultExtension()
setDest
public void setDest(File dest)
The destination file or directory; optional.
dest
- destination file or directory
setDest
public void setDest(String dest)
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.
setSrc
public void setSrc(File src)
The file to expand; required.
setSrc
public void setSrc(String src)
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.
Copyright © 2000-2006 Apache Software Foundation. All Rights Reserved.