com.google.gwt.i18n.rebind.keygen
Class FullyQualifiedMethodNameKeyGenerator
java.lang.Object
com.google.gwt.i18n.rebind.keygen.FullyQualifiedMethodNameKeyGenerator
- All Implemented Interfaces:
- KeyGenerator
public class FullyQualifiedMethodNameKeyGenerator
- extends java.lang.Object
- implements KeyGenerator
Key generator using the fully-qualified method name.
|
Method Summary |
java.lang.String |
generateKey(java.lang.String className,
java.lang.String methodName,
java.lang.String text,
java.lang.String meaning)
Generates a key for a given method with its default text and meaning. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FullyQualifiedMethodNameKeyGenerator
public FullyQualifiedMethodNameKeyGenerator()
generateKey
public java.lang.String generateKey(java.lang.String className,
java.lang.String methodName,
java.lang.String text,
java.lang.String meaning)
- Description copied from interface:
KeyGenerator
- Generates a key for a given method with its default text and meaning.
- Specified by:
generateKey in interface KeyGenerator
- Parameters:
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
- Returns:
- the lookup key as a string or null if the key cannot be computed (for
example, if text is null but this generator requires it)