org.jbake.app
Class ZipUtil

java.lang.Object
  extended by org.jbake.app.ZipUtil

public class ZipUtil
extends Object

Provides Zip file related functions

Author:
Jonathan Bullock

Constructor Summary
ZipUtil()
           
 
Method Summary
static void extract(InputStream is, File outputFolder)
          Extracts content of Zip file to specified output path.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZipUtil

public ZipUtil()
Method Detail

extract

public static void extract(InputStream is,
                           File outputFolder)
                    throws IOException
Extracts content of Zip file to specified output path.

Parameters:
is - InputStream InputStream of Zip file
outputFolder - folder where Zip file should be extracted to
Throws:
IOException


Copyright © 2013. All Rights Reserved.