@FunctionalInterface
public static interface TextTemplateHandler.CtxExpander<T>
Modifier and Type | Method and Description |
---|---|
java.lang.String |
expand(java.util.regex.MatchResult match,
TextTemplateHandler<T> handler,
T context)
Expand the given match.
|
@NotNull java.lang.String expand(@NotNull java.util.regex.MatchResult match, @NotNull TextTemplateHandler<T> handler, @NotNull T context) throws java.io.IOException
match
- match result to expandhandler
- the text template handler which found the match,
may be used for recursive expansioncontext
- context of the expanderjava.io.IOException
- on expansion errors