Class MessageFormatterImpl

    • Constructor Summary

      Constructor Description
      MessageFormatterImpl​(java.lang.String format, java.util.Locale locale)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String format​(java.lang.Object... args)
      Formats the message.
      java.lang.String toString()
      Returns the underlying format string for this formatter.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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
        formatted string
      • toString

        public java.lang.String toString()
        Returns the underlying format string for this formatter.
        toString in class java.lang.Object