Class PlaceholderHelper

java.lang.Object
de.xima.fc.placeholder.helper.PlaceholderHelper

public class PlaceholderHelper extends Object
Since:
6.6.0
Author:
XIMA MEDIA GmbH, Dresden - 22.06.2020
  • Method Details

    • parseForParametrizedSystemPlaceholder

      public static String parseForParametrizedSystemPlaceholder(String placeholderContent, Vorgang formRecord, Locale locale, Clock clock)
      Parses for and replaces if necessary placeholders that are parameterized ()
      Parameters:
      placeholderContent - String placeholder that may be parameterized
      formRecord - Vorgang to replace for
      locale - Locale that may be needed for Placeholder replacement
      clock - Clock to use for obtaining the current time.
      Returns:
      replaced String if the placeholder content is indeed a parameterized placeholder. Returns the original placeholder otherwise.