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:
- UnArchiver, org.codehaus.plexus.logging.LogEnabled
- Direct Known Subclasses:
- TarUnArchiver, ZipUnArchiver
public abstract class AbstractZipUnArchiver
- extends AbstractUnArchiver
- Version:
- $Id: AbstractZipUnArchiver.java 2436 2005-09-01 17:20:41Z trygvis $
- Author:
- Emmanuel Venisse
Fields inherited from interface org.codehaus.plexus.archiver.UnArchiver |
ROLE |
Method Summary |
protected void |
execute()
|
protected void |
extractFile(java.io.File srcF,
java.io.File dir,
java.io.InputStream compressedInputStream,
java.lang.String entryName,
java.util.Date entryDate,
boolean isDirectory)
|
void |
setEncoding(java.lang.String encoding)
Sets the encoding to assume for file names and comments. |
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractZipUnArchiver
public AbstractZipUnArchiver()
setEncoding
public void setEncoding(java.lang.String encoding)
- Sets the encoding to assume for file names and comments.
Set to native-encoding
if you want your
platform's native encoding, defaults to UTF8.
execute
protected void execute()
throws ArchiverException,
java.io.IOException
- Specified by:
execute
in class AbstractUnArchiver
- Throws:
ArchiverException
java.io.IOException
extractFile
protected void extractFile(java.io.File srcF,
java.io.File dir,
java.io.InputStream compressedInputStream,
java.lang.String entryName,
java.util.Date entryDate,
boolean isDirectory)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright 2001-2001-2006 Codehaus. All Rights Reserved.