Class LongDateSystemDataFormatter

java.lang.Object
de.aristaflow.adept2.model.common.systemdata.AbstractSystemDataFormatter
de.aristaflow.adept2.model.common.plugindata.LongDateSystemDataFormatter
All Implemented Interfaces:
SystemDataFormatter

public class LongDateSystemDataFormatter extends AbstractSystemDataFormatter
Simple formatter which is used for long values in the plug-in data, which consumes a date value. The formatter must only be used if at most one parameter is expected and this parameter must be of the date data type.
Author:
Kevin Goeser
  • Constructor Details

    • LongDateSystemDataFormatter

      public LongDateSystemDataFormatter()
  • 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