Package org.codehaus.plexus.archiver.zip
Class AbstractZipUnArchiver
- java.lang.Object
-
- org.codehaus.plexus.logging.AbstractLogEnabled
-
- org.codehaus.plexus.archiver.AbstractUnArchiver
-
- org.codehaus.plexus.archiver.zip.AbstractZipUnArchiver
-
- All Implemented Interfaces:
FinalizerEnabled,UnArchiver,org.codehaus.plexus.logging.LogEnabled
- Direct Known Subclasses:
ZipUnArchiver
public abstract class AbstractZipUnArchiver extends AbstractUnArchiver
- Author:
- Emmanuel Venisse
-
-
Field Summary
-
Fields inherited from interface org.codehaus.plexus.archiver.UnArchiver
ROLE
-
-
Constructor Summary
Constructors Constructor Description AbstractZipUnArchiver()AbstractZipUnArchiver(java.io.File sourceFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidexecute()protected voidexecute(java.lang.String path, java.io.File outputDirectory)voidsetEncoding(java.lang.String encoding)Sets the encoding to assume for file names and comments.-
Methods inherited from class org.codehaus.plexus.archiver.AbstractUnArchiver
addArchiveFinalizer, extract, extract, extractFile, getDestDirectory, getDestFile, getFileSelectors, getSourceFile, isIgnorePermissions, isOverwrite, isSelected, isUseJvmChmod, setArchiveFinalizers, setDestDirectory, setDestFile, setFileSelectors, setIgnorePermissions, setOverwrite, setSourceFile, setUseJvmChmod, validate, validate
-
-
-
-
Method Detail
-
setEncoding
public void setEncoding(java.lang.String encoding)
Sets the encoding to assume for file names and comments.Set to
native-encodingif you want your platform's native encoding, defaults to UTF8.
-
execute
protected void execute() throws ArchiverException- Specified by:
executein classAbstractUnArchiver- Throws:
ArchiverException
-
execute
protected void execute(java.lang.String path, java.io.File outputDirectory) throws ArchiverException- Specified by:
executein classAbstractUnArchiver- Throws:
ArchiverException
-
-