public static class TranslationMap.TranslationHashMap extends Object implements Translation
Constructor and Description |
---|
TranslationHashMap(Locale locale) |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
asMap() |
void |
clear() |
TranslationMap.TranslationHashMap |
doImport(InputStream is) |
String |
getLanguage() |
Locale |
getLocale() |
TranslationMap.TranslationHashMap |
put(String key,
String val) |
String |
toString() |
String |
tr(String key,
Object... params) |
public TranslationHashMap(Locale locale)
public void clear()
public Locale getLocale()
getLocale
in interface Translation
public String getLanguage()
getLanguage
in interface Translation
public String tr(String key, Object... params)
tr
in interface Translation
public TranslationMap.TranslationHashMap put(String key, String val)
public Map<String,String> asMap()
asMap
in interface Translation
public TranslationMap.TranslationHashMap doImport(InputStream is)
Copyright © 2012–2020. All rights reserved.