Interface ResourceSource

All Known Subinterfaces:
ClassResourceSource

public interface ResourceSource
A resource finder.

There can exist several resources with the same name.

Author:
Rein Raudjärv
See Also:
  • Method Details

    • getLocalResource

      Resource getLocalResource(String name)
      Finds the resource with the given name.
      Parameters:
      name - The name of a resource is a '/'-separated path name that identifies the resource.
      Returns:
      found resource or null if nothing found.
    • getLocalResources

      Resource[] getLocalResources(String name)
      Finds all the resources with the given name.
      Parameters:
      name - The name of a resource is a '/'-separated path name that identifies the resource.
      Returns:
      found resources or null if nothing found.