Class BasicSystemDataFormatter
- java.lang.Object
-
- de.aristaflow.adept2.model.common.systemdata.AbstractSystemDataFormatter
-
- de.aristaflow.adept2.model.common.systemdata.BasicSystemDataFormatter
-
- All Implemented Interfaces:
SystemDataFormatter
public class BasicSystemDataFormatter extends AbstractSystemDataFormatter
A very basicSystemDataFormatter
using theObject.toString()
method of each value.- Author:
- Patrick Schmidt
-
-
Constructor Summary
Constructors Constructor Description BasicSystemDataFormatter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
format(String parameterisedString, Map<String,Serializable> parameterValues, Locale locale)
Formats the given parameterised string according to the needs of theSystemDataConsumer
it is used by.-
Methods inherited from class de.aristaflow.adept2.model.common.systemdata.AbstractSystemDataFormatter
ensureCorrectType, ensureValuePresent, format
-
-
-
-
Method Detail
-
format
public String format(String parameterisedString, Map<String,Serializable> parameterValues, Locale locale)
Description copied from interface:SystemDataFormatter
Formats the given parameterised string according to the needs of theSystemDataConsumer
it is used by.- Parameters:
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 benull
- Returns:
- the formatted string
-
-