|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IComponentResourceResolver
Service responsible for finding resources relative or specific to a IComponent.
| Method Summary | |
|---|---|
org.apache.hivemind.Resource |
findComponentResource(IComponent component,
IRequestCycle cycle,
String name,
String extension,
Locale locale)
Searches for a resource relative to the specified IComponent, optionally also attemping to
find a localized version of the resource using the specified Locale. |
| Method Detail |
|---|
org.apache.hivemind.Resource findComponentResource(IComponent component,
IRequestCycle cycle,
String name,
String extension,
Locale locale)
IComponent, optionally also attemping to
find a localized version of the resource using the specified Locale.
component - The component to find the resource relative to.cycle - The current request.name - Optional resource name to search for, the default is to use the component name.extension - Extension name of the resource, such as <ComponentName>.properties for properties
/ <ComponentName>.html for templates and so on.locale - Optional localization specifier.
Resource may
also be not null but still not valid. To ensure validity check Resource.getResourceURL() for
a not null value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||