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
-String
placeholder that may be parameterizedformRecord
-Vorgang
to replace forlocale
-Locale
that may be needed for Placeholder replacementclock
- 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.
-