public class Translator
extends java.lang.Object
| Constructor and Description |
|---|
Translator() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
translate(PasswordRuleDescription passwordRuleDescription,
java.util.Locale locale)
Translates a PasswordRule Description in the specified locale
|
java.lang.String |
translateValidationErrorMessage(java.lang.String message,
java.util.Locale locale)
Translates the Password Validation error message to the given locale
|
public java.lang.String translateValidationErrorMessage(java.lang.String message,
java.util.Locale locale)
message - the message to be translatedlocale - the locale to which the message is to be translatedpublic java.lang.String translate(PasswordRuleDescription passwordRuleDescription, java.util.Locale locale)