Package ch.njol.skript.patterns
Class LiteralPatternElement
java.lang.Object
ch.njol.skript.patterns.PatternElement
ch.njol.skript.patterns.LiteralPatternElement
A
PatternElement
that contains a literal string to be matched, for example hello world
.
This element does not handle spaces as would be expected.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isEmpty()
@Nullable MatchResult
match
(String expr, MatchResult matchResult) toString()
Methods inherited from class ch.njol.skript.patterns.PatternElement
matchNext, toFullString
-
Constructor Details
-
LiteralPatternElement
-
-
Method Details
-
isEmpty
public boolean isEmpty() -
match
- Specified by:
match
in classPatternElement
-
toString
- Specified by:
toString
in classPatternElement
-