Class MessageFormatterImpl
- java.lang.Object
 - 
- org.apache.tapestry5.commons.internal.util.MessageFormatterImpl
 
 
- 
- All Implemented Interfaces:
 MessageFormatter
public class MessageFormatterImpl extends Object implements MessageFormatter
 
- 
- 
Constructor Summary
Constructors Constructor Description MessageFormatterImpl(String format, Locale locale) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringformat(Object... args)Formats the message.StringtoString()Returns the underlying format string for this formatter. 
 - 
 
- 
- 
Constructor Detail
- 
MessageFormatterImpl
public MessageFormatterImpl(String format, Locale locale)
 
 - 
 
- 
Method Detail
- 
format
public String format(Object... args)
Description copied from interface:MessageFormatterFormats the message. The arguments are passed toFormatteras is with one exception: Object of typeThrowableare converted to theirThrowable.getMessage()(or, if that is null, to the name of the class).- Specified by:
 formatin interfaceMessageFormatter- Returns:
 - formatted string
 
 
 - 
 
 -