Package de.xima.fc.placeholder.helper
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 Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
parseForParametrizedSystemPlaceholder(String placeholderContent, Vorgang formRecord, Locale locale, Clock clock)
Parses for and replaces if necessary placeholders that are parameterized ()
-
-
-
Method Detail
-
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.
-
-