public static class Formattable.LocalizedString extends Object implements Formattable
Formattable.LocalizedString| Constructor and Description |
|---|
LocalizedString(String key) |
| Modifier and Type | Method and Description |
|---|---|
String |
getKind()
Retrieve a pretty name of this object's kind
|
String |
toString() |
String |
toString(Locale l,
Messages messages)
Used to obtain a localized String representing the object accordingly
to a given locale
|
public LocalizedString(String key)
public String toString(Locale l, Messages messages)
FormattabletoString in interface Formattablel - locale in which the object's representation is to be renderedmessages - messages object used for localizationpublic String getKind()
FormattablegetKind in interface FormattableCopyright © 2017 earcam. All rights reserved.