|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.robokind.api.common.localization.LanguageLocale
public class LanguageLocale
A class for localizing String to a certain language.
| Constructor Summary | |
|---|---|
LanguageLocale(String locale,
String abrv,
Map<String,String> dictionary)
Creates a new LanguageLocale. |
|
| Method Summary | |
|---|---|
String |
get(String key)
Returns the localized value of the given key. |
String |
getAbbreviation()
Returns the abbreviation of the language. |
String |
getLocale()
Returns the name of the LanguageLocale. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LanguageLocale(String locale,
String abrv,
Map<String,String> dictionary)
locale - name of the localeabrv - language abbreviationdictionary - language localization dictionary| Method Detail |
|---|
public String getLocale()
public String getAbbreviation()
public String get(String key)
key - String to localize
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||