public class StringId extends 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,
String text)
Gemstone internal constructor, customers have no need to
create instances of this class.
|
Modifier and Type | Method and Description |
---|---|
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
|
public final int id
LogWriterImpl
public static final StringId LITERAL
LogWriterI18n
public StringId(int id, String text)
public static void setLocale(Locale l)
public String getRawText()
public String toString()
public String toString(Object... params)
MessageFormat
public String toLocalizedString()
Locale
public String toLocalizedString(Object... params)
Locale
MessageFormat
Copyright © 1997-2017 Pivotal Software, Inc. All rights reserved.