Package org.jbake.app
Class ZipUtil
- java.lang.Object
-
- org.jbake.app.ZipUtil
-
public class ZipUtil extends java.lang.ObjectProvides Zip file related functions
-
-
Constructor Summary
Constructors Constructor Description ZipUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidextract(java.io.InputStream is, java.io.File outputFolder)Extracts content of Zip file to specified output path.
-
-
-
Method Detail
-
extract
public static void extract(java.io.InputStream is, java.io.File outputFolder) throws java.io.IOExceptionExtracts content of Zip file to specified output path.- Parameters:
is-InputStreamInputStream of Zip fileoutputFolder- folder where Zip file should be extracted to- Throws:
java.io.IOException- if IOException occurs
-
-