|
GemFire 6.6.3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.gemstone.gemfire.i18n.StringId
public class StringId
This class forms the basis of the i18n strategy. Its primary function is to be used as a key to be passed to an instance of StringIdResourceBundle.
| Field Summary | |
|---|---|
int |
id
A unique identifier that is written when this StringId is logged to allow for reverse translation. |
static StringId |
LITERAL
A StringId to allow users to log a literal String using the LogWriterI18n |
| Constructor Summary | |
|---|---|
StringId(int id,
String text)
Gemstone internal constructor, customers have no need to create instances of this class. |
|
| Method Summary | |
|---|---|
String |
getRawText()
Accessor for the raw (unformatted) text of this StringId |
static void |
setLocale(Locale l)
|
String |
toLocalizedString()
|
String |
toLocalizedString(Object... params)
Substitutes parameter Objects into the text |
String |
toString()
|
String |
toString(Object... params)
Substitutes parameter Objects into the text |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final int id
LogWriterImplpublic static final StringId LITERAL
LogWriterI18n
| Constructor Detail |
|---|
public StringId(int id,
String text)
| Method Detail |
|---|
public static void setLocale(Locale l)
public String getRawText()
public String toString()
toString in class Objectpublic String toString(Object... params)
MessageFormatpublic String toLocalizedString()
Localepublic String toLocalizedString(Object... params)
LocaleMessageFormat
|
GemFire 6.6.3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||