public class Message extends Object
MessageFactory
public Message(String id, String defMsg, String... args)
The message id is usually used to lookup a message template string in some message catalog. However this instance doesn't look it up, neither it guarantees that the id is available in a catalog. More generally this class doesn't attempt to load message catalogs at all.
id
- the identifier for the message; must not be null
defMsg
- default message with already placed in args
in
the default/server locale; must not be null
args
- values for the message template placeholderspublic String getId()
null
public String getDefaultMessage()
null
public String[] getArgs()
null
Copyright © 2015. All Rights Reserved.