@Api public class EmptyTranslator extends AbstractTranslator
| Modifier and Type | Field and Description |
|---|---|
static EmptyTranslator |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getMessages(Locale locale)
Returns key-value map with every available translations for given locale.
|
protected String |
resolveMessage(String key,
Locale locale,
Object... args) |
addTranslatedPackage, equals, getLocalizedString, getLocalizedString, getLocalizedString, getLocalizedString, getLocalizedString, getLocalizedString, getLocalizedString, getLocalizedString, getLocalizedString, getLocalizedString, getMessage, getMessage, getMessage, getMessage, getParent, hashCode, setParent, setTranslatedClassLoader, translatedClassLoader, translatedPackagespublic static final EmptyTranslator INSTANCE
protected String resolveMessage(String key, Locale locale, Object... args) throws NoTranslationException
resolveMessage in class AbstractTranslatorNoTranslationExceptionpublic Map<String,String> getMessages(Locale locale)
TranslatorCopyright © 2023 Suncode. All rights reserved.