Class PlaceholderReplacer
- java.lang.Object
-
- com.vladsch.flexmark.util.sequence.PlaceholderReplacer
-
public class PlaceholderReplacer extends java.lang.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> void
replaceAll(java.util.Collection<T> spanList, java.util.function.Function<java.lang.String,java.lang.String> mapper, char openPlaceholder, char closePlaceholder, java.util.function.Function<T,java.lang.String> getter, java.util.function.BiConsumer<T,java.lang.String> setter)
-
-
-
Method Detail
-
replaceAll
public static <T> void replaceAll(java.util.Collection<T> spanList, java.util.function.Function<java.lang.String,java.lang.String> mapper, char openPlaceholder, char closePlaceholder, java.util.function.Function<T,java.lang.String> getter, java.util.function.BiConsumer<T,java.lang.String> setter)
-
-