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

  Modifier and Type
  Method
  Description
  `String`
  `format(Object... args)`
  Formats the message.

- ## Method Details

  - ### 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