Interface ResourceStreamLocator

All Known Subinterfaces:
ClassLoaderService
All Known Implementing Classes:
ClassLoaderServiceImpl
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 ResourceStreamLocator
Abstraction for locating class-path resources
Author:
Steve Ebersole
See Also:
  • Method Details

    • locateResourceStream

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