Class ChatSchemaParser
java.lang.Object
com.zenith.feature.chatschema.ChatSchemaParser
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ChatSchemastatic Stringstatic booleanstatic @Nullable ChatParseResultstatic @Nullable ChatParseResultparse(String input, ChatSchema schema) static @Nullable ChatParseResulttryParseChat(ChatType type, String rawInput, String inputSchema) static @Nullable ChatParseResulttryParseInboundWhisper(String rawInput, String inboundWhisperSchema) static @Nullable ChatParseResulttryParseOutboundWhisper(String rawInput, String outboundWhisperSchema) static @Nullable ChatParseResulttryParsePublicChat(String rawInput, String publicChatSchema)
-
Constructor Details
-
ChatSchemaParser
public ChatSchemaParser()
-
-
Method Details
-
parse
-
parse
-
getSchema
-
hasCustomSchema
public static boolean hasCustomSchema() -
getServerAddress
-
tryParsePublicChat
public static @Nullable ChatParseResult tryParsePublicChat(String rawInput, String publicChatSchema) -
tryParseOutboundWhisper
public static @Nullable ChatParseResult tryParseOutboundWhisper(String rawInput, String outboundWhisperSchema) -
tryParseInboundWhisper
public static @Nullable ChatParseResult tryParseInboundWhisper(String rawInput, String inboundWhisperSchema) -
tryParseChat
public static @Nullable ChatParseResult tryParseChat(ChatType type, String rawInput, String inputSchema)
-