Class FileHelper

java.lang.Object
com.codeborne.selenide.impl.FileHelper

public final class FileHelper extends Object
  • Method Details

    • copyFile

      public static void copyFile(InputStream in, File targetFile) throws IOException
      Throws:
      IOException
    • ensureParentFolderExists

      public static void ensureParentFolderExists(File targetFile)
    • ensureFolderExists

      @CanIgnoreReturnValue public static File ensureFolderExists(File folder)
    • moveFile

      public static void moveFile(File srcFile, File destFile)
    • deleteFolderIfEmpty

      public static void deleteFolderIfEmpty(File folder)