|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.util.LocaleIndependentMessage
public class LocaleIndependentMessage
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
LocalizableMessage,
Serialized Form| Constructor Summary | |
|---|---|
LocaleIndependentMessage(String message)
Constructs a Windchill message that can be used to independent of the locale. |
|
| Method Summary | |
|---|---|
String |
getLocalizedMessage()
Returns the original string. |
String |
getLocalizedMessage(Locale locale)
Returns the original string. |
protected void |
setMessage(String message)
Sets the message for this LocaleIndependentMessage. |
String |
toString()
Returns the original string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LocaleIndependentMessage(String message)
ResourceBundle,
MessageFormat| Method Detail |
|---|
public String getLocalizedMessage()
public String getLocalizedMessage(Locale locale)
getLocalizedMessage in interface LocalizableMessagelocale - the locale for which to get the localized message.
ResourceBundleprotected void setMessage(String message)
LocaleIndependentMessage.
public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||