Class FileLoaderUtils

java.lang.Object
com.version1.webdriver.configuration.utils.FileLoaderUtils

public final class FileLoaderUtils extends Object
  • Method Details

    • loadFromClasspathOrFileSystem

      public static File loadFromClasspathOrFileSystem(String path) throws IOException
      Look for a file to load on a fully qualified path, or the classpath
      Parameters:
      path - location to look for file (either relative or classpath)
      Returns:
      File the file that represents the found file on either the path or the classpath
      Throws:
      IOException - if we can't find the file on the path or the classpath