Package org.jbake.app

Class ZipUtil


  • public class ZipUtil
    extends java.lang.Object
    Provides Zip file related functions
    • Constructor Summary

      Constructors 
      Constructor Description
      ZipUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void extract​(java.io.InputStream is, java.io.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​(java.io.InputStream is,
                                   java.io.File outputFolder)
                            throws java.io.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:
        java.io.IOException - if IOException occurs