Class SocialFilterLiteral
java.lang.Object
ovh.mythmc.social.api.text.filter.SocialFilterRegex
ovh.mythmc.social.api.text.filter.SocialFilterLiteral
- All Implemented Interfaces:
SocialFilterLike,SocialContextualParser,SocialUserInputParser
Abstract parser capable of censoring text by matching a literal
text input.
Any text matching literal() will be filtered out and replaced
with ***.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ovh.mythmc.social.api.text.filter.SocialFilterRegex
parseMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ovh.mythmc.social.api.text.parser.SocialContextualParser
supportsOfflinePlayers
-
Constructor Details
-
SocialFilterLiteral
public SocialFilterLiteral()
-
-
Method Details
-
literal
-
regex
- Specified by:
regexin classSocialFilterRegex
-