org.apache.tools.ant.taskdefs
public class Expand extends Task
Since: Ant 1.1
UNKNOWN: category="packaging" name="unzip" name="unjar" name="unwar"
| Method Summary | |
|---|---|
| void | addFileset(FileSet set)
Add a fileset |
| void | addPatternset(PatternSet set)
Add a patternset |
| void | execute()
Do the work.
|
| protected void | expandFile(FileUtils fileUtils, File srcF, File dir) |
| protected void | extractFile(FileUtils fileUtils, File srcF, File dir, InputStream compressedInputStream, String entryName, Date entryDate, boolean isDirectory) |
| void | setDest(File d)
Set the destination directory. |
| void | setEncoding(String encoding)
Sets the encoding to assume for file names and comments.
|
| void | setOverwrite(boolean b)
Should we overwrite files in dest, even if they are newer than
the corresponding entries in the archive? |
| void | setSrc(File s)
Set the path to zip-file.
|
Throws: BuildException Thrown in unrecoverable error.
Parameters: d Path to the directory.
Set to native-encoding if you want your
platform's native encoding, defaults to UTF8.
Since: Ant 1.6
Parameters: s Path to zip-file.