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)
Formattable
toString
in interface Formattable
l
- locale in which the object's representation is to be renderedmessages
- messages object used for localizationpublic String getKind()
Formattable
getKind
in interface Formattable
Copyright © 2017 earcam. All rights reserved.