public class StringId
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
StringId(int id,
java.lang.String text)
Gemstone internal constructor, customers have no need to create instances of this class.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getRawText()
Accessor for the raw (unformatted) text of this StringId
|
static void |
setLocale(java.util.Locale l) |
java.lang.String |
toLocalizedString() |
java.lang.String |
toLocalizedString(java.lang.Object... params)
Substitutes parameter Objects into the text
|
java.lang.String |
toString() |
java.lang.String |
toString(java.lang.Object... params)
Substitutes parameter Objects into the text
|
public final int id
LogWriterImpl
public static final StringId LITERAL
LogWriterI18n
public StringId(int id, java.lang.String text)
public static void setLocale(java.util.Locale l)
public java.lang.String getRawText()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(java.lang.Object... params)
MessageFormat
public java.lang.String toLocalizedString()
Locale
public java.lang.String toLocalizedString(java.lang.Object... params)
Locale
MessageFormat