org.apache.tools.ant.taskdefs
Class Untar
Untar a file.
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.
- Ant 1.1
execute , 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 |
setCompression
public void setCompression(Untar.UntarCompressionMethod method)
Set decompression algorithm to use; default=none.
Allowable values are
- none - no compression
- gzip - Gzip compression
- bzip2 - Bzip2 compression
method
- compression method
setEncoding
public void setEncoding(String encoding)
No encoding support in Untar.
- setEncoding in interface Expand
encoding
- not used
- Ant 1.6
Copyright B) 2000-2005 Apache Software Foundation. All Rights Reserved.