|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.jboss.portal.common.ant.Explode
public class Explode
Ant task that explode an archive.
| Field Summary | |
|---|---|
static java.util.Set |
extensions
Unzipped extensions. |
| Fields inherited from class org.apache.tools.ant.Task |
|---|
description, location, target, taskName, taskType, wrapper |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
|---|
project |
| Constructor Summary | |
|---|---|
Explode()
|
|
| Method Summary | |
|---|---|
void |
execute()
|
static void |
explode(Explode explode,
java.lang.String name,
java.util.zip.ZipInputStream zip,
java.io.File todir)
Explode a zip stream into a directory. |
void |
explode(java.io.File file,
java.io.File todir)
|
void |
setFile(java.io.File file)
|
void |
setName(java.lang.String name)
|
void |
setTodir(java.io.File todir)
|
| Methods inherited from class org.apache.tools.ant.Task |
|---|
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 |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
|---|
getProject, setProject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static java.util.Set extensions
| Constructor Detail |
|---|
public Explode()
| Method Detail |
|---|
public void setFile(java.io.File file)
public void setTodir(java.io.File todir)
public void setName(java.lang.String name)
public void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildException
public void explode(java.io.File file,
java.io.File todir)
throws org.apache.tools.ant.BuildException,
DirException
org.apache.tools.ant.BuildException
DirException
public static void explode(Explode explode,
java.lang.String name,
java.util.zip.ZipInputStream zip,
java.io.File todir)
throws org.apache.tools.ant.BuildException,
DirException
explode - used to logname - the name of the created directoryzip - the zip stream will not be closedtodir - the parent directory
org.apache.tools.ant.BuildException
DirException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||