public static class I18nRegistry.Translation extends Object
Constructor and Description |
---|
Translation(String i18nKey,
String i18nValue,
I18nRegistry.ResourceDescription resourceDescription,
int priority)
Instantiates a new translation.
|
Modifier and Type | Method and Description |
---|---|
String |
getI18nKey()
Returns the i18nKey.
|
String |
getI18nValue()
Returns the i18nValue.
|
Locale |
getLocale()
Returns the locale where key and value had been found.
|
I18nRegistry.ResourceDescription |
getResourceDescription()
Returns the resource description, where the i18n entry was contained.
|
public Translation(String i18nKey, String i18nValue, I18nRegistry.ResourceDescription resourceDescription, int priority)
i18nKey
- the i18n keyi18nValue
- the i18n valueresourceDescription
- the resource descriptionpriority
- the prioritypublic String getI18nKey()
public String getI18nValue()
public Locale getLocale()
public I18nRegistry.ResourceDescription getResourceDescription()
Copyright © 2013-2016 Loetz GmbH&Co.KG - Heidelberg - Germany, Eclipse OSBP Project, OS.bee