Class FileLoaderUtils
- java.lang.Object
-
- uk.co.evoco.webdriver.configuration.utils.FileLoaderUtils
-
public final class FileLoaderUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description FileLoaderUtils()
-
Method Summary
Modifier and Type Method Description static File
loadFromClasspathOrFileSystem(String path)
Look for a file to load on a fully qualified path, or the classpath
-
-
-
Method Detail
-
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
-
-