Package dev.aherscu.qa.testing.extra
Class ResourceUtils
- java.lang.Object
-
- dev.aherscu.qa.testing.extra.ResourceUtils
-
public final class ResourceUtils extends Object
Resource utilities.- Author:
- aherscu
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> T
get(Class<T> c10nInterface)
Retrieves the resource associated with current locale.static <T> T
getRootFor(Class<T> c10nInterface)
Retrieves the resource associated withLocale.ROOT
-
-
-
Method Detail
-
get
public static <T> T get(Class<T> c10nInterface)
Retrieves the resource associated with current locale.- Parameters:
c10nInterface
- the resource interface- Returns:
- the resource
-
getRootFor
public static <T> T getRootFor(Class<T> c10nInterface)
Retrieves the resource associated withLocale.ROOT
- Parameters:
c10nInterface
- the resource interface- Returns:
- the resource
-
-