|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IResourceStreamLocator
Interface for code that locates resources.
Method Summary | |
---|---|
IResourceStream |
locate(Class<?> clazz,
String path)
Loads a resource, given a path and class. |
IResourceStream |
locate(Class<?> clazz,
String path,
String style,
Locale locale,
String extension)
Loads a resource, given a path, style, locale and extension. |
Method Detail |
---|
IResourceStream locate(Class<?> clazz, 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
IResourceStream locate(Class<?> clazz, String path, String style, Locale locale, 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 |