public final class ResourceKeyFactory
extends java.lang.Object
String objects.| Constructor and Description |
|---|
ResourceKeyFactory() |
| Modifier and Type | Method and Description |
|---|---|
static <T> java.lang.String |
newResourceKey(T object,
boolean simpleName,
java.lang.String keySuffix)
Creates a new resource key from the given object and the given key.
|
static <T> java.lang.String |
newResourceKey(T object,
java.lang.String keySuffix)
Creates a new resource key from the given object and the given key.
|
public static <T> java.lang.String newResourceKey(T object,
java.lang.String keySuffix)
T - The generic type of the given object.object - The object that will be used to generate the resource key.keySuffix - The suffix that will be used to generate the resource key.public static <T> java.lang.String newResourceKey(T object,
boolean simpleName,
java.lang.String keySuffix)
T - The generic type of the given object.object - The object that will be used to generate the resource key.keySuffix - The suffix that will be used to generate the resource key.simpleName - The flag if the simple name will be used as prefix.