Class FileResourceFinder

    • Constructor Detail

      • FileResourceFinder

        public FileResourceFinder()
    • Method Detail

      • findResource

        @Nullable
        public final Resource findResource​(java.lang.String resourceName)
        Description copied from class: ResourceFinder
        Finds a resource by name and return it as a Resource object.
        Specified by:
        findResource in class ResourceFinder
        Parameters:
        resourceName - Designates the resource; typically structured by slashes ("/") like "com/foo/pkg/Bar.class"
        Returns:
        null if the resource could not be found
      • findResourceAsFile

        @Nullable
        protected abstract java.io.File findResourceAsFile​(java.lang.String resourceName)
        Converts a given resource resource name into a File.