Package de.xima.fc.placeholder.helper
Class PlaceholderHelper
java.lang.Object
de.xima.fc.placeholder.helper.PlaceholderHelper
- Since:
- 6.6.0
- Author:
- XIMA MEDIA GmbH, Dresden - 22.06.2020
-
Method Summary
-
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-Stringplaceholder that may be parameterizedformRecord-Vorgangto replace forlocale-Localethat may be needed for Placeholder replacementclock- Clock to use for obtaining the current time.- Returns:
- replaced
Stringif the placeholder content is indeed a parameterized placeholder. Returns the original placeholder otherwise.
-