Interface ResourceLocator
- All Known Implementing Classes:
ApplicationServlet
,RenderingHelper.CLResourceLocator
,ScimV2Servlet
,WebEngine
,WebEngineServlet
public interface ResourceLocator
Resource locators are used to resolve resource names to resource URLs
- Author:
- Bogdan Stefanescu
-
Method Summary
Modifier and TypeMethodDescriptiongetResourceFile
(String key) Get a file resource given a keygetResourceURL
(String key) Gets an URL resource given a key
-
Method Details
-
getResourceURL
Gets an URL resource given a key- Parameters:
key
- the resource key- Returns:
- the resource URL or null if no such result was found
-
getResourceFile
Get a file resource given a key
-