com.atlassian.confluence.util.zip
Class UrlUnzipper

java.lang.Object
  extended by com.atlassian.confluence.util.zip.AbstractUnzipper
      extended by com.atlassian.confluence.util.zip.UrlUnzipper
All Implemented Interfaces:
Unzipper

public class UrlUnzipper
extends AbstractUnzipper


Field Summary
 
Fields inherited from class com.atlassian.confluence.util.zip.AbstractUnzipper
destDir, log
 
Constructor Summary
UrlUnzipper(java.net.URL zipUrl, java.io.File destDir)
           
 
Method Summary
 java.util.zip.ZipEntry[] entries()
           
 void unzip()
           
 java.io.File unzipFileInArchive(java.lang.String fileName)
           
 
Methods inherited from class com.atlassian.confluence.util.zip.AbstractUnzipper
entries, saveEntry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UrlUnzipper

public UrlUnzipper(java.net.URL zipUrl,
                   java.io.File destDir)
Method Detail

unzip

public void unzip()
           throws java.io.IOException
Throws:
java.io.IOException

unzipFileInArchive

public java.io.File unzipFileInArchive(java.lang.String fileName)
                                throws java.io.IOException
Throws:
java.io.IOException

entries

public java.util.zip.ZipEntry[] entries()
                                 throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2003-2008 Atlassian Pty Ltd. All Rights Reserved.