@Deprecated public class StringId extends Object
| Modifier and Type | Field and Description |
|---|---|
int |
id
Deprecated.
A unique identifier that is written when this StringId is logged to allow for reverse
translation.
|
static StringId |
LITERAL
Deprecated.
A StringId to allow users to log a literal String using the
LogWriter |
| Constructor and Description |
|---|
StringId(int id,
String text)
Deprecated.
Gemstone internal constructor, customers have no need to create instances of this class.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getRawText()
Deprecated.
Accessor for the raw (unformatted) text of this StringId
|
String |
toLocalizedString()
Deprecated.
|
String |
toLocalizedString(Object... params)
Deprecated.
Substitutes parameter Objects into the text
|
String |
toString()
Deprecated.
|
String |
toString(Object... params)
Deprecated.
Substitutes parameter Objects into the text
|
public final int id
LogWriterImpl@Immutable public static final StringId LITERAL
LogWriterpublic StringId(int id,
String text)
id - a unique identifiertext - the English translation of textpublic String getRawText()
public String toString()
public String toString(Object... params)
params - parameter Objects to be substituted into the textMessageFormatpublic String toLocalizedString()
Localepublic String toLocalizedString(Object... params)
params - parameter Objects to be substituted into the textLocaleMessageFormat