Messages¶
-
public interface
Messages
¶ Messages is a common interface of a collection of messages.
Author: Hugo Y. K. Lam
Methods¶
getDefaultLocale¶
getDefaultMessage¶
getErrorMessage¶
getErrorMessage¶
getMessage¶
getMessage¶
getMessage¶
getMessage¶
-
public String
getMessage
(String name, String def, String type, String locale)¶ Gets a message of the specified type and locale.
Parameters: - name – the name of the message.
- def – a default message.
- type – the type of the message.
- locale – the locale of the message.
Returns: the message with the specified name.