org.apache.tools.ant.taskdefs
Class Expand

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

public class Expand
extends MatchingTask

Unzip a file.

Author:
costin@dnt.ro, Stefan Bodewig

Fields inherited from class org.apache.tools.ant.taskdefs.MatchingTask
fileset, useDefaultExcludes
 
Fields inherited from class org.apache.tools.ant.Task
description, location, project, target, taskName, taskType, wrapper
 
Constructor Summary
Expand()
           
 
Method Summary
 void execute()
          Do the work.
 void setDest(java.io.File d)
          Set the destination directory.
 void setSrc(java.io.File s)
          Set the path to zip-file.
 
Methods inherited from class org.apache.tools.ant.taskdefs.MatchingTask
createExclude, createInclude, createPatternSet, getDirectoryScanner, setDefaultexcludes, setExcludes, setExcludesfile, setIncludes, setIncludesfile, XsetIgnore, XsetItems
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getProject, getRuntimeConfigurableWrapper, getTaskName, init, log, log, maybeConfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName
 
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.
Overrides:
execute in class Task
Throws:
BuildException - Thrown in unrecoverable error.

setDest

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

setSrc

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


Copyright ? 2000 Apache Software Foundation. All Rights Reserved.