|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tapestry.web.LocalizedWebContextResourceFinder
Finds localized resources within a WebContext
..
Constructor Summary | |
LocalizedWebContextResourceFinder(WebContext context)
|
Method Summary | |
org.apache.hivemind.util.LocalizedResource |
resolve(java.lang.String contextPath,
java.util.Locale locale)
Resolves the resource, returning a path representing the closest match (with respect to the provided locale). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LocalizedWebContextResourceFinder(WebContext context)
Method Detail |
public org.apache.hivemind.util.LocalizedResource resolve(java.lang.String contextPath, java.util.Locale locale)
The provided path is split into a base path and a suffix (at the last period character). The locale will provide different suffixes to the base path and the first match is returned.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |