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
 String format(Object... args)
          Formats the message.
 

Method Detail

format

String format(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 © 2003-2012 The Apache Software Foundation.