|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tonbeller.wcf.utils.ResourceLocator
searches for resources in a locale specific way
Method Summary | |
static java.net.URL |
getResource(javax.servlet.ServletContext context,
java.util.Locale locale,
java.lang.String uri)
Searches for a resource in a way similar to ResourceBundle. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static java.net.URL getResource(javax.servlet.ServletContext context, java.util.Locale locale, java.lang.String uri) throws java.net.MalformedURLException, java.util.MissingResourceException
Implementation note: the search results will be cached, so you have to restart the servlet after adding or removing files.
java.util.MissingResourceException
- if no resource is found
java.net.MalformedURLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |