Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.tapestry5.ioc.internal.util
Class MessageFormatterImpl

    java.lang.Object
      org.apache.tapestry5.ioc.internal.util.MessageFormatterImpl

All Implemented Interfaces:
  MessageFormatter

    public class MessageFormatterImpl

extends java.lang.Object
implements MessageFormatter

Constructor Summary
`MessageFormatterImpl(java.lang.String format, java.util.Locale locale)`

Method Summary
`java.lang.String` | `format(java.lang.Object... args)` Formats the message.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### MessageFormatterImpl

    public MessageFormatterImpl(java.lang.String format,
                                java.util.Locale locale)

Method Detail

### format

    public java.lang.String format(java.lang.Object... args)

  Description copied from interface: `MessageFormatter`
  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).

  Specified by:
    `format` in interface `MessageFormatter`
  Returns:
    formatted string

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2012 The Apache Software Foundation.