public abstract class AbstractZipUnArchiver extends AbstractUnArchiver
| Constructor and Description |
|---|
AbstractZipUnArchiver() |
AbstractZipUnArchiver(File sourceFile) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
execute() |
protected void |
execute(String path,
File outputDirectory) |
void |
setEncoding(String encoding)
Sets the encoding to assume for file names and comments.
|
void |
setMaxOutputSize(long maxOutputSize)
Set maximum allowed size of the produced output.
|
addArchiveFinalizer, extract, extract, extractFile, getDestDirectory, getDestFile, getFileMappers, getFileSelectors, getLogger, getSourceFile, isIgnorePermissions, isOverwrite, isSelected, isUseJvmChmod, setArchiveFinalizers, setDestDirectory, setDestFile, setFileMappers, setFileSelectors, setIgnorePermissions, setOverwrite, setSourceFile, setUseJvmChmod, shouldExtractEntry, validate, validatepublic AbstractZipUnArchiver()
public AbstractZipUnArchiver(File sourceFile)
public void setEncoding(String encoding)
Set to native-encoding if you want your platform's native encoding, defaults to UTF8.
public void setMaxOutputSize(long maxOutputSize)
maxOutputSize - max size of the produced output, in bytes. Must be greater than 0IllegalArgumentException - if specified output size is less or equal to 0protected void execute()
throws ArchiverException
execute in class AbstractUnArchiverArchiverExceptionprotected void execute(String path, File outputDirectory) throws ArchiverException
execute in class AbstractUnArchiverArchiverExceptionCopyright © 2001–2023 Codehaus Plexus. All rights reserved.