Interface ResourceLocator

All Known Implementing Classes:
MultiFormatResourceLocator, RelativeResourceLocator, SimpleResourceLocator

public interface ResourceLocator
Interface for locating resources from resource names.
  • Method Summary

    Modifier and Type
    Method
    Description
    locateResource(String resourceName)
    Locates a resource according to the strategy of the resource locator implementation (subclass).
  • Method Details

    • locateResource

      ResourceSource locateResource(String resourceName)
      Locates a resource according to the strategy of the resource locator implementation (subclass).
      Parameters:
      resourceName - the name of the resource to locate; it this is a path it must be slash separated (no backslashes)
      Returns:
      a source for the resource, null if the resource was not found
      See Also: