@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, 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 © 2019 Suncode. All rights reserved.