com.atlassian.plugin.util.zip
Class AbstractUnzipper

java.lang.Object
  extended by com.atlassian.plugin.util.zip.AbstractUnzipper
All Implemented Interfaces:
Unzipper
Direct Known Subclasses:
FileUnzipper, StreamUnzipper, UrlUnzipper

public abstract class AbstractUnzipper
extends Object
implements Unzipper


Field Summary
protected  File destDir
           
protected static org.slf4j.Logger log
           
 
Constructor Summary
AbstractUnzipper()
           
 
Method Summary
 void conditionalUnzip()
           
protected  ZipEntry[] entries(ZipInputStream zis)
           
protected  File saveEntry(InputStream is, ZipEntry entry)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.plugin.util.zip.Unzipper
entries, unzip, unzipFileInArchive
 

Field Detail

log

protected static org.slf4j.Logger log

destDir

protected File destDir
Constructor Detail

AbstractUnzipper

public AbstractUnzipper()
Method Detail

saveEntry

protected File saveEntry(InputStream is,
                         ZipEntry entry)
                  throws IOException
Throws:
IOException

entries

protected ZipEntry[] entries(ZipInputStream zis)
                      throws IOException
Throws:
IOException

conditionalUnzip

public void conditionalUnzip()
                      throws IOException
Specified by:
conditionalUnzip in interface Unzipper
Throws:
IOException


Copyright © 2013 Atlassian. All Rights Reserved.