MethodNameKeyGenerator instead.@Deprecated public class MethodNameKeyGenerator extends java.lang.Object implements KeyGenerator
| Constructor and Description |
|---|
MethodNameKeyGenerator()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
generateKey(java.lang.String className,
java.lang.String methodName,
java.lang.String text,
java.lang.String meaning)
Deprecated.
Generates a key for a given method with its default text and meaning.
|
public java.lang.String generateKey(java.lang.String className,
java.lang.String methodName,
java.lang.String text,
java.lang.String meaning)
KeyGeneratorgenerateKey in interface KeyGeneratorclassName - fully qualified name of the Messages/Constants subinterfacemethodName - name of the method in the subinterfacetext - default text to use if no translation is available, which may be null
if no default text is suppliedmeaning - extra text explaining the meaning of the text, or null if not needed