Class FileHelper

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

@ParametersAreNonnullByDefault 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

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

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

      public static void deleteFolderIfEmpty(@Nonnull File folder)