org.hibernate.validator.internal.engine.messageinterpolation

## Class FormatterWrapper

- java.lang.Object
- - org.hibernate.validator.internal.engine.messageinterpolation.FormatterWrapper

-     public class FormatterWrapper
      extends Object

  A wrapper class for `java.util.Formatter#format` avoiding lookup problems in EL engines due to ambiguous method resolution for `format`.
  Author:
    Hardy Ferentschik

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `FormatterWrapper(Locale locale)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `format(String format, Object... args)`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### FormatterWrapper

          public FormatterWrapper(Locale locale)

  - ### Method Detail

    - #### format

          public String format(String format,
                      Object... args)

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2007-2014 Red Hat, Inc. All Rights Reserved