public class TarUnArchiver extends AbstractUnArchiver
Modifier and Type | Class and Description |
---|---|
static class |
TarUnArchiver.UntarCompressionMethod
Valid Modes for Compression attribute to Untar Task
|
ROLE
Constructor and Description |
---|
TarUnArchiver() |
TarUnArchiver(File sourceFile) |
Modifier and Type | Method and Description |
---|---|
protected void |
execute() |
protected void |
execute(File sourceFile,
File destDirectory) |
protected void |
execute(String path,
File outputDirectory) |
void |
setCompression(TarUnArchiver.UntarCompressionMethod method)
Set decompression algorithm to use; default=none.
|
void |
setEncoding(String encoding)
No encoding support in Untar.
|
addArchiveFinalizer, extract, extract, extractFile, getDestDirectory, getDestFile, getFileSelectors, getSourceFile, isIgnorePermissions, isOverwrite, isSelected, isUseJvmChmod, setArchiveFinalizers, setDestDirectory, setDestFile, setFileSelectors, setIgnorePermissions, setOverwrite, setSourceFile, setUseJvmChmod, validate, validate
public TarUnArchiver()
public TarUnArchiver(File sourceFile)
public void setCompression(TarUnArchiver.UntarCompressionMethod method)
method
- compression methodpublic void setEncoding(String encoding)
protected void execute() throws ArchiverException
execute
in class AbstractUnArchiver
ArchiverException
protected void execute(String path, File outputDirectory)
execute
in class AbstractUnArchiver
protected void execute(File sourceFile, File destDirectory) throws ArchiverException
ArchiverException
Copyright © 2001–2018 Codehaus Plexus. All rights reserved.