org.eclipse.net4j.util.io
Class ZIPUtil.FileSystemUnzipHandler

java.lang.Object
  extended by org.eclipse.net4j.util.io.ZIPUtil.FileSystemUnzipHandler
All Implemented Interfaces:
ZIPUtil.UnzipHandler
Enclosing class:
ZIPUtil

public static final class ZIPUtil.FileSystemUnzipHandler
extends Object
implements ZIPUtil.UnzipHandler


Constructor Summary
ZIPUtil.FileSystemUnzipHandler(File targetFolder, int bufferSize)
           
 
Method Summary
 File getTargetFolder()
           
 void unzipDirectory(String name)
           
 void unzipFile(String name, InputStream zipStream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZIPUtil.FileSystemUnzipHandler

public ZIPUtil.FileSystemUnzipHandler(File targetFolder,
                                      int bufferSize)
Method Detail

getTargetFolder

public File getTargetFolder()

unzipDirectory

public void unzipDirectory(String name)
Specified by:
unzipDirectory in interface ZIPUtil.UnzipHandler

unzipFile

public void unzipFile(String name,
                      InputStream zipStream)
Specified by:
unzipFile in interface ZIPUtil.UnzipHandler


Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.