org.apache.tapestry5.ioc
Interface MessageFormatter
- All Known Implementing Classes:
- MessageFormatterImpl
public interface MessageFormatter
Obtained from a Messages, used to format messages for a specific localized message
key.
|
Method Summary |
java.lang.String |
format(java.lang.Object... args)
Formats the message. |
format
java.lang.String format(java.lang.Object... args)
- Formats the message. The arguments are passed to
Formatter as is with one exception: Object of
type Throwable are converted to their Throwable.getMessage() (or, if that is null, to the name of
the class).
- Parameters:
args -
- Returns:
- formatted string
Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.