| java.lang.Object echo2example.chatclient.Messages
Messages | public class Messages (Code) | | A utility class that provides resources for obtaining localized messages.
|
formatDateTimeMedium | final public static String formatDateTimeMedium(Date date)(Code) | | Formats a date with the specified locale.
Parameters: date - the date to be formatted. a localized String representation of the date |
getFormattedString | public static String getFormattedString(String key, Object[] arguments)(Code) | | Returns a localized formatted message. This method conveniently wraps
a call to a MessageFormat object.
Parameters: key - the key of the message to be returned Parameters: arguments - an array of arguments to be inserted into the message |
getString | public static String getString(String key)(Code) | | Returns localized text.
Parameters: key - the key of the text to be returned the appropriate localized text (if the key is not defined, the string "!key!" is returned) |
|
|