Class Utils


  • public class Utils
    extends java.lang.Object
    Content copied from Galleon core. No dependency on galleon-core.
    Author:
    jdenise
    • Constructor Summary

      Constructors 
      Constructor Description
      Utils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void unzip​(java.io.InputStream wf, java.io.File dir)  
      static void zip​(java.nio.file.Path src, java.nio.file.Path zipFile)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Utils

        public Utils()
    • Method Detail

      • unzip

        public static void unzip​(java.io.InputStream wf,
                                 java.io.File dir)
                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • zip

        public static void zip​(java.nio.file.Path src,
                               java.nio.file.Path zipFile)
                        throws java.io.IOException
        Throws:
        java.io.IOException