Top Description Methods
org.jboss.logging

public Interface ParameterConverter<I>

Annotations
@Deprecated
Type Parameters
<I>
the input type
Imports
java.util.Locale

Deprecated

this is not currently used anywhere and no replacement will be created

A converter for a specific parameter type.
Author
David M. Lloyd

Method Summary

Modifier and TypeMethod and Description
public Object

Returns:

the converted value
convert
(Locale
the locale
locale
,
I
the parameter
parameter
)

Convert the parameter to its string or string-equivalent representation.

Method Detail

convertback to summary
public Object convert(Locale locale, I parameter)

Convert the parameter to its string or string-equivalent representation. The returned value will be passed in as a parameter to either a java.text.MessageFormat or java.util.Formatter instance, depending on the setting of org.jboss.logging.annotation.Message.format.

Parameters
locale:Locale

the locale

parameter:I

the parameter

Returns:Object

the converted value