VMware GemFire Java API Reference
Package org.apache.geode.i18n
Class StringId
java.lang.Object
org.apache.geode.i18n.StringId
Deprecated.
localization in Geode is deprecated
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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Accessor for the raw (unformatted) text of this StringIdDeprecated.toLocalizedString(Object... params) Deprecated.Substitutes parameter Objects into the texttoString()Deprecated.Deprecated.Substitutes parameter Objects into the text
-
Field Details
-
id
public final int idDeprecated.A unique identifier that is written when this StringId is logged to allow for reverse translation.- See Also:
-
LogWriterImpl
-
LITERAL
Deprecated.A StringId to allow users to log a literal String using theLogWriter
-
-
Constructor Details
-
StringId
Deprecated.Gemstone internal constructor, customers have no need to create instances of this class.- Parameters:
id- a unique identifiertext- the English translation of text
-
-
Method Details
-
getRawText
Deprecated.Accessor for the raw (unformatted) text of this StringId- Returns:
- unformated text
-
toString
Deprecated. -
toString
Deprecated.Substitutes parameter Objects into the text- Parameters:
params- parameter Objects to be substituted into the text- Returns:
- the English translation of this StringId
- See Also:
-
toLocalizedString
Deprecated.- Returns:
- the translation of this StringId based on the current
Locale
-
toLocalizedString
Deprecated.Substitutes parameter Objects into the text- Parameters:
params- parameter Objects to be substituted into the text- Returns:
- the translation of this StringId based on the current
Locale - See Also:
-