Package wt.util
Class LocaleIndependentMessage
java.lang.Object
wt.util.LocaleIndependentMessage
- All Implemented Interfaces:
Serializable,LocalizableMessage,Message
@FrozenSerializable
public class LocaleIndependentMessage
extends Object
implements LocalizableMessage, Serializable
LocaleIndependentMessage is the wrapper class for getting a message
which is independent of locale. It's used where a string that can't be localized
must be issued where a LocalizableMessage is expected.
Supported API: true
Extendable: false
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionLocaleIndependentMessage(String message) Constructs a Windchill message that can be used to independent of the locale. -
Method Summary
Modifier and TypeMethodDescriptionReturns the original string.getLocalizedMessage(Locale locale) Returns the original string.protected voidsetMessage(String message) Sets the message for thisLocaleIndependentMessage.toString()Returns the original string.
-
Constructor Details
-
LocaleIndependentMessage
Constructs a Windchill message that can be used to independent of the locale.
Supported API: true- See Also:
-
-
Method Details
-
getLocalizedMessage
Returns the original string.
Supported API: true -
getLocalizedMessage
Returns the original string. The locale parameter is ignored.
Supported API: true- Specified by:
getLocalizedMessagein interfaceLocalizableMessage- Parameters:
locale- the locale for which to get the localized message.- Returns:
- String
- See Also:
-
setMessage
Sets the message for thisLocaleIndependentMessage.
Supported API: true -
toString
Returns the original string.
Supported API: true
-