Class FileLoaderUtils


  • public final class FileLoaderUtils
    extends Object
    • Constructor Detail

      • FileLoaderUtils

        public FileLoaderUtils()
    • 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