Class PlaceholderReplacer
- java.lang.Object
-
- com.vladsch.flexmark.util.sequence.PlaceholderReplacer
-
public class PlaceholderReplacer extends Object
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 Constructor Description PlaceholderReplacer()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> voidreplaceAll(Collection<T> spanList, Function<String,String> mapper, char openPlaceholder, char closePlaceholder, Function<T,String> getter, BiConsumer<T,String> setter)
-
-
-
Method Detail
-
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)
-
-