Class ResourcesUtil


  • public final class ResourcesUtil
    extends Object
    A utility class that provides various common operations and constants related to loading resources
    • Method Detail

      • getFile

        public static File getFile​(Class resourceClass,
                                   String fileName)
        Returns a File named fileName associated with Class resourceClass .
        Parameters:
        resourceClass - The associated class
        fileName - The file name
        Returns:
        The file named fileName associated with Class resourceClass .