Interface Replaceable<RECEIVER,SELF>
-
- All Known Implementing Classes:
ContentHandler,PreparedText,TextCompiler,TextDispatcher,TextParser
public interface Replaceable<RECEIVER,SELF>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default java.lang.StringapplyReplacements(RECEIVER receiver, @NotNull java.lang.String text)default SELFreplace(@NotNull java.lang.String text, @NotNull java.lang.String replacement)default SELFreplace(@NotNull java.lang.String text, @NotNull java.util.function.Function<@Nullable RECEIVER,@Nullable java.lang.String> supplier)default SELFreplace(@NotNull java.lang.String text, @NotNull java.util.function.Supplier<@Nullable java.lang.String> supplier)default SELFreplace(@NotNull java.util.regex.Pattern pattern, @NotNull java.lang.String replacement)default SELFreplace(@NotNull java.util.regex.Pattern pattern, @NotNull java.util.function.BiFunction<@Nullable RECEIVER,@NotNull java.util.regex.Matcher,@Nullable java.lang.String> supplier)default SELFreplace(@NotNull java.util.regex.Pattern pattern, @NotNull java.util.function.Function<@Nullable RECEIVER,@Nullable java.lang.String> supplier)default SELFreplace(@NotNull java.util.regex.Pattern pattern, @NotNull java.util.function.Supplier<@Nullable java.lang.String> supplier)SELFreplacer(@NotNull ContentReplacer<RECEIVER> replacer)default SELFreplacer(@NotNull java.util.regex.Pattern pattern, ContentReplacer.Constructor<RECEIVER> constructor)java.util.List<ContentReplacer<RECEIVER>>replacers()
-
-
-
Method Detail
-
replacers
java.util.List<ContentReplacer<RECEIVER>> replacers()
-
applyReplacements
default java.lang.String applyReplacements(@Nullable RECEIVER receiver, @NotNull @NotNull java.lang.String text)
-
replacer
SELF replacer(@NotNull @NotNull ContentReplacer<RECEIVER> replacer)
-
replacer
default SELF replacer(@NotNull @NotNull java.util.regex.Pattern pattern, @NotNull ContentReplacer.Constructor<RECEIVER> constructor)
-
replace
default SELF replace(@NotNull @NotNull java.util.regex.Pattern pattern, @NotNull @NotNull java.util.function.BiFunction<@Nullable RECEIVER,@NotNull java.util.regex.Matcher,@Nullable java.lang.String> supplier)
-
replace
default SELF replace(@NotNull @NotNull java.util.regex.Pattern pattern, @NotNull @NotNull java.util.function.Function<@Nullable RECEIVER,@Nullable java.lang.String> supplier)
-
replace
default SELF replace(@NotNull @NotNull java.util.regex.Pattern pattern, @NotNull @NotNull java.util.function.Supplier<@Nullable java.lang.String> supplier)
-
replace
default SELF replace(@NotNull @NotNull java.util.regex.Pattern pattern, @NotNull @NotNull java.lang.String replacement)
-
replace
default SELF replace(@NotNull @NotNull java.lang.String text, @NotNull @NotNull java.lang.String replacement)
-
replace
default SELF replace(@NotNull @NotNull java.lang.String text, @NotNull @NotNull java.util.function.Supplier<@Nullable java.lang.String> supplier)
-
-