org.apache.tools.ant.taskdefs
public class Untar extends Expand
For JDK 1.1 "last modified time" field is set to current time instead of being carried from the archive file.
PatternSets are used to select files to extract from the archive. If no patternset is used, all files are extracted.
FileSet>s may be used to select archived files to perform unarchival upon.
File permissions will not be restored on extracted files.
The untar task recognizes the long pathname entries used by GNU tar.
Since: Ant 1.1
UNKNOWN: category="packaging"
Nested Class Summary | |
---|---|
static class | Untar.UntarCompressionMethod
Valid Modes for Compression attribute to Untar Task
|
Method Summary | |
---|---|
protected void | expandFile(FileUtils fileUtils, File srcF, File dir) |
void | setCompression(Untar.UntarCompressionMethod method)
Set decompression algorithm to use; default=none.
|
void | setEncoding(String encoding)
No encoding support in Untar. |
See Also: Expand
Parameters: method compression method
Parameters: encoding not used
Throws: BuildException always
Since: Ant 1.6