Interface IResourceFinder

All Known Implementing Classes:
ClassPathResourceFinder, Path, WebApplicationPath
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

Knows how to find resources.
Author:
jcompagner
  • Method Summary

    Modifier and Type
    Method
    Description
    find(Class<?> clazz, String pathname)
    Looks for a given pathname along this path
  • Method Details

    • find

      IResourceStream find(Class<?> clazz, String pathname)
      Looks for a given pathname along this path
      Parameters:
      clazz - The class requesting the resource stream
      pathname - The filename with possible path
      Returns:
      The resource stream