public interface SystemDataFormatter
SystemDataConsumer.
Implementations of this interface MUST have a default (public parameterless)
constructor.| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
format(java.lang.String parameterisedString,
java.util.Map<java.lang.String,java.io.Serializable> parameterValues)
Formats the given parameterised string according to the needs of the
SystemDataConsumer it is used by. |
java.lang.String |
format(java.lang.String parameterisedString,
java.util.Map<java.lang.String,java.io.Serializable> parameterValues,
java.util.Locale locale)
Formats the given parameterised string according to the needs of the
SystemDataConsumer it is used by. |
java.lang.String format(java.lang.String parameterisedString,
java.util.Map<java.lang.String,java.io.Serializable> parameterValues)
SystemDataConsumer it is used by.parameterisedString - the parameterised string to be formattedparameterValues - map containing values for all parameters referenced
in the parameterised stringjava.lang.IllegalArgumentException - if a parameter value is missing or doesn't
have the correct type (unless the formatter decides to handle
these cases differently)java.lang.String format(java.lang.String parameterisedString,
java.util.Map<java.lang.String,java.io.Serializable> parameterValues,
java.util.Locale locale)
SystemDataConsumer it is used by.parameterisedString - the parameterised string to be formattedparameterValues - map containing values for all parameters referenced
in the parameterised stringlocale - the locale used to format the string; may be nulljava.lang.IllegalArgumentException - if a parameter value is missing or doesn't
have the correct type (unless the formatter decides to handle
these cases differently)