Package me.lokka30.levelledmobs.misc
Class StringReplacer
java.lang.Object
me.lokka30.levelledmobs.misc.StringReplacer
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
contains
(@NotNull CharSequence s) boolean
isEmpty()
void
void
void
replaceIfExists
(@NotNull String target, @Nullable Supplier<String> operation)
-
Field Details
-
text
-
-
Constructor Details
-
StringReplacer
-
-
Method Details
-
replaceIfExists
-
replace
-
replace
-
replace
public StringReplacer replace(@NotNull @NotNull String replace, @Nullable @Nullable String replaceWith) -
isEmpty
public boolean isEmpty() -
contains
-