@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, translatedPackages
public static final EmptyTranslator INSTANCE
protected String resolveMessage(String key, Locale locale, Object... args) throws NoTranslationException
resolveMessage
in class AbstractTranslator
NoTranslationException
public Map<String,String> getMessages(Locale locale)
Translator
Copyright © 2019 Suncode. All rights reserved.