Class FileHelper


  • public final class FileHelper
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void copyFile​(java.io.File sourceFile, java.io.File targetFile)  
      static void copyFile​(java.io.InputStream in, java.io.File targetFile)  
      • Methods inherited from class java.lang.Object

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

      • copyFile

        public static void copyFile​(java.io.File sourceFile,
                                    java.io.File targetFile)
                             throws java.io.IOException
        Throws:
        java.io.IOException
      • copyFile

        public static void copyFile​(java.io.InputStream in,
                                    java.io.File targetFile)
                             throws java.io.IOException
        Throws:
        java.io.IOException