public class NonLocalizedString extends Object implements I18NString, Serializable
Constructor and Description |
---|
NonLocalizedString(String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
String |
toString()
Returns default translation (english)
|
String |
toString(Locale locale)
Returns wanted translation
|
public NonLocalizedString(String name)
public String toString()
I18NString
toString
in interface I18NString
toString
in class Object
public String toString(Locale locale)
I18NString
toString
in interface I18NString
locale
- Wanted localeCopyright © 2019. All rights reserved.