|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface for code that locates resources.
| Method Summary | |
IResourceStream |
locate(java.lang.Class clazz,
java.lang.String path)
Loads a resource, given a path and class. |
IResourceStream |
locate(java.lang.Class clazz,
java.lang.String path,
java.lang.String style,
java.util.Locale locale,
java.lang.String extension)
Loads a resource, given a path, style, locale and extension. |
| Method Detail |
public IResourceStream locate(java.lang.Class clazz,
java.lang.String path)
locate(Class, String, String, Locale, String) where the latter just takes care of
trying out the different combinations for the provided style and locale and uses this method
to actually load the resource stream.
clazz - The class loader for delegating the loading of the resourcepath - The path of the resource
public IResourceStream locate(java.lang.Class clazz,
java.lang.String path,
java.lang.String style,
java.util.Locale locale,
java.lang.String extension)
clazz - The class loader for delegating the loading of the resourcepath - The path of the resourcestyle - Any resource style, such as a skin style (see Session)locale - The locale of the resource to loadextension - The extension of the resource
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||