Package org.apache.tapestry5.commons
Interface MessageFormatter
- All Known Implementing Classes:
MessageFormatterImpl
public interface MessageFormatter
Obtained from a org.apache.tapestry5.ioc.Messages, used to format messages for a specific localized message
key.
-
Method Summary
-
Method Details
-
format
Formats the message. The arguments are passed toFormatter
as is with one exception: Object of typeThrowable
are converted to theirThrowable.getMessage()
(or, if that is null, to the name of the class).- Parameters:
args
-- Returns:
- formatted string
-