Package ch.njol.skript.localization
Class RegexMessage
java.lang.Object
ch.njol.skript.localization.Message
ch.njol.skript.localization.RegexMessage
-
Field Summary
-
Constructor Summary
ConstructorDescriptionRegexMessage
(String key) RegexMessage
(String key, int flags) RegexMessage
(String key, @Nullable String prefix, @Nullable String suffix, int flags) RegexMessage
(String key, String prefix, String suffix) -
Method Summary
Methods inherited from class ch.njol.skript.localization.Message
getValue, getValueOrDefault, isSet, validate
-
Field Details
-
nop
A pattern that doesn't match anything
-
-
Constructor Details
-
RegexMessage
-
RegexMessage
-
RegexMessage
-
RegexMessage
-
-
Method Details
-
getPattern
-
matcher
-
matches
-
find
-
toString
-
onValueChange
protected void onValueChange()Description copied from class:Message
Called when this Message's value changes. This is not neccessarily called for every language change, but only when the value is actually accessed and the language has changed since the last call of this method.- Overrides:
onValueChange
in classMessage
-