Package sonia.scm.plugin
Interface WebResourceLoader
- All Known Subinterfaces:
UberWebResourceLoader
public interface WebResourceLoader
The WebResourceLoader is able to load web resources. The resources are loaded
from a plugin webapp directory or from the
ServletContext
, according
to its implementation. The UberWebResourceLoader
is able to load
resources from the ServletContext
and all plugin directories.- Since:
- 2.0.0
-
Method Summary
-
Method Details
-
getResource
Returns aURL
for the given path. The method will return null if no resources could be found for the given path. Note: The path is a web path and uses "/" as path separator- Parameters:
path
- resource path- Returns:
- url object for the given path or null
-