Ant API: Class Expand

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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, 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, init, setDescription, 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.
  Overrides:
    execute in class Task
  Throws:
    BuildException - Thrown in unrecoverable error.

### 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.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000 Apache Software Foundation. All Rights Reserved.