Class ComponentParser
- java.lang.Object
-
- net.frozenspace.frostlib.component.ComponentParser
-
public class ComponentParser extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ComponentParser()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static @NotNull java.lang.StringescapeTokens(@NotNull java.lang.String richMessage)static @NotNull java.lang.StringhandlePlaceholders(@NotNull java.lang.String richMessage, @NotNull java.lang.String... placeholders)static @NotNull java.lang.StringhandlePlaceholders(@NotNull java.lang.String richMessage, @NotNull java.util.Map<java.lang.String,java.lang.String> placeholders)static @NotNull net.md_5.bungee.api.chat.BaseComponent[]parseFormat(@NotNull java.lang.String richMessage)static @NotNull net.md_5.bungee.api.chat.BaseComponent[]parseFormat(@NotNull java.lang.String richMessage, @NotNull java.lang.String... placeholders)static @NotNull net.md_5.bungee.api.chat.BaseComponent[]parseFormat(@NotNull java.lang.String richMessage, @NotNull java.util.Map<java.lang.String,java.lang.String> placeholders)static @NotNull java.lang.StringstripTokens(@NotNull java.lang.String richMessage)
-
-
-
Method Detail
-
escapeTokens
@NotNull public static @NotNull java.lang.String escapeTokens(@NotNull @NotNull java.lang.String richMessage)
-
stripTokens
@NotNull public static @NotNull java.lang.String stripTokens(@NotNull @NotNull java.lang.String richMessage)
-
handlePlaceholders
@NotNull public static @NotNull java.lang.String handlePlaceholders(@NotNull @NotNull java.lang.String richMessage, @NotNull @NotNull java.lang.String... placeholders)
-
handlePlaceholders
@NotNull public static @NotNull java.lang.String handlePlaceholders(@NotNull @NotNull java.lang.String richMessage, @NotNull @NotNull java.util.Map<java.lang.String,java.lang.String> placeholders)
-
parseFormat
@NotNull public static @NotNull net.md_5.bungee.api.chat.BaseComponent[] parseFormat(@NotNull @NotNull java.lang.String richMessage, @NotNull @NotNull java.lang.String... placeholders)
-
parseFormat
@NotNull public static @NotNull net.md_5.bungee.api.chat.BaseComponent[] parseFormat(@NotNull @NotNull java.lang.String richMessage, @NotNull @NotNull java.util.Map<java.lang.String,java.lang.String> placeholders)
-
parseFormat
@NotNull public static @NotNull net.md_5.bungee.api.chat.BaseComponent[] parseFormat(@NotNull @NotNull java.lang.String richMessage)
-
-