Class FileLoaderUtils
java.lang.Object
uk.co.evoco.webdriver.configuration.utils.FileLoaderUtils
public final class FileLoaderUtils
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description FileLoaderUtils() -
Method Summary
Modifier and Type Method Description static java.io.FileloadFromClasspathOrFileSystem(java.lang.String path)Look for a file to load on a fully qualified path, or the classpath
-
Constructor Details
-
FileLoaderUtils
public FileLoaderUtils()
-
-
Method Details
-
loadFromClasspathOrFileSystem
public static java.io.File loadFromClasspathOrFileSystem(java.lang.String path) throws java.io.IOExceptionLook 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:
java.io.IOException- if we can't find the file on the path or the classpath
-