Top Description Fields Constructors Methods
org.hibernate.validator.internal.engine.messageinterpolation

public Class FormatterWrapper

extends Object
Class Inheritance
Imports
java.util.Formatter, .Locale

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

Field Summary

Modifier and TypeField and Description
private final Formatter

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
format(String format, Object... args)

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

formatterback to summary
private final Formatter formatter

Constructor Detail

FormatterWrapperback to summary
public FormatterWrapper(Locale locale)

Method Detail

formatback to summary
public String format(String format, Object... args)
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

Annotations
@Override