org.apache.tools.ant.taskdefs

Class Unpack

public abstract class Unpack extends Task

Abstract Base class for unpack tasks.

Since: Ant 1.5

Field Summary
protected Filedest
protected Filesource
Method Summary
voidexecute()
protected abstract voidextract()
protected abstract StringgetDefaultExtension()
voidsetDest(String dest)
voidsetDest(File dest)
The destination file or directory; optional.
voidsetSrc(String src)
voidsetSrc(File src)
The file to expand; required.

Field Detail

dest

protected File dest

source

protected File source

Method Detail

execute

public void execute()

extract

protected abstract void extract()

getDefaultExtension

protected abstract String getDefaultExtension()

setDest

public void setDest(String dest)

Deprecated: 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.

UNKNOWN: ignore="true"

setDest

public void setDest(File dest)
The destination file or directory; optional.

Parameters: dest destination file or directory

setSrc

public void setSrc(String src)

Deprecated: 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.

UNKNOWN: ignore="true"

setSrc

public void setSrc(File src)
The file to expand; required.

Parameters: src file to expand

Copyright B) 2000-2007 Apache Software Foundation. All Rights Reserved.