|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.testdoc.report.resource.CategoryResourceLoader
public final class CategoryResourceLoader
Service loader to load category resource descriptors.
Field Summary | |
---|---|
static CategoryResourceLoader |
INSTANCE The singleton instance of the resource loader. |
Method Summary | |
---|---|
CategoryResource |
getResource(Class<?> categoryType) Returns the category resource for the given category type. |
CategoryResource |
getResource(Locale locale, Class<?> categoryType) Returns the category resource for the given category type. |
CategoryResource |
getResource(Locale locale, String categoryId) Returns the category resource for the given category type. |
CategoryResource |
getResource(String categoryId) Returns the category resource for the given category type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final CategoryResourceLoader INSTANCE
Method Detail |
---|
public CategoryResource getResource(String categoryId)
categoryId
- the type of the category the resource is requested.
null
.
public CategoryResource getResource(Locale locale, String categoryId)
locale
- the locale for which the resource is requested.
categoryId
- the type of the category the resource is requested.
null
.
public CategoryResource getResource(Class<?> categoryType)
categoryType
- the type of the category the resource is requested.
null
.
public CategoryResource getResource(Locale locale, Class<?> categoryType)
locale
- the locale for which the resource is requested.
categoryType
- the type of the category the resource is requested.
null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |