Interface ResourceLocator

All Known Subinterfaces:
ClassLoaderService
All Known Implementing Classes:
ClassLoaderServiceImpl, ClassLoaderServiceTestingImpl, ExtraJavaServicesClassLoaderService, SimpleResourceLocator, StandardResourceLocator
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ResourceLocator
Abstraction for locating class-path resources
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    locateResource(String resourceName)
    Locate the named resource
  • Method Details

    • locateResource

      URL locateResource(String resourceName)
      Locate the named resource
      Parameters:
      resourceName - The resource name to locate
      Returns:
      The located URL, or null if no match found