KeyGenerator
instead.@Deprecated
public interface KeyGenerator
LocalizableResource
implementations.
Implementations of this interface are executed at compile time, and
therefore must not contain any JSNI code.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.
|
java.lang.String generateKey(java.lang.String className, java.lang.String methodName, java.lang.String text, java.lang.String meaning)
className
- 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