Package com.github.twitch4j.chat.util
Class MessageParser
java.lang.Object
com.github.twitch4j.chat.util.MessageParser
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
consumeLines
(@NotNull String source, @NotNull Consumer<String> consumer) static @Nullable IRCMessageEvent
static @Nullable IRCMessageEvent
parse
(@NotNull String raw, @NotNull Map<String, String> channelIdToChannelName, @NotNull Map<String, String> channelNameToChannelId, @Nullable Collection<String> botOwnerIds) static int
parseTags
(char[] inputChars, Map<String, CharSequence> output)
-
Method Details
-
parse
@Nullable @VisibleForTesting public static @Nullable IRCMessageEvent parse(@NotNull @NotNull String rawMessage) -
parse
@Nullable @Internal public static @Nullable IRCMessageEvent parse(@NotNull @NotNull String raw, @NotNull @NotNull Map<String, String> channelIdToChannelName, @NotNull @NotNull Map<String, String> channelNameToChannelId, @Nullable @Nullable Collection<String> botOwnerIds) -
parseTags
-
consumeLines
-