Class PlaceholderReplacer
java.lang.Object
com.vladsch.flexmark.util.sequence.PlaceholderReplacer
Used to replace placeholder text in the form of open/close char such as <text> in a markdown document.
Used by docx conversion application to replace custom fields.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> void
replaceAll
(Collection<T> spanList, Function<String, String> mapper, char openPlaceholder, char closePlaceholder, Function<T, String> getter, BiConsumer<T, String> setter)
-
Constructor Details
-
PlaceholderReplacer
public PlaceholderReplacer()
-
-
Method Details
-
replaceAll
public static <T> void replaceAll(Collection<T> spanList, Function<String, String> mapper, char openPlaceholder, char closePlaceholder, Function<T, String> getter, BiConsumer<T, String> setter)
-