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 basic SystemDataFormatter using the Object.toString() method of each value.
Author:
Patrick Schmidt
  • Constructor Details

    • BasicSystemDataFormatter

      public BasicSystemDataFormatter()
  • Method Details

    • 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 the SystemDataConsumer it is used by.
      Parameters:
      parameterisedString - the parameterised string to be formatted
      parameterValues - map containing values for all parameters referenced in the parameterised string
      locale - the locale used to format the string; may be null
      Returns:
      the formatted string