diff options
author | tkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7> | 2013-04-10 18:59:29 +0000 |
---|---|---|
committer | tkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7> | 2013-04-10 18:59:29 +0000 |
commit | e60e1df5284c93b25cf6f6a477b924850dffb9d5 (patch) | |
tree | 86a8bec1e0bcac482b742174a87d1a1190a405f8 /pdf-over-gui/src/main/java/at/asit/pdfover/gui/Unzipper.java | |
parent | ac47a525b1338100c7489ec60fed24ce10f57394 (diff) | |
download | mocca-e60e1df5284c93b25cf6f6a477b924850dffb9d5.tar.gz mocca-e60e1df5284c93b25cf6f6a477b924850dffb9d5.tar.bz2 mocca-e60e1df5284c93b25cf6f6a477b924850dffb9d5.zip |
UI Improvements
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@69 174cde9d-5d70-4d2a-aa98-46368bc2aaf7
Diffstat (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui/Unzipper.java')
-rw-r--r-- | pdf-over-gui/src/main/java/at/asit/pdfover/gui/Unzipper.java | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/Unzipper.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/Unzipper.java index af16c8a1..429f8782 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/Unzipper.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/Unzipper.java @@ -21,12 +21,7 @@ import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; -import java.io.OutputStream; -import java.net.URL; -import java.util.Enumeration; -import java.util.zip.GZIPInputStream; import java.util.zip.ZipEntry; -import java.util.zip.ZipFile; import java.util.zip.ZipInputStream; import org.slf4j.Logger; @@ -58,7 +53,7 @@ public class Unzipper { if (entry.isDirectory()) { log.debug("Extracting directory: " + entry.getName()); //$NON-NLS-1$ - // This is not robust, just for demonstration purposes. + File nDir =new File(targetPath + "/" + entry.getName()); //$NON-NLS-1$ if(!nDir.exists()) { if(!nDir.mkdir()) { |