Class FileHandler

java.lang.Object
org.openqa.selenium.io.FileHandler

public class FileHandler extends Object
Utility methods for common filesystem activities
  • Constructor Details

    • FileHandler

      public FileHandler()
  • Method Details

    • copyResource

      public static void copyResource(File outputDir, Class<?> forClassLoader, String... names) throws IOException
      Throws:
      IOException
    • createDir

      public static boolean createDir(File dir)
    • makeWritable

      public static boolean makeWritable(File file)
    • isZipped

      public static boolean isZipped(String fileName)
    • delete

      public static boolean delete(File toDelete)
    • copy

      public static void copy(File from, File to) throws IOException
      Throws:
      IOException