public final class LocalizedText extends Object
| Constructor and Description |
|---|
LocalizedText(String text,
String locale)
|
| Modifier and Type | Method and Description |
|---|---|
String |
getLocale()
Returns locale of the text in IETF BCP 47 language tag format.
|
String |
getText()
Returns the localized, human-readable text.
|
String |
toString() |
public String getText()
nullpublic String getLocale()
null