org.apache.tools.ant.taskdefs
Class Expand

java.lang.Object
  |
  +--org.apache.tools.ant.Task
        |
        +--org.apache.tools.ant.taskdefs.Expand

public class Expand
extends Task

Unzip a file.

Author:
costin@dnt.ro

Fields inherited from class org.apache.tools.ant.Task
description, location, project, target
 
Constructor Summary
Expand()
           
 
Method Summary
 void execute()
          Do the work.
 void setDest(java.lang.String d)
          Set the destination directory.
 void setSrc(java.lang.String s)
          Set the path to zip-file.
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, init, setDescription, setLocation, setTarget
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Expand

public Expand()
Method Detail

execute

public void execute()
             throws BuildException
Do the work.
Throws:
BuildException - Thrown in unrecoverable error.
Overrides:
execute in class Task

setDest

public void setDest(java.lang.String d)
Set the destination directory. File will be unzipped into the destination directory.
Parameters:
d - Path to the directory.

setSrc

public void setSrc(java.lang.String s)
Set the path to zip-file.
Parameters:
s - Path to zip-file.


Copyright © 2000 Apache Software Foundation. All Rights Reserved.